rs-short
Minimal Rust link shortener with anti-phishing and anti-spam
Activity unknown
No repository statistics available for this project.

rs-short is a minimal, lightweight link shortener written in Rust. It focuses on low resource usage, simple templated server-side rendering, and built-in protections against spam and phishing.
Key Features
- Server-side rendered UI using Askama templates (no JavaScript required)
- Supports SQLite and optional PostgreSQL or MySQL backends
- Robust caching to keep serving content during database locks
- Built-in captcha to reduce automated spam submissions
- Phishing and suspicious-link detection, plus regex-based URL blocking with a default blocklist
- Click counting, user-initiated link deletion, and the ability to flag links as phishing
- Localization support (multiple languages) and light/dark themes
- Privacy-oriented design: no tracking features and user IPs are not stored in the database
Use Cases
- Self-hosted short links for organizations, communities, or personal use
- Safer public URL shortener with basic anti-spam and anti-phishing controls
- Low-resource URL shortening for small servers and homelab environments
Limitations and Considerations
- The built-in captcha is intentionally minimal and may not be sufficient for all high-abuse environments.
- SQLite is supported, but deployments with higher write concurrency may prefer PostgreSQL or MySQL.
rs-short is a good fit when you want a straightforward URL shortener that is fast, memory-efficient, and designed with privacy and abuse resistance in mind. Its small codebase and server-side templates make it easy to audit and customize for simple deployments.
Categories:
Tags:
Tech Stack:
Similar to rs-short

Chhoto URL
Minimal, fast self-hosted URL shortener written in Rust
Chhoto URL is a lightweight, high-performance self-hosted URL shortener in Rust, focused on simplicity, speed, and minimal features.

Kutt
Modern URL shortener with custom domains, stats, and an API
Open-source, self-hostable URL shortener with custom domains, link management, private analytics, and a REST API.

Shlink
Self-hosted URL shortener with REST API and CLI
PHP-based self-hosted URL shortener for your own domains, with REST API, CLI management, and visit analytics including anonymized stats and geolocation.
clink
Minimal URL shortener in C using the Mongoose web server
clink is a dead-simple, ultra-minimal URL shortener written in C with a tiny footprint, designed for easy self-hosting behind NGINX and systemd.

Stalwart Mail Server
All-in-one mail and collaboration server for modern and legacy protocols
All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

SimpleLogin
Open-source email aliasing and forwarding service
SimpleLogin is an open-source email alias service that lets you create aliases to protect your real inbox, forward mail, and reply or send from aliases using custom domains.

