rs-short

rs-short

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

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 Services

Dub

Dub

Open-source link attribution platform for short links and conversions

22.9k
2.8k
Last commit: 17h ago

Dub is an open-source link attribution platform for branded short links, real-time analytics, conversion tracking, webhooks, and affiliate/referral programs.

Alternative to:
Bitly
Bitly
+9
YOURLS

YOURLS

Self-hosted URL shortener with analytics, API, and plugins

11.8k
2.1k
Last commit: 5d ago

YOURLS is a self-hosted PHP URL shortener with custom short links, a developer API, detailed click analytics, and an extensible plugin architecture.

Alternative to:
Bitly
Bitly
+14
Kutt

Kutt

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

10.5k
1.4k
Last commit: 1mo ago

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

Alternative to:
Bitly
Bitly
+11
Sink

Sink

Link shortener with analytics running on Cloudflare

6.1k
4.1k
Last commit: 1mo ago

Sink is a fast, secure link shortener with built-in analytics, custom slugs, link expiration, and serverless deployment on Cloudflare Workers or Pages.

Alternative to:
Bitly
Bitly
+11
Shlink

Shlink

Self-hosted URL shortener with REST API and CLI

4.6k
370
Last commit: 8d ago

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

Alternative to:
Bitly
Bitly
+11
MicroBin

MicroBin

Secure pastebin for text and file sharing with URL shortening

4k
257
Last commit: 4d ago

MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

Alternative to:
Pastebin
Pastebin
+17