LiveView demos, examples, and sample apps thread!

I made a flag quiz game with LiveView:

https://flag-quiz.nytsoi.net/

It’s related to a mystery geocache here in Finland (you get a code to solve the coordinates with when you win), but you can play it standalone as well.

The source is on GitLab: Mikko Ahlroth / Flag Quiz · GitLab. It’s written very quickly in quite a hackathon style and in a bout of inspiration, so the code is not clean and docs are missing. But it works. :smiley:

You can answer in English or Finnish in the game. It works best on devices with a physical keyboard.

1 Like

I have “open-sourced” this small LiveView app I wrote to generate invoices:

It uses ChromicPdf (GitHub - bitcrowd/chromic_pdf: Convenient HTML to PDF/A rendering library for Elixir based on Chrome & Ghostscript) to do the pdf generation.

I usually run “chrome” things in docker so I usually run this app in docker but it probably runs fine without docker.

I think it does some nice things with LiveView, especially the dynamic checkboxes for selecting multiple “holidays”.

This app is very small and simple. Hopefully it helps/inspires other devs. :heart:

2 Likes