{"id":14067502,"url":"https://github.com/Sparrow0hawk/mynearestleedsmarginal","last_synced_at":"2025-07-30T01:31:19.653Z","repository":{"id":32370306,"uuid":"193966211","full_name":"Sparrow0hawk/mynearestleedsmarginal","owner":"Sparrow0hawk","description":"R Shiny web app getting volunteers to marginal seats","archived":true,"fork":false,"pushed_at":"2023-09-03T18:33:29.000Z","size":79436,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T07:37:58.747Z","etag":null,"topics":["docker-container","google-cloud","labour","labour-party","leaflet","mobilisation","shiny"],"latest_commit_sha":null,"homepage":"http://www.mynearestleedsmarginal.com","language":"R","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/Sparrow0hawk.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}},"created_at":"2019-06-26T19:33:18.000Z","updated_at":"2024-07-20T11:19:52.000Z","dependencies_parsed_at":"2024-02-19T19:15:53.150Z","dependency_job_id":"cc9a6d2f-e6d9-4b87-8214-125cfb472e82","html_url":"https://github.com/Sparrow0hawk/mynearestleedsmarginal","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Sparrow0hawk/mynearestleedsmarginal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sparrow0hawk%2Fmynearestleedsmarginal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sparrow0hawk%2Fmynearestleedsmarginal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sparrow0hawk%2Fmynearestleedsmarginal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sparrow0hawk%2Fmynearestleedsmarginal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sparrow0hawk","download_url":"https://codeload.github.com/Sparrow0hawk/mynearestleedsmarginal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sparrow0hawk%2Fmynearestleedsmarginal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267792592,"owners_count":24144929,"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-07-29T02:00:12.549Z","response_time":2574,"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":["docker-container","google-cloud","labour","labour-party","leaflet","mobilisation","shiny"],"created_at":"2024-08-13T07:05:37.865Z","updated_at":"2025-07-30T01:31:19.291Z","avatar_url":"https://github.com/Sparrow0hawk.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# mynearestleedsmarginal Shiny app\n\nThis is the [mynearestleedsmarginal app](https://mynearestleedsmarginal.com).\n\nInspired by Momentum's 2017 [mynearestmarginal.com](https://mynearestmarginal.com/), this project is an R Shiny applications that identifies your nearest marginal council ward in Leeds local authority.\n\n## Docker container\n\nIf you have [Docker](https://www.docker.com/) installed this app can be built into a Docker container using the command:\n\n```bash\ncd mynearestleedsmarginal2019/\n\ndocker build . -f dockerfiles/Dockerfile -t mynearestleedsmarg:latest\n```\n\nYou can run the container with the command:\n\n```bash\ndocker run --rm -p 3838:3838 mynearestleedsmarg:latest\n```\n\nWith the container running you can navigate to `http://localhost:3838` in a web browser to view/interact with the app.\n\n### Deploying to Google Cloud Run\n\nYou can deploy this app to Google Cloud with a properly configured [gcloud SDK](https://cloud.google.com/sdk/docs/install) using the following commands:\n\n```bash\n# submit the docker container to your private google cloud container registry\ngcloud builds submit --tag gcr.io/$(gcloud config get-value project)/mynearestleedsmarg --timeout=60m\n\n# deploy the container image to google cloud run\ngcloud run deploy --image gcr.io/leeds-app-2-serverless/mynearestleedsmarg --platform managed --port=3838\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSparrow0hawk%2Fmynearestleedsmarginal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSparrow0hawk%2Fmynearestleedsmarginal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSparrow0hawk%2Fmynearestleedsmarginal/lists"}