{"id":49151182,"url":"https://github.com/badgerloop-software/sc2-mobile-app","last_synced_at":"2026-04-27T04:06:09.872Z","repository":{"id":320524085,"uuid":"1018856855","full_name":"badgerloop-software/sc2-mobile-app","owner":"badgerloop-software","description":"Mobile, Tablet, and Web App for Solar Car 2","archived":false,"fork":false,"pushed_at":"2026-04-22T04:23:20.000Z","size":33256,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-22T06:40:18.763Z","etag":null,"topics":["expo","javascript","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/badgerloop-software.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-13T07:39:52.000Z","updated_at":"2026-04-22T04:09:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a2d5c28-a155-4632-a499-c4d8a32e6b52","html_url":"https://github.com/badgerloop-software/sc2-mobile-app","commit_stats":null,"previous_names":["badgerloop-software/sc2-mobile-app"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/badgerloop-software/sc2-mobile-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgerloop-software%2Fsc2-mobile-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgerloop-software%2Fsc2-mobile-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgerloop-software%2Fsc2-mobile-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgerloop-software%2Fsc2-mobile-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badgerloop-software","download_url":"https://codeload.github.com/badgerloop-software/sc2-mobile-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgerloop-software%2Fsc2-mobile-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32321961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["expo","javascript","react-native"],"created_at":"2026-04-22T06:07:46.556Z","updated_at":"2026-04-27T04:06:09.865Z","avatar_url":"https://github.com/badgerloop-software.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BSR Solar Car 2 - Mobile Telemetry App\n\nThis is a React Native/Expo based mobile application for real-time telemetry monitoring of our Solar Car 2 (SC2). It will provide live visualization of vehicle subsystems by integrating 3D models, battery status, environmental conditions, and safety alerts. It will serve as a mobile alternative to the engineering (chase car) dashboard for those who prefer the smaller form factor.\n\n## Screenshots\n\n| Home | Systems | Signal Search | Settings |\n|------|---------|---------|----------|\n| \u003cimg src=\"assets/screenshots/home.jpeg\" width=\"200\" alt=\"Home\"\u003e | \u003cimg src=\"assets/screenshots/systems.jpeg\" width=\"200\" alt=\"Systems\"\u003e | \u003cimg src=\"assets/screenshots/signal-search.jpeg\" width=\"200\" alt=\"Signals\"\u003e | \u003cimg src=\"assets/screenshots/settings.jpeg\" width=\"200\" alt=\"Settings\"\u003e |\n\n## Quick Start\n\n### Prerequisites\n- Node.js (v20.x)\n- Expo Go app on your mobile device (for both iOS and Android)\n\n### Installation \u0026 Running\n1.  **Clone the repository:**\n    ```bash\n    git clone https://github.com/badgerloop-software/sc2-mobile-app.git\n    cd sc2-mobile-app\n    ```\n\n2.  **Install dependencies:**\n    ```bash\n    npm install\n    ```\n\n3.  **Start the development server:**\n    ```bash\n    npx expo start\n    ```\n\n4.  **Run the app:**\n    - Scan the QR code displayed in the terminal with Expo Go (Android) or the Camera app (iOS)\n\n**Mapbox (optional)**\n\n- To enable Mapbox GL maps (used in the Home screen preview and full-screen map), set a Mapbox access token using one of these approaches (recommended: create a local `.env` and use `app.config.js`):\n\n  1) Create a local `.env` file at the project root (do NOT commit it). Use the included example to get started:\n\n    ```bash\n    cp .env.example .env\n    # then paste your token into .env\n    # .env contents:\n    # MAPBOX_ACCESS_TOKEN=pk.your_mapbox_token_here\n    ```\n\n    The project includes `app.config.js` which reads `.env` on bundler start and injects `MAPBOX_ACCESS_TOKEN` into `expo.extra`, making it available at runtime via `expo-constants`.\n\n  2) Export the environment variable before starting the bundler (macOS / Linux):\n\n    ```bash\n    export MAPBOX_ACCESS_TOKEN=\"pk.your_mapbox_token_here\"\n    npx expo start\n    ```\n\n  3) Or add it to your `app.json` under `expo.extra` (explicit config in source):\n\n    ```json\n    {\n      \"expo\": {\n        \"extra\": {\n          \"MAPBOX_ACCESS_TOKEN\": \"pk.your_mapbox_token_here\"\n        }\n      }\n    }\n    ```\n\n  4) You can also set it on `global.MAPBOX_ACCESS_TOKEN` in your app entrypoint if you prefer a programmatic approach.\n\n- Important: After adding or changing your token, fully restart the Metro bundler (`npx expo start`), and restart the Expo Go client on your device (or reload simulator). This ensures the new token is read by `app.config.js` and exposed through `expo-constants` at runtime.\n\n- If `MAPBOX_ACCESS_TOKEN` is not found in any of those locations, the app will fall back to OpenStreetMap/Leaflet tiles automatically. The app logs a short warning in Metro if no token is detected (look for `MapView: MAPBOX_ACCESS_TOKEN not found`), which can help troubleshoot missing tokens.\n\n## Tech Stack\n\n- **Framework:** React Native\n- **Platform:** Expo (SDK 54)\n- **Navigation:** React Navigation\n- **UI:** Expo Linear Gradient, Expo Blur\n- **Icons:** Expo Vector Icons\n- **Animation:** React Native Reanimated\n\n## Project Structure\n\n```\nsc2-mobile-app/\n├── .github/        # GitHub Actions (CI/CD)\n├── assets/         # Images and icons\n├── docs/           # Project documentation\n├── src/            # Source code\n│   ├── assets/     # Models and other assets\n│   ├── components/ # Reusable components\n│   ├── data/       # Mock data and data sources\n│   ├── screens/    # Application screens\n│   └── utils/      # Utility functions\n├── App.js          # Main application component\n└── package.json    # Project dependencies\n```\n\n### Troubleshooting\n- If you see an error like \"TypeError: configs.toReversed is not a function\" when starting Expo, make sure you're running Node v20.x (use nvm to switch to Node 20 if needed).\n\n### License / Model credit:\nThis work uses the Ferrari F40 model by Black Snow on Sketchfab, licensed under CC-BY-4.0. See src/car-visualizer/ferrari_f40/license.txt for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadgerloop-software%2Fsc2-mobile-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadgerloop-software%2Fsc2-mobile-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadgerloop-software%2Fsc2-mobile-app/lists"}