Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
gtfs-to-html
Advanced tools
➡️
Documentation |
Quick Start |
Configuration |
Questions and Support
⬅️
Create human-readable, user-friendly transit timetables in HTML, PDF or CSV format directly from GTFS.
See gtfstohtml.com for full documentation.
Most transit agencies have schedule data in GTFS format but need to show each route's schedule to users on a website. GTFS-to-HTML automates the process of creating nicely formatted HTML timetables for inclusion on a transit agency website. This makes it easy to keep timetables up to date and accurate when schedule changes happen and reduces the likelihood of errors.
gtfs-to-html
has many options that configure how timetables are presented. It also allows using a completely custom template which makes it easy to build chunks of HTML that will fit perfectly into any website using any HTML structure and classes that you'd like. Or, create printable PDF versions or CSV exports of timetables using the outputFormat
config option.
gtfs-to-html
properly formats timetables to ensure they are screen-reader accessible and WCAG 2.0 compliant.
Built-in styling makes gtfs-to-html
timetables ready to size and scroll easily on mobile phones and tablets.
By generating future timetables and including dates in table metadata, your timetables can appear in advance of a schedule change, and you can validate that your new timetables and GTFS are correct.
gtfs-to-html
can also generate a map for each route that can be included with the schedule page. The map shows all stops for the route and lists all routes that serve each stop. Maps can also show realtime vehicle locations and predicted arrival times from GTFS-realtime data.
Note: If you only want maps of GTFS data, use the gtfs-to-geojson package instead and skip making timetables entirely. If offers many different formats of GeoJSON for routes and stops.
gtfs-to-html
uses the node-gtfs
library to handle importing and querying GTFS data.
You can now use gtfs-to-html
without actually downloading any code or doing any configuration. run.gtfstohtml.com provides a web based interface for finding GTFS feeds for agencies, setting configuration and then generates a previewable and downloadable set of timetables.
Many transit agencies use gtfs-to-html
to generate the schedule pages used on their websites, including:
Are you using gtfs-to-html
? Let us know via email gtfs@blinktag.com or via opening a github issue or pull request if your agency is using this library.
gtfs-to-html
is used as an integral part of transit-custom-posts
- a GTFS-optimized Wordpress plugin for transit websites.
See GTFS-to-HTML Documentation
Pull requests are welcome, as well as feedback and reporting issues.
npm test
[2.9.14] - 2024-10-11
overwriteExistingFiles
config optionFAQs
Build human readable transit timetables as HTML, PDF or CSV from GTFS
The npm package gtfs-to-html receives a total of 202 weekly downloads. As such, gtfs-to-html popularity was classified as not popular.
We found that gtfs-to-html demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.