# Rs-short

Rs-short is a minimal, lightweight link shortener written in Rust for self-hosters who want a fast, private, resource-efficient URL shortening service with built-in spam protection and zero tracking.

Canonical page: https://ourlocalhost.com/app/8726/rs-short

## Description

Rs-short is a minimal, lightweight link shortener written in Rust for self-hosters who want a fast, private, resource-efficient URL shortening service with built-in spam protection and zero tracking.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

43/100 (Fair), based on 4 of 4 factors.
- Maintained: 58 (last commit 171 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Light to run: 100 (20 MB minimum RAM)

## Links

- Official website: https://git.42l.fr/42l/rs-short
- Documentation: https://git.42l.fr/lacontrevoie/rs-short/wiki
- GitHub: https://github.com/lacontrevoie/rs-short

## Common questions

### How do I prepare rs-short for production without using the default configuration values?

Copy config.toml.sample to config.toml and replace the default cookie_key and phishing_password values. You should also adjust lists.toml and any assets or hoster details you want to personalize.

### How can I run rs-short on PostgreSQL or MySQL instead of SQLite?

Use cargo run --release --no-default-features --features postgres for PostgreSQL, or --features mysql for MySQL. SQLite is the default, but it should not be used in production.

### Where should self-hosters look for nginx and systemd setup examples?

Use the project wiki page for Integration with nginx / systemd.

### What anti-spam protections are built into rs-short?

It includes a captcha with customizable difficulty, blocks URLs with regex blocklists, and can be paired with fail2ban by watching reverse-proxy logs for 403 Forbidden responses.

### Does rs-short track visitors or store their IP addresses?

No, it has no tracking features and does not save user IPs in the database.

## Alternatives

- Akari Link Shortener: Anime-themed URL shortener.
- Shlink: A self-hosted URL shortener application that lets you create and manage shortened links under your own domain, with both command-line and R…
- Shorte.st: Use shorte.st link shortener to make money online.
- TinyURL: Converts long URLs into short, secure links, supports branded domains, bulk shortening via API, link analytics, QR code generation, and das…
- YOURLS: YOURLS is a free, open-source self-hosted URL shortener that lets you create shortened links on your own server, with analytics, plugins, a…
- adf.ly: Earn money for each visitor to your shortened links with adf.ly!
- bit.ly: Shortens URLs, generates customizable QR codes, tracks clicks, offers branded domains, bulk management, analytics, browser extension, and A…

---
Source: Our Local Host (https://ourlocalhost.com/app/8726/rs-short), the self-hosted and open-source app directory.
