Build a live chat app

🤖 Learn Rastrillo step by step by going from an empty folder to a working chat app.

Start the tour Download the finished app (.zip)

You need Go 1.26 or newer, on Linux, macOS or Windows with WSL. 14 steps, built on Rastrillo v0.53.0.

Where you'll be by step 11: Bob sends, and Ada's window shows it without a reload.

The steps

  1. Set up

    Install Rastrillo, make the app, and run it and its tests.

    1. 1Install Rastrillo
    2. 2Create the app
    3. 3Run it
    4. 4Run the tests
  2. Rooms and an admin

    Create a table for rooms, add an admin page that only admins can open, and list the rooms.

    1. 5Give rooms a table
    2. 6Add rooms from an admin page
    3. 7Only admins
    4. 8Rename and delete rooms
    5. 9List the rooms
  3. Live chat

    Post messages, send each one to every open window, test the app, and ship it.

    1. 10Post messages
    2. 11Make the room live
    3. 12Test two people chatting
    4. 13Run the whole gate
    5. 14Ship it

🤖 These pages were written by an LLM, on the ideas, instruction, and editing of humans. AI-written text here is always marked, visibly — that's factor X.