Free and open-source self-hosted url shortener service written in Go.
Run in a terminal:
docker run -v curt-db:/data --name curt -p 19000:19000 -e PORT=19000 -e LOG_LEVEL=DEBUG -e X_API_KEY=your_X-API-Key -e HOST=http://localhost:19000 salvatoreemilio/curt:latest
Or use a docker-compose version
- With an API Client send a POST request with this body
remember to insert an API key in the header if you configured it in the env variable
{ "url":"url_to_shorten" }
- Response
{ "key": "generated_key", "curt": "http://localhost:19000/c/generated_key", "url": "url_to_shorten" }