clink logo

clink

Website

Minimal URL shortener in C using the Mongoose web server

Activity unknown

No repository statistics available for this project.

clink screenshot

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:

Share:

Similar to clink

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
rs-short logo

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.

Activity unknown
Alternative to:
Bitly logo
Bitly
+11
pacebin logo

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.

Activity unknown
Alternative to:
Pastebin logo
Pastebin
+4
Dub logo

Dub

Open-source link attribution platform for short links and conversions

24.6k
3.3k
Last commit

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

Actively maintained
Alternative to:
Bitly logo
Bitly
+9
YOURLS logo

YOURLS

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

12.2k
2.1k
Last commit

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

MITActively maintained
Alternative to:
Bitly logo
Bitly
+14
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