{"id":23773341,"url":"https://github.com/jnwelzel/distance-from-x","last_synced_at":"2026-04-12T13:10:59.655Z","repository":{"id":241551136,"uuid":"806946763","full_name":"jnwelzel/distance-from-x","owner":"jnwelzel","description":"Calculate the distance between two geographic points.","archived":false,"fork":false,"pushed_at":"2024-06-17T08:54:28.000Z","size":1150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-16T20:32:39.322Z","etag":null,"topics":["fetch-api","geocode","react","react-hooks","react-reducer","storybook","tailwindcss","typescript","vite","vitest"],"latest_commit_sha":null,"homepage":"https://jnwelzel.github.io/distance-from-x/","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/jnwelzel.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-05-28T07:51:40.000Z","updated_at":"2024-06-17T09:41:16.000Z","dependencies_parsed_at":"2025-01-01T05:39:23.457Z","dependency_job_id":"57650de3-4561-440e-b081-84e2f1d44b40","html_url":"https://github.com/jnwelzel/distance-from-x","commit_stats":null,"previous_names":["jnwelzel/distance-from-x"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnwelzel%2Fdistance-from-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnwelzel%2Fdistance-from-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnwelzel%2Fdistance-from-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnwelzel%2Fdistance-from-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jnwelzel","download_url":"https://codeload.github.com/jnwelzel/distance-from-x/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239960624,"owners_count":19725347,"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":["fetch-api","geocode","react","react-hooks","react-reducer","storybook","tailwindcss","typescript","vite","vitest"],"created_at":"2025-01-01T05:39:20.547Z","updated_at":"2026-04-03T01:30:17.915Z","avatar_url":"https://github.com/jnwelzel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# distance-from-x\n\nThis is a simple SPA for calculating the distance between two geograpich points (Point A and Point B) in a straight line.\nThis can be achieved in three ways:\n\n- by directly typing the coordinates into the fields for both points\n- searching for a place using the search fields\n- using the browser's geolocation\n\nOnce the coordinates are in place the user can then calculate the distance. If any errors (validation, Google API) occur, the user is also notified.\n\n# Storybook\n\n[Chromatic](https://www.chromatic.com/library?appId=666fe71a68e95a40107cd295)\n\n# TODOs\n\n- [x] Refactor state -\u003e `useReducer()`\n- [x] Update search input with geocoding from browser's coords\n- [ ] Add Playwright e2e tests\n- [ ] Autocomplete keyboard support\n- [ ] Copy coordinates to clipboard\n- [ ] Review ESLint/Prettier rules\n  - [ ] console.log\n  - [ ] line columns size\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnwelzel%2Fdistance-from-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnwelzel%2Fdistance-from-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnwelzel%2Fdistance-from-x/lists"}