Skip to content
 
 

Repository files navigation

SRTT (SimRail timetables) generator

This is the source code of the SRTT project, a web-based, SimRail timetable viewer for the multi-player mode.

The reference instance is hosted here.

How it works

The project is functionally split into three parts:

  1. The timetable synchronization part -- official, publicly available APIs are queried for data needed to generate the timetables:

    Then, raw (except time) output is saved to disk.

  2. The running trains scanning part -- timetables acquired in the first part lack the correct information about actual trains' parameters. Again, official APIs are queried:

    Then, processed output is saved into an sqlite database.

  3. The web-site generation part -- data saved in previous phases is used to generate the timetables -- as a collection of static files (HTML, JS, CSS, etc.).

For usage details, please invoke python srtt.py -h for help.

Requirements

  • Python 3.11,
  • a web server -- if one wishes to host it.

About

SimRail timetables

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages