clink
Minimal URL shortener in C using the Mongoose web server
Activity unknown
No repository statistics available for this project.

clink is a super-minimal URL shortener written in C, built to be fast and small while staying easy to deploy. It uses the embedded Mongoose web server and is typically run behind a reverse proxy for HTTPS.
Key Features
- Very small binary size and low resource usage
- Embedded HTTP server via Mongoose (no heavy external runtime)
- Supports query-string based creation (useful for integrations that expect it)
- URL decoding support for encoded URLs
- Per-link deletion keys generated from a server-side seed
- Optional provided systemd unit and NGINX reverse-proxy configuration
- Includes a companion CLI utility (clinkctl) for administration
Use Cases
- Self-hosted link shortener for a personal domain or organization
- Short links for tools that require query-string based submission
- Lightweight redirect service for homelabs or internal networks
Limitations and Considerations
- No built-in blacklists/word filters for destinations or short codes
- HTTPS is expected to be handled by a reverse proxy (for example, NGINX)
clink is a good fit when you want a straightforward, no-frills shortener with minimal dependencies. Its tiny footprint and simple operational model make it especially attractive for small servers and homelabs.
Categories:
Tags:
Tech Stack:
Similar to clink

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.
rs-short
Minimal Rust link shortener with anti-phishing and anti-spam
Lightweight Rust link shortener with templates, captcha anti-spam, phishing detection, click counting, and SQLite/PostgreSQL/MySQL support.
pacebin
Minimal filesystem-backed pastebin and file host
pacebin is a lightweight, self-hostable pastebin and simple file hosting service with basic POST/GET APIs, filesystem storage, custom short links, and paste deletion keys.

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

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

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.

