https://github.com/nikosalonen/lahijunat.live
Real-time commuter train schedules for Finnish trains
https://github.com/nikosalonen/lahijunat.live
commuting digitraffic hsl trains
Last synced: 3 months ago
JSON representation
Real-time commuter train schedules for Finnish trains
- Host: GitHub
- URL: https://github.com/nikosalonen/lahijunat.live
- Owner: nikosalonen
- License: mit
- Created: 2025-02-13T17:53:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-01T10:32:10.000Z (3 months ago)
- Last Synced: 2026-03-01T10:50:33.377Z (3 months ago)
- Topics: commuting, digitraffic, hsl, trains
- Language: TypeScript
- Homepage: https://www.lahijunat.live
- Size: 2.58 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lahijunat.live
[](https://app.netlify.com/sites/beautiful-sable-b9b106/deploys) 
Real-time commuter train schedules for Finnish trains.
## Features
- Real-time departure and arrival times
- Live updates for schedule changes and delays
- Easy station selection with origin and destination
- Track information for departures
- Journey duration info in minutes
- Mobile-friendly interface
- ~~Automatic location-based station selection~~
- Progressive Web App (PWA) support
- Dark mode
## Tech Stack
- [Astro](https://astro.build/) - Web framework
- [Preact](https://preactjs.com/) - UI components
- [TailwindCSS](https://tailwindcss.com/) - Styling
- [Biome](https://biomejs.dev/) - Linting and formatting
- Data provided by [Fintraffic's Railway Traffic API](https://www.digitraffic.fi/rautatieliikenne/)
## Development
1. Clone the repository
2. Install dependencies:
```bash
npm install
```
3. Start the development server:
```bash
npm run dev
```
4. For production build:
```bash
npm run build
```
## Scripts
- `dev`: Start development server
- `build`: Build for production
- `preview`: Preview production build
- `lint`: Run Biome linter
- `format`: Format code with Biome
## License
This project is open source and available under the MIT license.
## Data Source
Train data is provided by Fintraffic's digitraffic.fi service under the CC 4.0 BY license.