{"id":15592235,"url":"https://github.com/derhuerst/hafas-generate-gtfs","last_synced_at":"2025-04-15T05:17:21.106Z","repository":{"id":66219494,"uuid":"248976607","full_name":"derhuerst/hafas-generate-gtfs","owner":"derhuerst","description":"[work in progress] – Generate GTFS dumps from HAFAS endpoints.","archived":false,"fork":false,"pushed_at":"2020-07-30T19:04:12.000Z","size":19,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T05:17:11.173Z","etag":null,"topics":["gtfs","hafas","public-transport","transit"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/hafas-generate-gtfs#hafas-generate-gtfs","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,"roadmap":null,"authors":null}},"created_at":"2020-03-21T12:59:31.000Z","updated_at":"2023-02-16T13:48:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"a74a2aa1-b9f6-454c-a255-7289ee7954fe","html_url":"https://github.com/derhuerst/hafas-generate-gtfs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fhafas-generate-gtfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fhafas-generate-gtfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fhafas-generate-gtfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fhafas-generate-gtfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/hafas-generate-gtfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249010222,"owners_count":21197796,"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":["gtfs","hafas","public-transport","transit"],"created_at":"2024-10-02T23:59:31.007Z","updated_at":"2025-04-15T05:17:21.076Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":["https://patreon.com/derhuerst"],"categories":["Producing Data","Uncategorized"],"sub_categories":["GTFS","Uncategorized"],"readme":"# hafas-generate-gtfs\n\n**Generate [GTFS](https://gtfs.org/reference/static) dumps from HAFAS endpoints.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-generate-gtfs.svg)](https://www.npmjs.com/package/hafas-generate-gtfs)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-generate-gtfs.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-generate-gtfs)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-generate-gtfs.svg)\n![minimum Node.js version](https://img.shields.io/node/v/hafas-generate-gtfs.svg)\n[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\nGiven a [`hafas-client@5`](https://github.com/public-transport/hafas-client/tree/5)-compatible HAFAS client, a time frame, and a bounding box or [`GeoJSON`](https://geojson.org) shape, `hafas-generate-gtfs` tries to build a GTFS feed for the area:\n\n1. Finds all stations in the area.\n2. Fetches all departures at these stations within the time frame.\n3. Fetches the trip for each departure.\n\n\n## Installation\n\n```shell\nnpm install hafas-generate-gtfs\n```\n\n\n## Usage\n\n```js\ntodo\n```\n\nI recommend you to use this package with a [caching](https://github.com/public-transport/cached-hafas-client) HAFAS client.\n\n\n## Contributing\n\nIf you have a question or need support using `hafas-generate-gtfs`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use [the issues page](https://github.com/derhuerst/hafas-generate-gtfs/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fhafas-generate-gtfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fhafas-generate-gtfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fhafas-generate-gtfs/lists"}