| Crates.io | url-redirect |
| lib.rs | url-redirect |
| version | 0.3.0 |
| created_at | 2025-07-23 23:20:07.474706+00 |
| updated_at | 2025-07-23 23:20:07.474706+00 |
| description | `url-redirect` is a trivial, headless URL redirection service |
| homepage | |
| repository | https://github.com/KizzyCode/UrlRedirect-rust |
| max_upload_size | |
| id | 1765363 |
| size | 25,566 |
url-redirectWelcome to url-redirect 🎉
url-redirect is a trivial, headless URL redirection service.
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"