Skip to content

markus-k/urlclaw

Repository files navigation

urlclaw – a URL-shortening service written in Rust 🦀

Ferris will make brain-sized short-URLs from your giant URLs!

Running

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.

Configuration

All configuration is done via environment variables:

  • PORT: Port to listen on for incoming http requests, defaults to 80.
  • BIND_ADDR: Address to bind to. Defaults to 127.0.0.1.
  • DATABASE_URL: Database to connect to. Currently, only Postgres is supported. See sqlx documentation.

License

urlclaw is licensed under the Apache 2.0 license.

About

A URL shortening service written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages