

SBB-TUI is a TUI client for Switzerland’s public transport timetables, inspired by the SBB/CFF/FFS app/website and usable right at $HOME
Repository: https://github.com/Necrom4/sbb-tui
Why? I often work in the train, passing through remote regions of Switzerland where I’ll have to wait up to an entire minute to finally be able to load the SBB website/app and get the much needed information about my next connection (I have a cheap cellular data subscription). Someday I fell onto the incredible Swiss public transport API and decided it was the perfect occasion to learn how to create TUIs.
https://www.reddit.com/gallery/1s51m3s
Posted by 4Necrom

26 Comments
🆒️
Lovely!
> I’ll have to wait up to an entire minute to finally be able to load the SBB website/app and get the much needed information about my next connection (I have a cheap cellular data subscription).
Sorry what? Which provider do you have? are you the guy who recently posted how genius he is by switching to some cheap provider for 9.90 chf per month?
Very cool!
thats cool, thank you!
Peak 🔥
You effing nerd! I love it!
Neat! 👏
This is completely needless… I love it! Looks great!
I love it! Use the train daily, I will use it for sure!
I mean good project but let’s be honest – this changes absolutely nothing about how fast your api requests receive a response because they are the exact same requests and responses
love it
Nerd fonts, nice… but if in switch in switch in switch… brother, torvalds would write an angry mail doing a code review xD
FUCK YEAH
This is amazing
That’s actually really cool. Good job man
Looks pretty neat, well done!
I’ve been hacking away at a custom timetable script for my frequently used connections. At first I used the same API that you are using, but I got some extremely strange results at times, such as connections that just ended at a random stop along the route and considered that the final destination, or connections not showing up at all, even though they appeared on zvv.ch (which is what I’m trying to mirror, as their timetable does not like it when you try to build bookmark links for certain connections using JavaScript).
I then switched to opentransportdata.swiss, which seems better. Did you ever find such inconsistencies using transport.opendata.ch? I’m not looking for support by the way, just curious 🙂
It looks pretty cool!
There are no stations in these dead areas
Stations have signal
How on earth is that faster or more convenient than using the ubique touch timetable in the SBB app?
The train can be pulling into a station and in a couple of seconds I can whip my phone out, open the app and swipe and see the info.
Awesome!
Can’t wait to try it. Also choosing Bern, **Wankdorf** for the cover image is a nice touch lol
great stuff
Wow!! Thank you..
Now can u code a website that shows Spartickets from SBB?
I always think it would be so.cool to just see that and then just go somewhere…
Nerd alert. I love it
classic neovim user behavior
this is actually really clean, love the terminal approach for quick checks without dealing with the app lag