Bit

Bit is a self-hosted link shortener with minimal, cookie-free click analytics.

  • Web & Publishing
Bit is a self-hosted link shortener with minimal, cookie-free click analytics. It tracks country, browser, OS, and referer per link, supports multiple users via API key authentication, and stays extremely lightweight. It's aimed at homelabbers and site owners who want simple link shortening and click stats without heavy dependencies or invasive tracking.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

67/100 Good

Maintained
82last commit 52 days ago
Popular
41114 GitHub stars
Easy to install
251 install platform, install notes
Light to run
10032 MB minimum RAM
Security check
85no serious findings, CI

Availability: platform listings confirmed today

GitHub stars
114
Open issues
1
Last commit
2026-10-04
Latest release
1.7.0
License
MIT
Activity
stale

Checked today - source: GitHub (sjdonado/bit)

Resources & Compatibility

Minimum requirements: 32 MB RAM.

Checked today - source: Docker Hub image tags and published docs

First-install notes

  • Install Bit with one command Run 'npx @teambit/bvm install' to install Bit and put it on your PATH so you can run 'bit' commands anywhere. Without this, your terminal won't recognize any bit commands. source
  • Fetch your project's dependencies Run 'bit install' in your workspace to download all dependencies and link them into node_modules. Skipping this causes missing-module or missing-plugin errors when you build or run components. source
  • Start the dev server to see the UI Run 'bit start' to launch the development server and open the Workspace UI, where you can browse and develop your components. Until you do this, you're working blind from the command line only. source
  • Run Bit with Docker Bit is distributed as a Docker image (sjdonado/bit) under 20 MiB in size, using about 32 MiB of memory with all clicks recorded. GeoIP and browser user-agent databases auto-update themselves, and API keys for multiple users can be managed via the CLI as described in the repo's docs/SETUP.md. source

Fetched today - each note links to its source

Alternatives (8)

  • Foam - Foam is a personal knowledge management and sharing system inspired by Roam Research, built on Visual Studio Code and GitHub.
  • Gardenjs
  • Google Docs
  • Lerna
  • Microsoft Word - Widely-used word processor offering extensive document editing tools, SmartArt, PDF support, and integrated search features on multiple pla…
  • Nx
  • Replit - In-browser IDE supporting 50+ languages with an AI assistant, real-time collaboration, Git support, hosting, deployment, and live code shar…
  • storybook - Storybook is a free, open source frontend workshop for developing, testing, and documenting user interface (UI) components and pages in iso…

Checked today - source: AlternativeTo

Common questions

How do I create additional users in Bit?

Use the CLI inside the running container, for example: docker exec -it bit cli --create-user=Admin (or docker-compose exec it app cli --create-user=Admin). Keys can be created, listed and deleted via the CLI as documented in docs/SETUP.md.

Which environment variables do I need to set when running Bit?

The required ones are ENV (production), DATABASE_URL, APP_URL, ADMIN_NAME, and ADMIN_API_KEY, which is typically generated with openssl rand -base64 32. Bit listens on port 4000, which you map with -p 4000:4000.

How do I persist the SQLite database on Dokku?

Create and mount a persistent storage directory, e.g. dokku storage:ensure-directory bit-sqlite then dokku storage:mount bit /var/lib/dokku/data/storage/bit-sqlite:/usr/src/app/sqlite/, and set DATABASE_URL to sqlite3://./sqlite/data.db.

Does Bit work behind a reverse proxy with HTTPS?

Yes. On Dokku you can set your domain with dokku domains:set, enable Let's Encrypt, and add port mappings http:80:4000 and https:443:4000. Bit also forwards X-Forwarded-For and User-Agent headers on redirects, so client IPs are preserved.

How is Bit's GeoIP and user-agent data kept up to date?

Bit automatically updates both the UA regexes and the GeoLite2 database, so no manual refresh of those datasets is needed.

Answers sourced from github.com

Community

Collected today - public community threads