{"id":24802787,"url":"https://github.com/kelvinleandro/smart-something-site","last_synced_at":"2026-04-08T22:31:59.646Z","repository":{"id":274101285,"uuid":"921769622","full_name":"kelvinleandro/smart-something-site","owner":"kelvinleandro","description":"Smart car page built with React and TypeScript, featuring device control, car location, and communication via web server","archived":false,"fork":false,"pushed_at":"2025-02-19T21:25:31.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T05:36:48.421Z","etag":null,"topics":["axios","axios-react","axios-rest","distributed-systems","google-maps-api","google-maps-react","javascript","next-js","nextjs","react","react-google-maps","react-google-maps-api","reactjs","shadcn","shadcn-ui","smart-car","smart-devices","tailwind-css","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://smart-something-site.vercel.app","language":"TypeScript","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/kelvinleandro.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}},"created_at":"2025-01-24T15:27:49.000Z","updated_at":"2025-02-19T21:25:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"11b20d70-9ea1-4d70-9687-b09c6807e3a9","html_url":"https://github.com/kelvinleandro/smart-something-site","commit_stats":null,"previous_names":["kelvinleandro/smart-something-site"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kelvinleandro/smart-something-site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fsmart-something-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fsmart-something-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fsmart-something-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fsmart-something-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelvinleandro","download_url":"https://codeload.github.com/kelvinleandro/smart-something-site/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelvinleandro%2Fsmart-something-site/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31577444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["axios","axios-react","axios-rest","distributed-systems","google-maps-api","google-maps-react","javascript","next-js","nextjs","react","react-google-maps","react-google-maps-api","reactjs","shadcn","shadcn-ui","smart-car","smart-devices","tailwind-css","tailwindcss","typescript"],"created_at":"2025-01-30T05:16:19.428Z","updated_at":"2026-04-08T22:31:59.624Z","avatar_url":"https://github.com/kelvinleandro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Car Web App\n\n## Overview\n\nThis is a web-based smart car application built with Next.js and TypeScript. It allows users to monitor and control various car devices through a REST API. The gateway server, responsible for handling requests, is managed in a [separate repository](https://github.com/gabrielfruet/gateway-iot).\n\n## Features\n\n- **Car Location**: View the car's real-time location on an interactive map.\n- **Car Lock Status**: Check whether the car is locked or unlocked.\n- **Temperature Sensor**: Monitor the car's current temperature.\n- **Air Conditioner Control**: Turn the AC on or off, with temperature feedback.\n- **Light Control**: Adjust the light brightness level (0-100).\n- **Theme Support**: Light and dark mode support.\n\n## Prerequisites\n\nTo run the application, ensure you have the following:\n\n- Node.js\n- A valid **Google Maps API Key**\n- Access to the gateway REST API\n\n## Installation\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/kelvinleandro/smart-something-site.git\n   cd smart-something-site\n   ```\n\n2. **Install Dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n3. **Configure Environment Variables**:\n\n   - Create a `.env` file in the root directory.\n   - Add the following:\n     ```env\n     NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_google_maps_api_key\n     ```\n\n4. **Run the Application**:\n   ```bash\n   npm run dev\n   ```\n   The app will be available at `http://localhost:3000`.\n\n## Usage\n\n1. Open the web application in your browser.\n2. Use the interactive dashboard to monitor and control car devices:\n   - View the car's location on Google Maps.\n   - Check and toggle the car lock status.\n   - Monitor the temperature sensor.\n   - Turn the air conditioner on or off.\n   - Adjust the light brightness.\n3. The UI automatically updates based on data from the gateway.\n\n## Technologies Used\n\n- **Next.js**\n- **TypeScript**\n- **Google Maps API** (for car location tracking)\n- **Tailwind CSS** (for styling)\n- **REST API** (for backend communication)\n- **Axios** (for API requests)\n- **ShadCN UI** (for UI components)\n\n## Notes\n\n- Ensure the gateway server is running and accessible.\n- For further details on the gateway setup, refer to the [gateway repository](https://github.com/gabrielfruet/gateway-iot).\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvinleandro%2Fsmart-something-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelvinleandro%2Fsmart-something-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelvinleandro%2Fsmart-something-site/lists"}