Skip to content

another marta.io clone, server-rendered rust now

License

Notifications You must be signed in to change notification settings

jakswa/roundhouse

Repository files navigation

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

Dev Quick Start

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

(you have to reload browser manually, and HTMX partial loads might be missing styles)

Welcome to Loco 🚋

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

This is a frankenstein which means their starter had a ton of shit I didn't need, so I gutted a lot of it and added in my askama templates + rickshaw asset pipeline.

About

another marta.io clone, server-rendered rust now

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published