Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative frontend #26

Open
clonejo opened this issue Jul 13, 2024 · 1 comment
Open

Alternative frontend #26

clonejo opened this issue Jul 13, 2024 · 1 comment

Comments

@clonejo
Copy link
Contributor

clonejo commented Jul 13, 2024

Hello jo-m,

i have started an alternative frontend with server-side rendering, a demo can be seen at https://trains.shakik.de/s/

It is pretty bare-bones for now, and i don't intend for it to reach feature-parity with your Vue frontend.

Notable features:

  • automatic reloading of the front page whenever a new train has been recorded
  • horizontally scrollable thumbnails
  • loads fairly quickly
  • (best of trains list, but that requires an additional table with view statistics, and it's broken with trains_v2)

Currently i have put up the code at https://gitlab.aachen.ccc.de/clonejo/onlytrains-frontend-rs/.

I am wondering if you would want to take the code into the main trainbot repo, but i assume you don't want to take maintainership for a bunch of Rust code :)
It is probably better if i just host a separate repo, then it is clear the frontend is not always kept up to date with trainbot and i can just push/review changes myself.

Best,
clonejo

@jo-m
Copy link
Owner

jo-m commented Jul 14, 2024

Nice!

I think to keep things uncomplicated, it is easier if you keep hosting the repo under your control. If you want, you can make a MR to link to the alternative frontend from the main README.

best
jo-m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants