/roundhouse

another marta.io clone, server-rendered rust now

Primary LanguageRustMIT LicenseMIT

Roundhouse

Another stab at a marta.io clone, this time server-side-rendered and in rust with HTTP compression.

Features:

  • three views: station list, station view, train view
  • dark/light mode and other styling using tailwindcss
  • polls every 10s for updates if you sit in a view (htmx/morphing)

image

Quick Start

  1. install bun and cargo/rust
  2. cargo install ultraman cargo-watch
  3. ultraman start -f Procfile.dev
  • this kicks of tailwindcss watching your templates for style changes
  • kicks off cargo-watch rebuilding your app any time you edit files

(there is no live-reloading dev experience)

Welcome to Loco 🚋

This was scaffolded using Loco, which is a web and API framework running on Rust.

This is the lightweight-service starter which comes with no database or state dependencies.