rs-short logo

rs-short

Website

Minimal Rust link shortener with anti-phishing and anti-spam

Activity unknown

No repository statistics available for this project.

rs-short screenshot

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:

Share:

Similar to rs-short

Chhoto URL logo

Chhoto URL

Minimal, fast self-hosted URL shortener written in Rust

949
90
Last commit

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

MITActively maintained
Alternative to:
Bitly logo
Bitly
+12
Kutt logo

Kutt

Modern URL shortener with custom domains, stats, and an API

11.1k
1.5k
Last commit

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

MITActively maintained
Alternative to:
Bitly logo
Bitly
+11
Shlink logo

Shlink

Self-hosted URL shortener with REST API and CLI

5.2k
410
Last commit

PHP-based self-hosted URL shortener for your own domains, with REST API, CLI management, and visit analytics including anonymized stats and geolocation.

MITActively maintained
Alternative to:
Bitly logo
Bitly
+11
clink logo

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.

Activity unknown
Alternative to:
Bitly logo
Bitly
+14
Stalwart Mail Server logo

Stalwart Mail Server

All-in-one mail and collaboration server for modern and legacy protocols

14.4k
909
Last commit

All-in-one open-source mail and collaboration server with SMTP, IMAP, JMAP, CalDAV, CardDAV, and WebDAV, plus integrated anti-spam and phishing protection.

Actively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+19
SimpleLogin logo

SimpleLogin

Open-source email aliasing and forwarding service

7k
649
Last commit

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.

AGPL-3.0Actively maintained
Alternative to:
SimpleLogin logo
SimpleLogin
+3