Overview
mjr.wtf is a small URL shortener written in Go, using SQLite for persistence.
Quick Look
Section titled “Quick Look”
Manage your short URLs right from the terminal with an intuitive TUI.
Quick Start (Docker Compose)
Section titled “Quick Start (Docker Compose)”git clone https://github.com/matt-riley/mjrwtf.gitcd mjrwtf
cp .env.example .env# Edit .env and set AUTH_TOKENS (preferred) or AUTH_TOKEN (legacy)mkdir -p datamake docker-compose-upcurl http://localhost:8080/healthDocker Compose runs migrations automatically on startup via docker-entrypoint.sh.
How to use these docs
Section titled “How to use these docs”- Start with Local development to run the server directly.
- Use Docker / Docker Compose for container-based runs.
- Use API for the OpenAPI spec and endpoint details.