{"id":13573084,"url":"https://github.com/public-transport/sample-gtfs-feed","last_synced_at":"2025-09-01T03:35:22.059Z","repository":{"id":89996714,"uuid":"121288172","full_name":"public-transport/sample-gtfs-feed","owner":"public-transport","description":"An imaginary GTFS data set used for testing.","archived":false,"fork":false,"pushed_at":"2024-06-25T13:06:02.000Z","size":114,"stargazers_count":14,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-06T05:43:21.651Z","etag":null,"topics":["gtfs","public-transport","transit"],"latest_commit_sha":null,"homepage":"https://github.com/public-transport/sample-gtfs-feed","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/public-transport.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-12T18:57:42.000Z","updated_at":"2025-08-06T01:08:34.000Z","dependencies_parsed_at":"2025-05-01T04:15:18.410Z","dependency_job_id":null,"html_url":"https://github.com/public-transport/sample-gtfs-feed","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"40466df5e55ffb43c1509a7a2efd793ed54f3627"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/public-transport/sample-gtfs-feed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/public-transport%2Fsample-gtfs-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/public-transport%2Fsample-gtfs-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/public-transport%2Fsample-gtfs-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/public-transport%2Fsample-gtfs-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/public-transport","download_url":"https://codeload.github.com/public-transport/sample-gtfs-feed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/public-transport%2Fsample-gtfs-feed/sbom","scorecard":{"id":749053,"data":{"date":"2025-08-11","repo":{"name":"github.com/public-transport/sample-gtfs-feed","commit":"d6c28ffa4a8046c8a7d52cb50d3aae8e6c26ffdb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Info: FSF or OSI recognized license: ISC License: license.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T19:43:10.697Z","repository_id":89996714,"created_at":"2025-08-22T19:43:10.697Z","updated_at":"2025-08-22T19:43:10.697Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273069848,"owners_count":25040134,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","public-transport","transit"],"created_at":"2024-08-01T15:00:29.143Z","updated_at":"2025-09-01T03:35:22.031Z","avatar_url":"https://github.com/public-transport.png","language":"JavaScript","funding_links":["https://github.com/sponsors/derhuerst"],"categories":["Uncategorized","Sharing Data"],"sub_categories":["Uncategorized","Software for Creating APIs"],"readme":"# sample-gtfs-feed\n\n**An imaginary [GTFS Schedule](https://gtfs.org/schedule/) dataset used for testing.**\n\n[![npm version](https://img.shields.io/npm/v/sample-gtfs-feed.svg)](https://www.npmjs.com/package/sample-gtfs-feed)\n![ISC-licensed](https://img.shields.io/github/license/public-transport/sample-gtfs-feed.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 sample-gtfs-feed\n```\n\n\n## Usage\n\nUsing following GTFS tables, `sample-gtfs-feed` forms a GTFS feed for a simple fictional transit network:\n\n- [`agency`](https://https://gtfs.org/schedule/reference/#agencytxt)\n- [`stops`](https://https://gtfs.org/schedule/reference/#stopstxt)\n- [`routes`](https://https://gtfs.org/schedule/reference/#routestxt)\n- [`trips`](https://https://gtfs.org/schedule/reference/#tripstxt)\n- [`stop_times`](https://https://gtfs.org/schedule/reference/#stop_timestxt)\n- [`calendar`](https://https://gtfs.org/schedule/reference/#calendartxt)\n- [`calendar_dates`](https://https://gtfs.org/schedule/reference/#calendar_datestxt)\n- [`frequencies`](https://https://gtfs.org/schedule/reference/#frequenciestxt)\n- [`transfers`](https://https://gtfs.org/schedule/reference/#transferstxt)\n- [`pathways`](https://https://gtfs.org/schedule/reference/#pathwaystxt)\n- [`levels`](https://https://gtfs.org/schedule/reference/#levelstxt)\n- [`feed_info`](https://https://gtfs.org/schedule/reference/#feed_infotxt)\n\n### plain CSV files\n\nThe `sample-gtfs-feed` npm package contains plain CSV files, which you can process like any GTFS feed.\n\nTo get the path to one of these files in Node.js, use `require.resolve`:\n\n```js\nfs.readFileSync(require.resolve('sample-gtfs-feed/gtfs/agency.txt'), {\n\tencoding: 'utf8'\n})\n```\n\nTo get the path from the command line, use `node -p`:\n\n```sh\ncat $(node -p 'require.resolve(\"sample-gtfs-feed/gtfs/agency.txt\")')\n```\n\n```csv\nagency_id,agency_name,agency_url,agency_timezone,agency_lang,agency_phone,agency_fare_url,agency_email\nFTA,Full Transit Agency,https://fta.example.org/,Europe/Warsaw,de,+49 123 456 789 0,https://fta.example.org/fares.html,contact@fta.example.org\nMTA,Minimal Transit Agency,https://mta.example.org/,Europe/Berlin,,,,\n```\n\nThere's also a `.zip` file of these plain CSV files available as `sample-gtfs-feed/gtfs.zip`.\n\n### JSON files\n\n```shell\ncat $(node -p 'require.resolve(\"sample-gtfs-feed/json/agency.json\")')\n```\n\n### JS objects\n\n```js\nrequire('sample-gtfs-feed/agency')\n```\n\n```js\n[{\n\tagency_id: 'FTA',\n\tagency_name: 'Full Transit Agency',\n\tagency_url: 'https://fta.example.org/',\n\tagency_timezone: 'Europe/Warsaw',\n\tagency_lang: 'de',\n\tagency_phone: '+49 123 456 789 0',\n\tagency_fare_url: 'https://fta.example.org/fares.html',\n\tagency_email: 'contact@fta.example.org'\n}, {\n\tagency_id: 'MTA',\n\tagency_name: 'Minimal Transit Agency',\n\tagency_url: 'https://mta.example.org/',\n\tagency_timezone: 'Europe/Berlin'\n}]\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `sample-gtfs-feed`, 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/public-transport/sample-gtfs-feed/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpublic-transport%2Fsample-gtfs-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpublic-transport%2Fsample-gtfs-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpublic-transport%2Fsample-gtfs-feed/lists"}