{"id":40476568,"url":"https://github.com/williajm/flask_transport_ui","last_synced_at":"2026-01-20T18:25:01.120Z","repository":{"id":34596806,"uuid":"180652289","full_name":"williajm/flask_transport_ui","owner":"williajm","description":"This is a Flask learning project with a focus on testing.","archived":false,"fork":false,"pushed_at":"2025-12-23T12:34:36.000Z","size":78,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T01:56:10.857Z","etag":null,"topics":["flask","flask-socketio","pytest","python","transport-api","websockets"],"latest_commit_sha":null,"homepage":"","language":"Python","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/williajm.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-04-10T19:43:23.000Z","updated_at":"2025-12-23T12:33:32.000Z","dependencies_parsed_at":"2024-05-14T11:48:40.297Z","dependency_job_id":null,"html_url":"https://github.com/williajm/flask_transport_ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/williajm/flask_transport_ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williajm%2Fflask_transport_ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williajm%2Fflask_transport_ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williajm%2Fflask_transport_ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williajm%2Fflask_transport_ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williajm","download_url":"https://codeload.github.com/williajm/flask_transport_ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williajm%2Fflask_transport_ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28609063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":["flask","flask-socketio","pytest","python","transport-api","websockets"],"created_at":"2026-01-20T18:25:00.825Z","updated_at":"2026-01-20T18:25:01.041Z","avatar_url":"https://github.com/williajm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Transport UI ![build](https://github.com/williajm/flask_transport_ui/actions/workflows/pre-commit.yml/badge.svg)\n\nThis is a Flask learning project with a focus on testing.\nThe Flask application displays live train schedule information for UK train stations.\nAutocomplete of the station name is via an AJAX call back to Flask.\nPopulation of the live schedule information is via a websocket.\nThe live schedule information is provided by [transport api](https://www.transportapi.com/)\nIf you want to run this application with live data you need to sign up for a free application id and key [here](https://developer.transportapi.com/).\nIf you just want to see the application run use fake data with the ftu_fake_it env variable.\n\n#### Setup\n\nThe simplest setup method is building and running a docker container.\n\ndocker build\n\n```bash\ndocker build . -t ftu\n```\n\ndocker run with live data\n\n```bash\ndocker run -p 5000:5000 --env ftu_app_id=\u003capp id\u003e --env ftu_app_key=\u003capp key\u003e ftu\n```\n\ndocker run with fake data (no transport credentials required)\n\n```bash\ndocker run -p 5000:5000 --env ftu_fake_it=\"true\" ftu\n```\n\nOr use docker compose\n\n```bash\ndocker-compose up -d\n```\n\nYou will then be able to access the application at http://127.0.0.1:5000/\n\n##### Selenium Setup\n\nTo run against a dockerised Chrome you can use a docker network like:\n\n```bash\ndocker network create grid\ndocker run -d -p 5000:5000 --env ftu_fake_it=\"true\" --network=\"grid\" --name test_server ftu\ndocker run -d -p 4444:4444 -p 5900:5900 -v /dev/shm:/dev/shm --network=\"grid\" selenium/standalone-chrome-debug\n```\n\nThis also allows for a VNC sesssion on port 5900 to watch the tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliajm%2Fflask_transport_ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliajm%2Fflask_transport_ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliajm%2Fflask_transport_ui/lists"}