unsubbed.co

bit

Released under MIT, bit provides fast, lightweight, resource-efficient, compiled URL shortener on self-hosted infrastructure.

Overview

Fast, lightweight, self-hosted URL shortener service with minimal click tracking

Key Features

Source: GitHub README

  • Minimal tracking setup: Country, browser, OS, referer. No cookies or persistent tracking mechanisms are used beyond what’s available from a basic client’s request.
  • Includes X-Forwarded-For header.
  • Multiple users are supported via API key authentication. Create, list and delete keys via the CLI.
  • Easy to extend, Ruby on Rails inspired setup.
  • Auto update UA regexes and GeoLite2 database.

Getting Started

Source: GitHub README

docker run \
    --name bit \
    -p 4000:4000 \
    -e ENV="production" \
    -e DATABASE_URL="sqlite3://./sqlite/data.db" \
    -e APP_URL="http://localhost:4000" \
    -e ADMIN_NAME="Admin" \
    -e ADMIN_API_KEY=$(openssl rand -base64 32) \
    sjdonado/bit

## Normalized Features

*Source: tool-features-normalized.json*

api keys, docker, docker compose, rest api, sqlite.

<DeploymentOptions slug={frontmatter.slug} />

Features

Authentication & Access

  • API Key Authentication

Integrations & APIs

  • REST API