Ferris will make brain-sized short-URLs from your giant URLs!
urlclaw can be run by simply running cargo run
in this repository, or using the provided Dockerfile.
Currently, urlclaw needs a Postgres database for storing short-URLs. See Configuration.
All configuration is done via environment variables:
PORT
: Port to listen on for incoming http requests, defaults to80
.BIND_ADDR
: Address to bind to. Defaults to127.0.0.1
.DATABASE_URL
: Database to connect to. Currently, only Postgres is supported. See sqlx documentation.
urlclaw is licensed under the Apache 2.0 license.