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:). 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 x.com )

The code is available here:

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: https://github.com/andyleclair/live_fridge/commit/ecd224f865f4a61f847b26c74ca877865fad8d78

Thank you @sodapopcan!

1 Like

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

1 Like