
Evil Martians · 20 min readWeb performance
Redprints Advent: an open source advent calendar app built with Rails, Herb, and AnyCable
Redprints Advent is a Rails‑based advent calendar app that demonstrates how to build a real‑time, AI‑enhanced team collaboration tool using Herb, Hotwire, and AnyCable. It shows concrete patterns for optimistic UI, rich text, machine translation, and live updates without heavy JavaScript.
- Use Herb state tags to implement optimistic reactions with minimal template changes.
- Integrate RubyLLM agents for background translation that only shows results to the requesting user.
- Leverage AnyCable for real‑time updates and status tracking across network disruptions.