mirror of
https://github.com/LukasDzenk/coordinate-distance-calculator.git
synced 2026-11-25 18:19:43 +00:00
No description
- TypeScript 96.6%
- CSS 1.9%
- JavaScript 0.8%
- Dockerfile 0.7%
Node 26 is the Active LTS line and ships no corepack, so the Docker build installs the pnpm version pinned in package.json's packageManager field with npm (the flyozo-web setup). .nvmrc, engines.node and the Dockerfile NODE_VERSION move together; @types/node follows where it was below 26. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|---|---|---|
| app | ||
| components | ||
| docker/app | ||
| lib | ||
| messages | ||
| public | ||
| .dockerignore | ||
| .gitignore | ||
| .nvmrc | ||
| d3-geo.d.ts | ||
| d3-selection.d.ts | ||
| d3-zoom.d.ts | ||
| eslint.config.mjs | ||
| next-env.d.ts | ||
| next.config.mjs | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| postcss.config.mjs | ||
| proxy.ts | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
Coordinate Distance Calculator (Next.js)
A modern coordinate visualizer and distance calculator with:
- Globe + map visualization
- Flat coordinate plane mode
- Multiple distance algorithms (Haversine, Vincenty, Equirectangular, Euclidean, Manhattan)
- Google Maps and DMS coordinate parsing
- Radius visualization around a point
- Unit conversion (m, km, mi, nmi, ft, blocks)
- Midpoint + initial bearing outputs
- i18n for top 20 languages
- SEO metadata, JSON-LD, robots, sitemap
Getting started
pnpm install
pnpm dev
Open http://localhost:3000
Before release
-
Production URL
Canonical URLs, sitemap, and Open Graph usehttps://coordinatedistance.lukasdzenk.comby default. Override withNEXT_PUBLIC_SITE_URLin.envif needed. -
Environment
Plausible loads only whenNEXT_PUBLIC_APP_ENV=production. If unset, no analytics script is injected (safe for local/staging). Optional overrides:NEXT_PUBLIC_PLAUSIBLE_DOMAIN— site domain fordata-domain(default:coordinatedistance.lukasdzenk.com)NEXT_PUBLIC_PLAUSIBLE_SCRIPT_URL— script/proxy origin (default:https://plausible-1.matcha-squad.xyz) The script is proxied via Next.js rewrites; outbound link clicks are tracked.
-
Icons
The app includesapp/icon.svg,app/apple-icon.tsx, andapp/opengraph-image.tsx. For legacy favicon support, addapp/favicon.ico(e.g. convert fromicon.svgvia a favicon generator).