Live Fridge - Realtime, Multiplayer Fridge Magnet Poetry

Hi all,
I’ve spent some time over the past few weeks putting this little project together. It’s a realtime multiplayer fridge magnet poetry experience built with LiveView, Ash and a little JS (just hooks!). I’m working on putting together a video walkthrough of the design choices and how I go about building code like this, but it’s still WIP (never made a screencast before :see_no_evil_monkey:). That said, I tried to structure the commits into atomic chunks, so if you checkout any commit, you should be able to see the state of the project at that point and how I evolved it over time.

There are some cool Elixir tricks in here (hashing terms to HSL color space! Atomic counters for online presence!) but I want to show off how easy it is to get super slick realtime multiplayer experiences going in Elixir (video here until I finish the vid for youtube https://twitter.com/andyleclair/status/1852365268548301230 )

The code is available here:
https://github.com/andyleclair/live_fridge

You can try it out here:
https://live-fridge.fly.dev/

Thanks for checking it out!

8 Likes

Awesome!

I keep trying to add a word and it doesn’t stick.

Good catch! I did have this working locally, I wonder what changed :thinking:. I can reproduce it though, let’s find out what was wrong

And there we are: fix bug where words were not getting the fridge assigned if it was de… · andyleclair/live_fridge@ecd224f · GitHub

Thank you @sodapopcan!

1 Like

Success! Probably pretty obvious which one is mine :upside_down_face:

1 Like