forked from comaps/url-processor
Handles specific HTTP requests to comaps.app domain
- HTML 64.1%
- TypeScript 31.9%
- JavaScript 4%
|
zyphlar
e2540ca370
License under AGPL ( #47 )
Signed-off-by: zyphlar <zyphlar@noreply.codeberg.org> Reviewed-on: comaps/url-processor#47 Reviewed-by: jeanbaptisteC <jeanbaptistec@noreply.codeberg.org> |
||
|---|---|---|
| .forgejo/workflows | [API] Rebrand url-processor repository | |
| public | License under AGPL ( #47 ) | |
| src | Update AppStore URL | |
| workers-site | Initial commit | |
| .gitignore | update gitignore | |
| .nvmrc | bump compat_date and nvmrc | |
| .prettierrc | Initial commit | |
| agpl-3.0.txt | License under AGPL ( #47 ) | |
| eslint.config.mjs | Migrate to a new eslint | |
| LICENSE | License under AGPL ( #47 ) | |
| metadata.json | Initial commit | |
| package-lock.json | Update NPM dependencies ( #35 ) | |
| package.json | Update NPM dependencies ( #35 ) | |
| README.md | License under AGPL ( #47 ) | |
| tsconfig.json | Migrate to wrangler v2 | |
| wrangler.toml | Add invocation_logs directive | |
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.