You are browsing as a guest. Sign up (or log in) to start making projects!

traewelltui

  • 11 Devlogs
  • 15 Total hours

traewelltui TUI (terminal ui) client for Traewelling (https://traewelling.de/), a free public transport checkin service to record your travels and share it with your friends. This project uses (kinda) vim keybindings: use `:q` to quit, `:help` to view a help message `:login` to relogin, `:like` to open a popup where you can select which checkin you want to like, or `:like <index>` to like a checkin directly!

Ship #2 Pending review

I made traewelltui, which is a TUI (terminal ui) client for Traewelling, a free public transport checkin service to record your travels and share it with your friends.
It was a bit difficult to get into, because I never used Ratatui before. I have rewritten the dashboard multiple times and I am now somthing happy with it :)

If you test the project, you should know that it uses vim keybinds: Use :q to quit. New Fetures are that you can paste the token now directly from your clipboard, you can like checkins interactively using a popup select and using an index, and a bugfix that the dashboard isn’t loading!

(some licensing things: The background image in my terminal which is only partially visible is the KDE Plasma workspace
wallpaper “Scarlet tree” made by axo1otl [email protected] and licensed CC-BY-SA 4.0. Repo: https://invent.kde.org/plasma/plasma-workspace-wallpapers/-/tree/master/ScarletTree
My screenshot is licensed CC-BY-SA 4.0)

  • 5 devlogs
  • 5h
Try project → See source code →
Open comments for this post

1h 24m 19s logged

I fixed the error reported by @pauljako that the login is not working anymore which is likely caused because of recent api changed by traewelling.
The travel mode (bus, train …) and the source/license of the checkin are now not always included so I set them to optional.

It was really difficult to debug because I couldn’t get serde to show the full problem … but it worked after some tries 🎉

(some licensing things: The background image in my terminal is the KDE Plasma workspace
wallpaper “Scarlet tree” made by axo1otl [email protected] and licensed CC-BY-SA 4.0. Repo: https://invent.kde.org/plasma/plasma-workspace-wallpapers/-/tree/master/ScarletTree
My screenshot is licensed CC-BY-SA 4.0)

0
0
30
Open comments for this post

1h 20m 49s logged

I added a :like command! You can now like checkins using :like <index>, where you can find the index beside the username in the checkin header!

0
1
11
Open comments for this post

1h 23m 44s logged

I added an option to get the token from your clipboard instead of only relying only on pasting, because that pasted every single character and took some time :)

0
0
10
Ship #1

I made traewelltui, which is a TUI (terminal ui) client for Traewelling, a free public transport checkin service to record your travels and share it with your friends.
It was a bit difficult to get into, because I never used Ratatui before. I have rewritten the dashboard multiple times and I am now somthing happy with it :)

If you test the project, you should know that it uses vim keybinds: Use :q to quit. Pasting the token could take some seconds, this is not because something bad implemented but instead the token is really long and each character gets inserted sepeartely by ratatui.

  • 6 devlogs
  • 10h
  • 15.88x multiplier
  • 157 Stardust
Try project → See source code →
Open comments for this post

45m 22s logged

There is now an option to save the api token and auto-login with it! The login prompt also shows now automatically when you’re not logged in, making it easier to get a start :) The token save prompt only shows after a successful use of the token, so you can’t really save a wrong token.

0
0
5
Open comments for this post

1h 6m 22s logged

I completely redesigned the dashboard! It now looks more like “normal” Traewelling clients and in my opinion much nicer :)

0
0
2
Open comments for this post

37m 34s logged

I added symbols for the travelling mode (e.g. suburban, regional rail, tram bus) and you can now also see the status message another one has posted together with the checkin!

0
0
4
Open comments for this post

4h 19m 15s logged

I just finished a big feature in my project! The login now works perfectly, and after successfully logging in, you’ll see your dashboard displaying check-ins from people you follow (plus your own, of course). The dashboard isn’t complete yet - I plan to add status messages and a progress bar showing if someone is currently traveling.

0
1
28
Open comments for this post

1h 57m 37s logged

I’m building a terminal user interface for Traewelling (https://traewelling.de/) using Ratatui in Rust, with Vim-style keybindings (: for command mode, q to quit, :login for token-based authentication). The basic UI is working well with a header, dashboard body, and mode-specific footer, but still needs polish before the next iteration.

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…