| Crates.io | swiftlink |
| lib.rs | swiftlink |
| version | 0.0.2 |
| created_at | 2025-03-19 01:41:57.986985+00 |
| updated_at | 2025-03-19 12:47:39.744227+00 |
| description | Swiftlink is a fast, flexible URL shortener. With a simple API, it transforms long URLs into short, shareable links: shortening made simple! |
| homepage | |
| repository | https://github.com/walker84837/swiftlink |
| max_upload_size | |
| id | 1597562 |
| size | 88,646 |
Blazingly fast, memory-efficient and safe URL shortener to fit you.
Swiftlink is a URL shortener built with Rust and Actix. It enabled you to create short links from long URLs and provides a simple API for managing these links. The service uses PostgreSQL for database operations.
./swiftlink --config path/to/config.toml --log-level Info
The configuration file is in TOML format and should be placed wherever you want, given you specify the right path. We have an example can config file.
| Value | Description | Default |
|---|---|---|
code_size |
Length of the generated short link code | 6 |
port |
Port for the web server to listen on | 8080 |
username |
Database username | postgres |
password |
Database password | password |
host |
Database host | localhost |
port |
Database port | 5432 |
database |
Database name | swiftlink_db |
max_connections |
Maximum database connections | 5 |
Contributions are welcome! Please feel free to submit issues and pull requests.
Functionality:
Look and feel:
Documentation:
Dual-licensed under Apache v2 or MIT.