{"id":13425306,"url":"https://github.com/urbica/citibike-nyc","last_synced_at":"2025-09-07T14:16:52.424Z","repository":{"id":77862399,"uuid":"137672087","full_name":"urbica/citibike-nyc","owner":"urbica","description":"Mapbox GL JS feature state usage example","archived":false,"fork":false,"pushed_at":"2019-09-06T10:31:24.000Z","size":1135,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T19:37:05.363Z","etag":null,"topics":["citibike","docker","mapbox-gl-js"],"latest_commit_sha":null,"homepage":"https://medium.com/@Urbica.co/visualising-large-spatiotemporal-data-in-web-applications-8583cf21907","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/urbica.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-06-17T17:11:16.000Z","updated_at":"2025-03-14T17:33:27.000Z","dependencies_parsed_at":"2024-01-31T07:56:08.811Z","dependency_job_id":"3f1a7275-4ffc-4ba1-8ac8-28b00cc17a04","html_url":"https://github.com/urbica/citibike-nyc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/urbica/citibike-nyc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbica%2Fcitibike-nyc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbica%2Fcitibike-nyc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbica%2Fcitibike-nyc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbica%2Fcitibike-nyc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbica","download_url":"https://codeload.github.com/urbica/citibike-nyc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbica%2Fcitibike-nyc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274046013,"owners_count":25212983,"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-07T02:00:09.463Z","response_time":67,"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":["citibike","docker","mapbox-gl-js"],"created_at":"2024-07-31T00:01:09.572Z","updated_at":"2025-09-07T14:16:52.414Z","avatar_url":"https://github.com/urbica.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# Citi Bike NYC\n\nMapbox GL JS feature state usage example.\n\n![Screenshot](https://raw.githubusercontent.com/urbica/citibike-nyc/master/screenshot.png)\n\n## Prerequisites\n\n- [Docker](https://www.docker.com/get-docker)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n\n## Step 1. Get the source code\n\n```shell\ngit clone https://github.com/urbica/citibike-nyc.git\ncd citibike-nyc\n```\n\n## Step 2. Start services\n\n```shell\ndocker-compose up -d\n```\n\n## Step 3. Get trip data\n\nGet Citi Bike trip data and unzip it into the `./data` folder\n\n```shell\ncurl https://s3.amazonaws.com/tripdata/201805-citibike-tripdata.csv.zip -o ./data/tripdata.zip\nunzip ./data/tripdata.zip -d ./data\n```\n\nInsert trip data in the database and aggregate trips by hour\n\n```shell\ndocker-compose exec db psql -d db -U postgres -f /scripts/aggregate_trips.sql\n```\n\n## Step 4. Review your data\n\nOpen [http://localhost:3000](http://localhost:3000/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbica%2Fcitibike-nyc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbica%2Fcitibike-nyc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbica%2Fcitibike-nyc/lists"}