{"id":38125752,"url":"https://github.com/ayubmalik/trams","last_synced_at":"2026-01-16T22:33:36.791Z","repository":{"id":57623218,"uuid":"379386384","full_name":"ayubmalik/trams","owner":"ayubmalik","description":"Live Metrolink tram departure information for the Greater Manchester area in the UK.","archived":false,"fork":false,"pushed_at":"2023-07-24T20:01:35.000Z","size":2583,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T00:36:49.294Z","etag":null,"topics":["cli","gcp-cloud-functions","golang","lipgloss","metrolink","tfgm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayubmalik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-06-22T19:59:03.000Z","updated_at":"2023-07-24T20:13:58.000Z","dependencies_parsed_at":"2024-06-20T00:19:05.814Z","dependency_job_id":"df42e2bb-eea9-4ffd-89e6-9f30aaa4bc94","html_url":"https://github.com/ayubmalik/trams","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/ayubmalik/trams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayubmalik%2Ftrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayubmalik%2Ftrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayubmalik%2Ftrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayubmalik%2Ftrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayubmalik","download_url":"https://codeload.github.com/ayubmalik/trams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayubmalik%2Ftrams/sbom","scorecard":{"id":220802,"data":{"date":"2025-08-11","repo":{"name":"github.com/ayubmalik/trams","commit":"39d74bf58c413f6020525e4f33590953519d59b0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"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":"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":"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":10,"reason":"no dangerous workflow patterns detected","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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/push.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ayubmalik/trams/push.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ayubmalik/trams/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ayubmalik/trams/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/ayubmalik/trams/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/ayubmalik/trams/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/ayubmalik/trams/release.yml/main?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"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":"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":"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:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.2.0 not signed: https://api.github.com/repos/ayubmalik/trams/releases/113381108","Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/ayubmalik/trams/releases/113374046","Warn: release artifact v1.0.4 not signed: https://api.github.com/repos/ayubmalik/trams/releases/105429259","Warn: release artifact v1.0.3 not signed: https://api.github.com/repos/ayubmalik/trams/releases/105421603","Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/ayubmalik/trams/releases/47382472","Warn: release artifact v1.2.0 does not have provenance: https://api.github.com/repos/ayubmalik/trams/releases/113381108","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/ayubmalik/trams/releases/113374046","Warn: release artifact v1.0.4 does not have provenance: https://api.github.com/repos/ayubmalik/trams/releases/105429259","Warn: release artifact v1.0.3 does not have provenance: https://api.github.com/repos/ayubmalik/trams/releases/105421603","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/ayubmalik/trams/releases/47382472"],"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 'main'"],"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"}},{"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"}}]},"last_synced_at":"2025-08-17T02:26:14.830Z","repository_id":57623218,"created_at":"2025-08-17T02:26:14.830Z","updated_at":"2025-08-17T02:26:14.830Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28485377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","gcp-cloud-functions","golang","lipgloss","metrolink","tfgm"],"created_at":"2026-01-16T22:33:36.098Z","updated_at":"2026-01-16T22:33:36.783Z","avatar_url":"https://github.com/ayubmalik.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trams\nA command line application written in Go to display realtime departure information for Metrolink trams in the [Transport for Greater Manchester (TfGM)](https://tfgm.com/public-transport/tram) area in the UK. The information displayed is the same as displayed on the physical departure boards at each Metrolink station.\n\nThe backend API providing the data is a GCP Cloud Function also written in Go.[The repository is here](https://github.com/ayubmalik/tramsfunc).\n\n## Display departure information\nTo display information for a specific station run the `trams display` command with a list of all short station codes you want to display e.g. ABM CHO EXS etc. **If you do not provide any short station codes then _all_ Metrolink stations will be displayed.**\n\n![trams display](docs/trams-display.gif \"trams display command\")\n\n\n## List station codes and names\nTo get a list of all the station codes (e.g. ABM, CHO etc) run the `trams list` command.\n\n![trams list](docs/trams-list.gif \"trams list command\")\n\n## Help and version information\n\n```\n./trams help\n```\n\n```\n./trams version\n```\n\n## Installation\nAs well as building from this source repository, you can download a binary file for Linux, Mac and Windows from the [Releases page](https://github.com/ayubmalik/trams/releases) under the **Assets** section.\n\nOnce downloaded you will probably have to make the binary executable.\n\nFor example if you download the Linux binary `trams-linux-amd6` you can run the following commands to rename the binary and make it executable assuming it is in your `Downloads` folder).\n\n```\nmv ~/Downloads/trams-linux-amd64 ~/Downloads/trams\nchmod +x ~/Downloads/trams\n~/Downloads/trams display\n```\n\n## Lipgloss\nAll the colours and layout were generated using the awesome [Lipgloss](https://github.com/charmbracelet/lipgloss) library!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayubmalik%2Ftrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayubmalik%2Ftrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayubmalik%2Ftrams/lists"}