
bit
Fast, minimal self-hosted URL shortener with basic click analytics

bit is a fast, lightweight self-hosted URL shortener designed for minimal click tracking and low resource usage. It provides an API and CLI for creating and managing short links, supports multiple users via API keys, and ships as a small Docker image for easy deployment.
Key Features
- Minimal tracking: captures country, browser, OS, and referer without cookies or persistent client-side tracking
- X-Forwarded-For support for proxied client IPs
- API key authentication with multi-user support and CLI tooling for key creation and management
- Uses a simple SQLite database by default for storage and a small runtime footprint
- Small container image and low memory usage; optimized for high throughput and low latency
- Automatic updates for user-agent regexes and GeoIP (GeoLite2) database
- Simple, Rails-inspired project structure that is easy to extend
Use Cases
- Provide short links for internal tools or projects with lightweight click metrics
- Offer a programmatic short-link API for applications, webhooks, or marketing campaigns
- Replace third-party link shorteners to retain control over analytics and data
Limitations and Considerations
- Default SQLite storage is convenient but may limit horizontal scaling for very high write volumes or multi-node deployments
- Tracking is intentionally minimal; it does not provide advanced analytics, user-level tracking, or persistent cookies
- The project is maintained with a focus on stability and minimalism; new feature additions are limited by design
bit is suitable for teams and hobbyists who need a simple, performant URL shortener with basic analytics and easy deployment. It emphasizes low resource usage, straightforward configuration, and minimal operational complexity.
Categories:
Tags:
Tech Stack:
Similar Services

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.

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

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.
MicroBin
Secure pastebin for text and file sharing with URL shortening
MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.
Docker