{"id":30654067,"url":"https://github.com/bsdavidson/trimetric-mobile","last_synced_at":"2025-12-30T21:34:28.260Z","repository":{"id":81455533,"uuid":"118375035","full_name":"bsdavidson/trimetric-mobile","owner":"bsdavidson","description":"A React Native companion app to the Trimetric website","archived":false,"fork":false,"pushed_at":"2018-01-27T09:24:40.000Z","size":17565,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-26T08:46:45.706Z","etag":null,"topics":["android","gtfs","gtfs-realtime","ios","javascript","mapbox","react","react-native","redux","transit","visualization"],"latest_commit_sha":null,"homepage":"https://trimetric.briand.co","language":"JavaScript","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/bsdavidson.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}},"created_at":"2018-01-21T21:22:03.000Z","updated_at":"2018-01-27T09:24:41.000Z","dependencies_parsed_at":"2023-10-11T07:55:32.316Z","dependency_job_id":null,"html_url":"https://github.com/bsdavidson/trimetric-mobile","commit_stats":{"total_commits":40,"total_committers":1,"mean_commits":40.0,"dds":0.0,"last_synced_commit":"88cad42f5a30cea6b64fc8a320c75ef7cf3aaf1e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bsdavidson/trimetric-mobile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdavidson%2Ftrimetric-mobile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdavidson%2Ftrimetric-mobile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdavidson%2Ftrimetric-mobile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdavidson%2Ftrimetric-mobile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsdavidson","download_url":"https://codeload.github.com/bsdavidson/trimetric-mobile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdavidson%2Ftrimetric-mobile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272953955,"owners_count":25021136,"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-08-31T02:00:09.071Z","response_time":79,"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":["android","gtfs","gtfs-realtime","ios","javascript","mapbox","react","react-native","redux","transit","visualization"],"created_at":"2025-08-31T08:13:57.795Z","updated_at":"2025-12-30T21:34:28.212Z","avatar_url":"https://github.com/bsdavidson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"Trimetric\" src=\"images/trimetric_header.jpg\" width=\"888\"\u003e\u003cbr /\u003e\n\n[![Build Status][travis_image]][travis]\n\nTrimetric Mobile is a [React Native] app that pulls data from a [Go backend server][trimetric server]\nto provide a real-time visualization of Portland's [Trimet] transit system.\n\nYou can download the app from [Google Play] or the [iOS App Store]. You can also\nview a web version of the same visualization at https://trimetric.briand.co.\n\n### Screenshots\n\n\u003cimg alt=\"overview\" src=\"images/overview.jpg\" width=\"200\"\u003e \u003cimg alt=\"arrival route\" src=\"images/arrival_route.jpg\" width=\"200\"\u003e\n\n### Setup\n\nYou can run your own build of Trimetric mobile using the standard [React Native tools]. The requirements are the same as any React Native project, with the added requirement of a [Mapbox Access Token].\n\n# Getting started\n\nFirst, clone the repo:\n\n```sh\ngit clone https://github.com/bsdavidson/trimetric-mobile.git\ncd trimetric-mobile\nyarn install\n```\n\nCopy `secrets.js.example` to `secrets.js` and add your Mapbox access token.\n\nBy default, the apps will connect to the Trimetric server running on https://trimetric.briand.co. If you are running your own server, edit `data.js` and change this line to point to your running instance:\n\n```javascript\nconst BASE_URL = \"https://trimetric.briand.co\";\n```\n\n### Running\n\nTo run it in an iOS simulator:\n\n```sh\nreact-native run-ios\n```\n\nIf you have ADB installed and a properly configured Android device, you can run it there by typing:\n\n```sh\nreact-native run-android\n```\n\n### Testing\n\nYou can run tests by typing:\n\n```sh\nyarn test\n```\n\n[trimet]: https://trimet.org\n[google play]: https://play.google.com/store/apps/details?id=com.trimetric_mobile\n[ios app store]: https://itunes.apple.com/us/app/trimetric-mobile/id1336258424\n[gtfs]: https://developers.google.com/transit/\n[mapbox]: https://www.mapbox.com/\n[mapbox access token]: https://www.mapbox.com/signup/\n[trimetric server]: https://github.com/bsdavidson/trimetric\n[trimet api key]: https://developer.trimet.org/appid/registration/\n[react native]: https://facebook.github.io/react-native/\n[react native tools]: https://facebook.github.io/react-native/docs/getting-started.html\n[travis]: https://travis-ci.org/bsdavidson/trimetric-mobile\n[travis_image]: https://travis-ci.org/bsdavidson/trimetric-mobile.svg?branch=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsdavidson%2Ftrimetric-mobile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsdavidson%2Ftrimetric-mobile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsdavidson%2Ftrimetric-mobile/lists"}