
bit
Fast, minimal self-hosted URL shortener with basic click analytics
105 stars 8 forks last commit first released MIT
Actively maintained
Last commit 8 Aug 2026.

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 to bit

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.

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.

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.

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.

Apache Superset
Data exploration, visualization, and dashboarding platform
Apache Superset is an open-source BI platform for SQL-based data exploration, interactive dashboards, and rich visualizations with a no-code chart builder and SQL editor.
