# miantiao-me/sink

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/miantiao-me-sink).**

6,345 stars · 4,271 forks · Vue · agpl-3.0

## Links

- GitHub: https://github.com/miantiao-me/Sink
- Homepage: https://Sink.Cool
- awesome-repositories: https://awesome-repositories.com/repository/miantiao-me-sink.md

## Topics

`analytics` `bitly-alternative` `cloudflare` `hacktoberfest` `link-shortener` `nuxt` `nuxthub` `shadcn-ui` `tailwindcss` `url-shortener` `web-analytics`

## Description

Sink is a self-hosted link management platform that combines URL shortening with click analytics and geographic tracking. It provides a deployable system for creating, editing, and organizing short links, with built-in tools for measuring engagement through real-time click event collection and visitor location data.

The platform distinguishes itself through AI-powered slug generation that produces human-readable short link identifiers by analyzing target page content, replacing random string generation. It supports geo-aware request routing that redirects visitors to different destinations based on their country or region, along with device-based routing and password-protected link gates that intercept requests with a challenge page before allowing redirects. Duplicate URL detection scans batches of target URLs against existing records to prevent creating multiple short links for the same destination.

Additional capabilities include bulk JSON import and export for migrating link records, on-demand QR code generation that caches results for repeated requests, and configurable link access controls with expiration dates and warning pages. The platform stores short link metadata and analytics in a local SQLite database for zero-configuration persistence.

## Tags

### Part of an Awesome List

- [Link and URL Management](https://awesome-repositories.com/f/awesome-lists/devtools/link-and-url-management.md) — Creates and manages short URLs with custom slugs, expiration, passwords, and geo-routing for sharing and tracking.
- [Analytics And Tracking](https://awesome-repositories.com/f/awesome-lists/devtools/analytics-and-tracking.md) — Tracks click events, geographic data, and real-time interactions for each short link to measure engagement.
- [Link Management And Routing](https://awesome-repositories.com/f/awesome-lists/devtools/link-management-and-routing.md) — Creates new short URLs with custom slugs, expiration, passwords, geo-routing, and preview metadata. ([source](https://sink.cool/_docs/openapi.json))
- [Short Link Editors](https://awesome-repositories.com/f/awesome-lists/devtools/link-management-and-routing/short-link-editors.md) — Updates existing short links' target URL, slug, expiration, password, geo-routing, or preview metadata. ([source](https://sink.cool/_docs/openapi.json))

### DevOps & Infrastructure

- [Self-Hosted Link Managers](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-infrastructure/self-hosted-link-managers.md) — A deployable platform for creating, editing, and organizing short links with bulk import/export and duplicate detection.

### Networking & Communication

- [Edge Redirect Engines](https://awesome-repositories.com/f/networking-communication/request-proxies/edge-proxies/edge-redirect-engines.md) — Redirects requests at the network edge using serverless functions for low-latency link resolution.
- [URL Shorteners](https://awesome-repositories.com/f/networking-communication/url-shorteners.md) — Compresses long URLs into minimal short links for easier sharing and tracking. ([source](https://cdn.jsdelivr.net/gh/miantiao-me/sink@master/README.md))
- [Geo-Aware Redirectors](https://awesome-repositories.com/f/networking-communication/geo-filtering-databases/geo-aware-redirectors.md) — Resolves visitor location from IP headers to redirect to different destinations based on country or region.

### User Interface & Experience

- [Click Trackers](https://awesome-repositories.com/f/user-interface-experience/links/click-trackers.md) — Tracks click events and geographic data for each short link to measure engagement. ([source](https://cdn.jsdelivr.net/gh/miantiao-me/sink@master/README.md))
- [AI-Powered Slug Generators](https://awesome-repositories.com/f/user-interface-experience/links/automatic-link-generation/ai-powered-slug-generators.md) — Generates human-readable short link slugs and OpenGraph metadata automatically by analyzing target page content. ([source](https://cdn.jsdelivr.net/gh/miantiao-me/sink@master/README.md))

### Web Development

- [URL Shorteners](https://awesome-repositories.com/f/web-development/url-shorteners.md) — Shortens long URLs into compact links with built-in click tracking and geographic analytics.
- [AI-Powered](https://awesome-repositories.com/f/web-development/url-generators/slug-generators/ai-powered.md) — Uses artificial intelligence to automatically generate human-readable slugs and OpenGraph metadata from target page content. ([source](https://sink.cool/_docs/openapi.json))
- [Custom Slug Configurations](https://awesome-repositories.com/f/web-development/url-generators/slug-generators/custom-slug-configurations.md) — Allows setting personalized slugs, UTM parameters, and case-sensitive identifiers for short URLs. ([source](https://cdn.jsdelivr.net/gh/miantiao-me/sink@master/README.md))
- [Device-Based Redirection](https://awesome-repositories.com/f/web-development/url-routing/redirection-rules/device-based-redirection.md) — Redirects visitors to different destinations based on their country or device type with optional password protection.
- [Device and Country Routers](https://awesome-repositories.com/f/web-development/url-routing/redirection-rules/device-based-redirection/device-and-country-routers.md) — Redirects users to different destinations based on their device type or geographic location. ([source](https://cdn.jsdelivr.net/gh/miantiao-me/sink@master/README.md))

### Security & Cryptography

- [Short Link Access Restrictions](https://awesome-repositories.com/f/security-cryptography/domain-access-restrictions/request-access-restrictions/password-access-restrictions/short-link-access-restrictions.md) — Adds expiration dates, password protection, or warning pages to control who can use a short link. ([source](https://cdn.jsdelivr.net/gh/miantiao-me/sink@master/README.md))
- [Link Protection](https://awesome-repositories.com/f/security-cryptography/password-management/link-protection.md) — Intercepts requests to protected links and serves a challenge page before allowing the redirect.
