- actions to release bun and node files arent configured yet
- image is not released on docker hub yet
- Backend for a URL-Shortner
- As a migration/fallback tool when moving websites
- As an endpoint for perma-urls
- KV_URL - The KV Connection URL
- PORT - The port to listen on
- PARAM_MODE - Changes from where the parameter is read
- BASE_DOMAIN - Basedomain (only needed if subdomain mode is used)
- INITIAL_SEEDING - If set to true, the seeds.json file in the root directory will be seeded upon startup.
path
uses the slug after the/
as redirection keysubdomain
uses the subdomain (beforeBASE_DOMAIN
) as redirection key (needsBASE_DOMAIN
variable)
- If no KV_URL is given,
redis://localhost:6379
will be used - If no PORT is given,
3000
will be used - If no PARAM_MODE is given,
path
will be used
- Add KV_URL=#YourReddisConnectionString# to your environment variables
Just start it after adding the environment variable.
Supported:
- node
- bun
- docker
- bun i - to install all project dependencies
- bun ball - to b(uild)all targets
- bun start - to start
- bun dev - to start while watching
Docker and Docker-Compose files are preconfigured, Docker-Compose uses dragonfly as KV-Store
- Webserver from
hono
- Redis compatible client from
@redis/client
- Fancy CLI spinners from
ora
- Fancy Console from
consola