Back to Catalog
Necrom4 GitHub avatar

sbb-tui

A terminal UI client for Swiss public transport timetables with station search, journey details, CLI prefill flags, and SBB-inspired styling.

Demo

Terminal preview
sbb-tui

Overview

A terminal UI client for Swiss public transport timetables with station search, journey details, CLI prefill flags, and SBB-inspired styling.

TUI client for Switzerland's public transport timetables, inspidered by the SBB/CFF/FFS app

From the maintainer

Origin story

I work 4h a day in the train, often going through remote regions of Switzerland where even loading the SBB website would take up to an entire minute.

First workflow

Enter your departure and arrival stations and get all the information you'd except in your usual Web and App GUIs, but faster, simpler, (cooler) and anonymous.

Design choice

~1:1 recreation of the official UI, keyboard-driven navigation, togglable animations and themes.

Roadmap

Stationboard mode, more information about the trains and "Via" input field.

Latest Release

v1.15.0
Released: Jun 12, 2026

1.15.0 (2026-06-12)

Bug Fixes

  • api: add a timeout to API requests (2f004c2)
  • mise: enable experimental so the postinstall hook runs (d5e87cd)
  • model: recognize vehicle legs without a line label (7b1f59f)
  • ui: use neutral gray as default line badge background (83335dd), closes #7F7F7

Features

  • ui: color line badges with official line colors (ce8833b)
  • ui: display per-class occupancy as shaded icons (c6dcbf2)
  • ui: pick vehicle icon from the leg's transport type (d619d8c)
  • ui: prefix bare line numbers with their category (c02a859)
  • ui: search immediately when from and to flags are given (552e068)
  • ui: show full occupancy in red (d63258f)
  • ui: surface connection disruptions (676aacc)

Discussions

0 comments
Loading comments...
Alvin By Alvin