{"id":13426196,"url":"https://github.com/derhuerst/print-gtfs-rt-cli","last_synced_at":"2025-04-15T05:03:57.552Z","repository":{"id":56025650,"uuid":"147817517","full_name":"derhuerst/print-gtfs-rt-cli","owner":"derhuerst","description":"Read a GTFS Realtime feed from stdin, print human-readable or as JSON.","archived":false,"fork":false,"pushed_at":"2023-03-15T15:48:58.000Z","size":235,"stargazers_count":19,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-02T07:07:10.295Z","etag":null,"topics":["cli","command-line","gtfs-realtime","gtfs-rt"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/print-gtfs-rt-cli#print-gtfs-rt-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-09-07T11:59:24.000Z","updated_at":"2024-12-19T19:57:09.000Z","dependencies_parsed_at":"2023-12-06T03:44:35.848Z","dependency_job_id":null,"html_url":"https://github.com/derhuerst/print-gtfs-rt-cli","commit_stats":{"total_commits":23,"total_committers":3,"mean_commits":7.666666666666667,"dds":0.08695652173913049,"last_synced_commit":"eaae94e3232d1c708aea9671592c1ec3adf7bcc1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fprint-gtfs-rt-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fprint-gtfs-rt-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fprint-gtfs-rt-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fprint-gtfs-rt-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/print-gtfs-rt-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232651097,"owners_count":18555931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","gtfs-realtime","gtfs-rt"],"created_at":"2024-07-31T00:01:28.692Z","updated_at":"2025-01-07T19:06:27.923Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":["https://github.com/sponsors/derhuerst"],"categories":["JavaScript","Producing Data","Uncategorized"],"sub_categories":["GTFS Realtime","Uncategorized"],"readme":"# print-gtfs-rt-cli\n\n**Read a [GTFS Realtime (GTFS-RT)](https://developers.google.com/transit/gtfs-realtime/) feed from stdin, print human-readable or as JSON.**\n\n[![npm version](https://img.shields.io/npm/v/print-gtfs-rt-cli.svg)](https://www.npmjs.com/package/print-gtfs-rt-cli)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/print-gtfs-rt-cli.svg)\n[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install -g print-gtfs-rt-cli\n```\n\nOr use [`npx`](https://npmjs.com/package/npx). ✨\n\n\n## Usage\n\n```\nUsage:\n    cat gtfs-rt-feed.pbf | print-gtfs-rt\nOptions:\n    --length-prefixed  -l  Read input as length-prefixed.\n                           See https://www.npmjs.com/package/length-prefixed-stream\n    --json             -j  Output newline-delimeted JSON (http://ndjson.org).\n    --single-json -s       Output a single JSON array.\n    --depth            -d  Number of nested levels to print. Default: infinite\n    --include-all      -a  Print the entire FeedMessage, including its header.\n    --gtfs-rt-bindings     Path to GTFS-RT bindings. Must be compatible with\n                           those generated by protobufjs.\nExamples:\n    curl 'https://example.org/gtfs-rt.pbf' | print-gtfs-rt\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `print-gtfs-rt-cli`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/print-gtfs-rt-cli/issues).\n\n\n## Example feed\n\nThe example feed is taken from [the Swiss open GTFS-RT feed](https://opentransportdata.swiss/en/dataset/gtfsrt), licensed under [their open data license](https://opentransportdata.swiss/en/terms-of-use/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fprint-gtfs-rt-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fprint-gtfs-rt-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fprint-gtfs-rt-cli/lists"}