butla is a simple URL shortening service written in Go, built in Docker. It is made for speed and nothing else.
- ❌ No UI
- ❌ No GUI
- ❌ No CLI
- ❌ No API
- ❌ No volume mounts
- ❌ No container networking
- ❌ No database
- ✅ Simple in-memory configuration
- ✅ Stupid simple
- ✅ Stupid fast
-
Create a
config.yaml
file (seeconfig.example.yaml
) -
Run with Docker:
docker run -p 8080:8080 -v $(pwd)/config.yaml:/app/config.yaml ghcr.io/dbut2/butla
-
Or use Docker Compose:
services: butla: image: ghcr.io/dbut2/butla ports: - "8080:8080" volumes: - ./config.yaml:/app/config.yaml
For a given request to {DOMAIN}/{PATH}, the first item in this list found in the config will be returned with a temporary redirect (307):
- {DOMAIN}/{PATH}
- default/{PATH}
- {DOMAIN}/default
- default/default