Next Trains
Last week, I built a small web app to show the next few trains that are scheduled to arrive at or depart from my local railway station.
My two-year-old daughter loves trains, and since the station's in the city centre, next to all the shops, any time we can combine running errands with some playtime is well worth it. Having an at-a-glance view of all the trains soon to be at the station lets me plan when we should leave the house, or finish our shopping, so we can see a few trains come and go.
The app is up and running and available at next-trains.mikecoats.xyz. The application is free software so you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The code is available from my Codeberg repository.
When I built my last silly web project, Poison the WeLLMs, I got half-way to publishing it as a PyPI package, moving the dependencies and scripts over to a pyproject.toml
file, but I never actually finished the job. Prompted by Stefan on Mastodon and their blog post, "I published my first package to PyPi", I bit the bullet, got stuck in and published the app as my first PyPI package.
I fully expect no-one but me will ever install it, but packaging the app makes it much easier for me to install onto my server.
2025-01-25