{"id":26715545,"url":"https://github.com/bmmunga/location-web-server","last_synced_at":"2026-05-06T07:33:52.783Z","repository":{"id":281936846,"uuid":"822449970","full_name":"bmmunga/location-web-server","owner":"bmmunga","description":"This simple web server uses an in-memory data store and exposes an API endpoint that responds to GET requests.","archived":false,"fork":false,"pushed_at":"2024-07-02T13:27:35.000Z","size":4724,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T23:33:06.831Z","etag":null,"topics":["golang","json","restful-api","webserver"],"latest_commit_sha":null,"homepage":"https://location-web-server-production.up.railway.app/api/hello?visitor_name=","language":"Go","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/bmmunga.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":"2024-07-01T07:15:51.000Z","updated_at":"2024-07-05T15:10:30.000Z","dependencies_parsed_at":"2025-03-11T23:43:13.090Z","dependency_job_id":null,"html_url":"https://github.com/bmmunga/location-web-server","commit_stats":null,"previous_names":["bmmunga/location-web-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmmunga%2Flocation-web-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmmunga%2Flocation-web-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmmunga%2Flocation-web-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmmunga%2Flocation-web-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmmunga","download_url":"https://codeload.github.com/bmmunga/location-web-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245863374,"owners_count":20684839,"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":["golang","json","restful-api","webserver"],"created_at":"2025-03-27T14:33:08.752Z","updated_at":"2026-05-06T07:33:52.745Z","avatar_url":"https://github.com/bmmunga.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Location Web Server\n\nLocation-web-server is a simple web server that provides weather information and personalized greetings based on the client's IP address and location.\n\n## Features\n\n- Fetches client's IP address and geolocation.\n- Retrieves current weather data for the client's location.\n- Caches geolocation and weather data to reduce API calls.\n- Exposes an API endpoint for personalized greetings.\n\n## API Endpoint\n\n### GET `/api/hello`\n\n#### Query Parameters:\n- `visitor_name` (optional): The name of the visitor (default: \"Guest\").\n\n#### Response:\n```json\n{\n  \"client_ip\": \"127.0.0.1\",\n  \"location\": \"New York\",\n  \"greeting\": \"Hello, Mark!, the temperature is 11 degrees Celsius in New York\"\n}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmmunga%2Flocation-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmmunga%2Flocation-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmmunga%2Flocation-web-server/lists"}