{"id":28956042,"url":"https://github.com/groda/locate-me-now","last_synced_at":"2025-06-23T20:32:34.318Z","repository":{"id":299619980,"uuid":"865432618","full_name":"groda/locate-me-now","owner":"groda","description":"Show your location on a map","archived":false,"fork":false,"pushed_at":"2025-06-17T12:27:43.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T13:24:17.645Z","etag":null,"topics":["glitch","leafletjs","location-services","openstreetmap"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/groda.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}},"created_at":"2024-09-30T14:20:02.000Z","updated_at":"2025-06-17T12:27:46.000Z","dependencies_parsed_at":"2025-06-17T13:24:20.678Z","dependency_job_id":"b7a7cb8d-2320-421c-b30a-d3185c4f2d9d","html_url":"https://github.com/groda/locate-me-now","commit_stats":null,"previous_names":["groda/locate-me-now"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/groda/locate-me-now","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groda%2Flocate-me-now","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groda%2Flocate-me-now/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groda%2Flocate-me-now/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groda%2Flocate-me-now/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/groda","download_url":"https://codeload.github.com/groda/locate-me-now/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groda%2Flocate-me-now/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261552382,"owners_count":23176147,"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":["glitch","leafletjs","location-services","openstreetmap"],"created_at":"2025-06-23T20:30:57.017Z","updated_at":"2025-06-23T20:32:34.296Z","avatar_url":"https://github.com/groda.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![locate-me-now](https://socialify.git.ci/groda/locate-me-now/image?custom_language=Node.js\u0026font=Source+Code+Pro\u0026language=1\u0026logo=https%3A%2F%2Fcdn.glitch.global%2F6c31fb7f-564c-4070-b8a2-6a84d079e5cd%2Fkoala-4373467_640.png%3Fv%3D1727655948257\u0026name=1\u0026owner=1\u0026pattern=Solid\u0026theme=Light)\n\n# 🚀 Where Am I?\n\nShow your current location on a map 🌍.\n\n## 🌐 Run on Glitch\n\nSimply click the link below to run the app on Glitch:\n\n[**Locate Me Now on Glitch**](https://locate-me-now.glitch.me/) 🚀\n\n\u003e **Note:** The app is hosted on **Glitch**, which will be shutting down its app hosting infrastructure soon. Please refer to the [announcement](https://blog.glitch.com/post/changes-are-coming-to-glitch/) for more details. In the future, I might need to consider migrating to another hosting platform. 💡\n\n## 💻 Run on Your Local Machine\n\nThis guide is for **Mac OS**. Follow these steps to run the app locally on your machine:\n\n1. **Download Node.js®**\n\n   Get Node.js from [here](https://nodejs.org/en/download/package-manager).\n   (For Mac, I recommend **v20.17.0 (LTS)** / macOS / using **nvm** for version management.)\n\n   Open your terminal and run the following commands:\n\n   ```bash\n   # Install nvm (Node Version Manager)\n   curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash\n\n   # Download and install Node.js (may require restarting the terminal)\n   nvm install 20\n\n   # Verify the correct version of Node.js\n   node -v # should output `v20.17.0`\n\n   # Verify the correct version of npm\n   npm -v # should output `10.8.2`\n   ```\n\n2. **(Optional) Use Specific Node Version**\n\n   Not sure if this is required, but if needed:\n\n   ```bash\n   nvm use 20.17.0\n   ```\n\n3. **Install Express**\n\n   To install the required dependencies:\n\n   ```bash\n   npm install express\n   ```\n\n4. **Clone the Repository**\n\n   Clone the repo to your local machine:\n\n   ```bash\n   git clone https://github.com/groda/locate-me-now.git\n   ```\n\n5. **Change Directory**\n\n   Navigate into the project directory:\n\n   ```bash\n   cd locate-me-now\n   ```\n\n6. **Start the App**\n\n   Run the app with the following command:\n\n   ```bash\n   node server.js\n   ```\n\n7. **Access the App**\n\n   Once the app starts, you should see a message like:\n   `Your app is listening on port 59257` (port number may vary).\n   Open [http://127.0.0.1:59257](http://127.0.0.1:59257) in your browser to view the app in action! 🌐\n\n## 🛰️ How It Works\n\nThe app uses the **Geolocation API** provided by modern browsers to determine your current location. It leverages the `getCurrentPosition()` function, which you can learn more about in the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition). This function retrieves the geographic location of your device, allowing the app to display your position on a map! 🌍📍\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroda%2Flocate-me-now","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgroda%2Flocate-me-now","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroda%2Flocate-me-now/lists"}