{"id":48900200,"url":"https://github.com/wagnerjfr/osm-analytics","last_synced_at":"2026-04-16T14:35:22.114Z","repository":{"id":327786959,"uuid":"1110790761","full_name":"wagnerjfr/osm-analytics","owner":"wagnerjfr","description":"A lightweight React + Leaflet web app to visualize OpenStreetMap (OSM) Points of Interest (POIs) in any city. It allows users to explore amenities nearby, view a heatmap, and see analytics with interactive charts.","archived":false,"fork":false,"pushed_at":"2025-12-15T10:26:39.000Z","size":7698,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-16T14:45:48.969Z","etag":null,"topics":["chartjs","github-pages","html","javascript","leaflet","leaflet-heat","npm","openstreetmap","osm","react","react-chartjs-2","vite"],"latest_commit_sha":null,"homepage":"https://wagnerjfr.github.io/osm-analytics/","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/wagnerjfr.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-12-05T18:14:14.000Z","updated_at":"2025-12-15T10:04:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wagnerjfr/osm-analytics","commit_stats":null,"previous_names":["wagnerjfr/osm-analytics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wagnerjfr/osm-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagnerjfr%2Fosm-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagnerjfr%2Fosm-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagnerjfr%2Fosm-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagnerjfr%2Fosm-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wagnerjfr","download_url":"https://codeload.github.com/wagnerjfr/osm-analytics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagnerjfr%2Fosm-analytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31891027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"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":["chartjs","github-pages","html","javascript","leaflet","leaflet-heat","npm","openstreetmap","osm","react","react-chartjs-2","vite"],"created_at":"2026-04-16T14:35:21.403Z","updated_at":"2026-04-16T14:35:22.106Z","avatar_url":"https://github.com/wagnerjfr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OSM Analytics\n\nA lightweight React + Leaflet web app to visualize **OpenStreetMap (OSM) Points of Interest (POIs)** in any city. It allows users to explore amenities nearby, view a heatmap, and see analytics with interactive charts.\n\n---\n\n## Demo\n\nLive demo available on GitHub Pages:\n[https://wagnerjfr.github.io/osm-analytics](https://wagnerjfr.github.io/osm-analytics)\n\n---\n\n## Features\n\n* Interactive map with **Leaflet** and OSM tiles\n* Clickable draggable marker to select any location\n* Heatmap visualization of nearby POIs using **Leaflet.heat**\n* Category selection for common POIs:\n\n  * 🚗 Mobility (fuel, charging stations, bicycle rentals)\n  * 🍔 Food (restaurants, fast food, cafes, pubs)\n  * 🛒 Commerce (supermarkets, convenience stores, marketplaces)\n  * 🏫 Education (schools, universities, kindergartens)\n  * 🏥 Health (clinics, hospitals, pharmacies)\n* Quick access to popular sightseeing spots\n* Analytics panel:\n\n  * Bar chart of amenities by type (using **Chart.js**)\n  * List of all nearby POIs\n* Dark/light themed panels for better readability\n\n---\n\n## Installation\n\nClone the repository:\n\n```bash\ngit clone https://github.com/wagnerjfr/osm-analytics.git\ncd osm-analytics\n```\n\nInstall dependencies:\n\n```bash\nnpm install\n```\n\nStart the development server:\n\n```bash\nnpm run dev\n```\n\nThe app will be available at [http://localhost:5173](http://localhost:5173) (default Vite port).\n\n---\n\n## Build \u0026 Deploy\n\n### Build for production:\n\n```bash\nnpm run build\n```\n\n### Deploy to GitHub Pages:\n\n```bash\nnpm run deploy\n```\n\nThis uses the `gh-pages` package and the `homepage` property in `package.json` for deployment.\n\n---\n\n## Technologies\n\n* **React 19**\n* **Vite** for development \u0026 build\n* **Leaflet** \u0026 **react-leaflet** for maps\n* **Leaflet.heat** for heatmaps\n* **Chart.js** \u0026 **react-chartjs-2** for analytics charts\n* **GitHub Pages** for hosting\n\n---\n\n## Notes\n\n* Default category on load is **Food**\n* Default map location is **Paris, France** (Eiffel Tower)\n* Data is fetched from **Overpass API** (OpenStreetMap)\n* All markers include name and amenity type, with fallback to \"Unnamed POI\"\n\n---\n\n## License\n\nThis project is licensed under MIT.\nData courtesy of [OpenStreetMap](https://www.openstreetmap.org/).\n\n---\n\n## Screenshots\n\n![Map view](screenshots/mainpage.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwagnerjfr%2Fosm-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwagnerjfr%2Fosm-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwagnerjfr%2Fosm-analytics/lists"}