Provides a map location sharing webpage for comaps.at
- HTML 64.1%
- TypeScript 31.9%
- JavaScript 4%
Signed-off-by: zyphlar <zyphlar@noreply.codeberg.org> Reviewed-on: #47 Reviewed-by: jeanbaptisteC <jeanbaptistec@noreply.codeberg.org> |
||
|---|---|---|
| .forgejo/workflows | ||
| public | ||
| src | ||
| workers-site | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierrc | ||
| agpl-3.0.txt | ||
| eslint.config.mjs | ||
| LICENSE | ||
| metadata.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| wrangler.toml | ||
Static resources and short links (ge0) decoder for CoMaps
The root domain redirects to https://comaps.app/.
URLs like http(s)://comaps.at/ENCODEDCOORDINATES/PINNAME are decoded to lat, lon and zoom level. Then the OSM
map is displayed and url schemes are opened on mobile apps.
For example: https://comaps.at/B4srhdHVVt/Some+Name
Requirements
Install CloudFlare's wrangler and other dev dependencies using npm:
npm i
Development
Use npx wrangler dev for localhost development.
Deployment
Currently, any commit to Codeberg is mirrored to github.com/zyphlar/url-processor and picked up via a Cloudflare-Github integration hook.
Deprecated, consider reactivating
Deploy to prod manually using npx wrangler publish --env comaps or this
action.
LICENSE
See the LICENSE file.