url-redirect

Crates.iourl-redirect
lib.rsurl-redirect
version0.3.0
created_at2025-07-23 23:20:07.474706+00
updated_at2025-07-23 23:20:07.474706+00
description`url-redirect` is a trivial, headless URL redirection service
homepage
repositoryhttps://github.com/KizzyCode/UrlRedirect-rust
max_upload_size
id1765363
size25,566
Keziah Biermann (KizzyCode)

documentation

README

License BSD-2-Clause License MIT AppVeyor CI

url-redirect

Welcome to url-redirect 🎉

url-redirect is a trivial, headless URL redirection service.

Quickstart

To start the server, simply run url-redirect. By default, url-redirect expects config.toml and db.toml. You can override this behavior by exporting CONFIG_FILE=/path/to/config.toml respective DB_FILE=/path/to/db.toml into the environment.

config.toml

[server]
# The address to listen on
address = "0.0.0.0:8088"

# The connection hart limit; i.e. the amount of threads to spawn at max to process incoming connections
# This field is optional, the default value is 2048
#connection_limit = 2048

db.toml

# The redirect database
# Please note: All redirect paths must start with a leading `/`, like in the example

[redirects]
"/testolope" = "https://example.com"
Commit count: 0

cargo fmt