{"id":28972531,"url":"https://github.com/siropkin/ai-playground-map","last_synced_at":"2025-06-24T11:06:53.075Z","repository":{"id":291787198,"uuid":"936782587","full_name":"siropkin/ai-playground-map","owner":"siropkin","description":"AI-powered map with playgrounds for kids near you","archived":false,"fork":false,"pushed_at":"2025-06-19T16:59:01.000Z","size":5585,"stargazers_count":3,"open_issues_count":12,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T17:48:59.521Z","etag":null,"topics":["ai","geolocation","google-maps-api","map","mapbox","nextjs","openstreetmap-data","osm","perplexity","perplexity-ai","react","typescript"],"latest_commit_sha":null,"homepage":"https://goodplaygroundmap.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siropkin.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-21T17:17:00.000Z","updated_at":"2025-06-19T16:59:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"0419eebb-3cbc-42e9-b541-0c18b022e48c","html_url":"https://github.com/siropkin/ai-playground-map","commit_stats":null,"previous_names":["siropkin/playground-map","siropkin/ai-playground-map"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/siropkin/ai-playground-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siropkin%2Fai-playground-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siropkin%2Fai-playground-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siropkin%2Fai-playground-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siropkin%2Fai-playground-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siropkin","download_url":"https://codeload.github.com/siropkin/ai-playground-map/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siropkin%2Fai-playground-map/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261658588,"owners_count":23191088,"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","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":["ai","geolocation","google-maps-api","map","mapbox","nextjs","openstreetmap-data","osm","perplexity","perplexity-ai","react","typescript"],"created_at":"2025-06-24T11:06:52.125Z","updated_at":"2025-06-24T11:06:53.018Z","avatar_url":"https://github.com/siropkin.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/ivan.seredkin"],"categories":[],"sub_categories":[],"readme":"# 🛝 Good Playground Map\n\n![Good Playground Map](public/thumbnail_home.png)\n\n**Discover the perfect playground near you with an AI-powered map that transforms basic pins into rich, detailed profiles.**\n\nGood Playground Map isn't just another map app. It's a comprehensive discovery tool that leverages a revolutionary data pipeline:\n\n✨ **OpenStreetMap's global playground data** → **Google Maps address enrichment** → **Perplexity AI-powered playground research** → **Detailed, actionable playground profiles**\n\nThis intelligent combination of open data and AI automatically researches and presents detailed information about each playground, making your search for the perfect play spot easier and more informed.\n\n## 🤔 Why Good Playground Map?\n\nFinding a great playground can be time-consuming. Standard maps might show a pin, but they often lack crucial details: What equipment is there? Is it suitable for toddlers? Is parking available?\n\nGood Playground Map solves this by:\n*   **Automating Research:** No more manual searching across multiple websites.\n*   **Providing Rich Details:** Get AI-generated summaries, features, and potentially even user-uploaded photos.\n*   **Centralizing Information:** Everything you need to know in one place.\n\n## 💡 The Magic Behind It: Intelligent Data Enrichment\n\nWhat makes this app unique is its **intelligent data enrichment pipeline**:\n\n1.  **Discovery**: Pulls playground locations from OpenStreetMap's vast global database.\n2.  **Enrichment**: Uses the Google Maps Geocoding API to convert coordinates into precise, detailed addresses.\n3.  **AI-Powered Context**: Leverages Perplexity AI to automatically research and generate rich, descriptive information about each playground based on its location and name.\n\nThis process transforms simple map markers into comprehensive resources, offering a superior user experience.\n\n## ✨ Features\n\n*   **Intelligent Data Pipeline**:\n  *   OpenStreetMap integration for global playground discovery.\n  *   Google Maps geocoding for precise address information.\n  *   Perplexity AI for automated playground research and descriptions.\n*   **Interactive Exploration**:\n  *   Responsive Mapbox-powered map interface.\n  *   Searchable playground listings with filtering capabilities.\n  *   Detailed playground profiles with AI-generated info, (and eventually) photos and features.\n*   **[In The Future] Community Tools**:\n  *   Easily add missing playgrounds via a simple dialog.\n  *   Upload photos of playgrounds you visit.\n  *   Personal profile with \"My Playgrounds\" for saving favorites.\n\n## 🛠️ Tech Stack\n\n*   **Framework**: [Next.js](https://nextjs.org/)\n*   **UI**: [shadcn/ui](https://ui.shadcn.com/)\n*   **Maps**: [Mapbox](https://www.mapbox.com/)\n*   **Data Sources**:\n  *   [OpenStreetMap](https://www.openstreetmap.org/) (Playground locations)\n  *   [Google Maps Geocoding API](https://developers.google.com/maps/documentation/geocoding) (Address lookup)\n  *   [Perplexity AI](https://www.perplexity.ai/) (Information enhancement)\n*   **Backend \u0026 Auth**: [Supabase](https://supabase.com/) (Database, Storage, Authentication)\n*   **Deployment**: [Vercel](https://vercel.com/)\n*   **Package Manager**: [pnpm](https://pnpm.io/)\n\n## 🚀 Getting Started\n\nFollow these steps to set up the project locally:\n\n1. Clone the repository.\n2. Install dependencies:\n   ```bash \n    pnpm install\n   ```\n    \n3. Set up environment variables:\n    - Create a `.env.local` file in the root directory and add the following variables:\n      ```bash\n      # Secrets\n      NEXT_PUBLIC_SUPABASE_URL=your_supabase_url\n      NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your_mapbox_token\n      GOOGLE_MAPS_API_KEY=your_google_maps_api_key\n      PERPLEXITY_API_KEY=your_perplexity_api_key\n      \n      # OSM Config\n      OSM_QUERY_TIMEOUT=5\n      OSM_QUERY_LIMIT=10\n      \n      # Google Maps Config\n      GOOGLE_MAPS_NEARBYSEARCH_RADIUS=50\n      \n      # Perplexity Config\n      PERPLEXITY_MODEL=sonar-pro\n      PERPLEXITY_TEMPERATURE=0.17\n      PERPLEXITY_SEARCH_CONTEXT_SIZE=medium\n\n\n      # Cache Config\n      PERPLEXITY_CACHE_TTL_MS=31536000000\n      PERPLEXITY_INSIGHTS_CACHE_TABLE_NAME=perplexity_insights_cache\n      GOOGLE_MAPS_CACHE_TTL_MS=2592000000\n      GOOGLE_MAPS_PLACE_DETAILS_CACHE_TABLE_NAME=google_maps_place_details_cache\n      ```\n4. Run the app locally:\n   ```bash \n    pnpm dev\n   ```\n\n## Contributing\n\nFeel free to reach out if you want to contribute or have ideas:\n**ivan.seredkin@gmail.com**\n\n## 💰 Project Costs \u0026 Support\n\nTo run this project,\nI use the Perplexity AI API and Google Maps Geocoding API which cost me some money\n(~$0.02 for one playground research) which I pay out of my own pocket.\nIf you like the project and want it to keep running and improving, please consider supporting me with a coffee!\n\n## ☕ Buy Me A Coffee\n\n\u003ca href=\"https://buymeacoffee.com/ivan.seredkin\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\nYour support helps cover API costs and enables continued development of this free resource. Thank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiropkin%2Fai-playground-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiropkin%2Fai-playground-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiropkin%2Fai-playground-map/lists"}