{"id":20297090,"url":"https://github.com/ivgiuliani/discord-tfl","last_synced_at":"2025-06-26T12:07:18.489Z","repository":{"id":11713212,"uuid":"70336180","full_name":"ivgiuliani/discord-tfl","owner":"ivgiuliani","description":"Discord TfL bot","archived":false,"fork":false,"pushed_at":"2025-06-04T20:34:46.000Z","size":1241,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-05T02:12:01.614Z","etag":null,"topics":["discord","london","tfl","tube"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivgiuliani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-10-08T14:22:31.000Z","updated_at":"2025-06-04T20:34:48.000Z","dependencies_parsed_at":"2024-01-03T00:11:33.719Z","dependency_job_id":"a0274992-f7e5-4bbe-9f7d-5bcb0972730f","html_url":"https://github.com/ivgiuliani/discord-tfl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ivgiuliani/discord-tfl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivgiuliani%2Fdiscord-tfl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivgiuliani%2Fdiscord-tfl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivgiuliani%2Fdiscord-tfl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivgiuliani%2Fdiscord-tfl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivgiuliani","download_url":"https://codeload.github.com/ivgiuliani/discord-tfl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivgiuliani%2Fdiscord-tfl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262063487,"owners_count":23252764,"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":["discord","london","tfl","tube"],"created_at":"2024-11-14T15:43:49.625Z","updated_at":"2025-06-26T12:07:18.427Z","avatar_url":"https://github.com/ivgiuliani.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TfL Discord bot\n\nA Discord bot to query TfL (Transport for London) data through their\npublic API (https://api.tfl.gov.uk).\n\nThis program is not affiliated in any way with TfL.\n\n## Running the bot\n\nYou need:\n\n* a client id and a bot token for Discord, you can get them by\n  registering the application on Discord.\n* an application id and key by registering on the TfL API website\n\nThen the bot can be started with (assuming you've set it up it with `bundler`):\n\n    env DISCORD_CLIENT_ID='\u003cyour client id\u003e' \\\n        DISCORD_TOKEN='\u003cyour bot token\u003e' \\\n        TFL_APPLICATION_ID='\u003cyour tfl app id\u003e' \\\n        TFL_APPLICATION_KEY='\u003cyour tfl app key\u003e' \\\n        bundle exec ruby ./app.rb\n\nAlternatively, you can run the bot via docker:\n\n    docker run -t ivgiuliani/discord-tfl \\\n        --env DISCORD_CLIENT_ID=\u003cyour client id\u003e \\\n        --env DISCORD_TOKEN=\u003cyour bot token\u003e \\\n        --env TFL_APPLICATION_ID=your tfl app id\u003e \\\n        --env TFL_APPLICATION_KEY=\u003cyour tfl app key\u003e\n\nOnce started the bot will announce its invite URL. Follow that link to invite\nthe bot into channels you administer.\n\n### Building the docker container\n\nThere's an x86 image provided by `Dockerfile`. Running\n`docker build . -t discord-tfl` will build the image.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub.\n\n## License\n\nThe application is available as open source under the terms of the\n[GPLv3 licence](http://opensource.org/licenses/GPL-3.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivgiuliani%2Fdiscord-tfl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivgiuliani%2Fdiscord-tfl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivgiuliani%2Fdiscord-tfl/lists"}