Sink logo

Sink

Serverless link shortener with analytics on Cloudflare infrastructure

A fast, secure URL shortener with built-in analytics, running entirely on Cloudflare's serverless platform. Features custom slugs, AI-powered slug generation, and link expiration.

Sink banner

Overview

Overview

Sink is a serverless link shortener built to run entirely on Cloudflare's edge infrastructure, delivering speed, security, and zero server management. Designed for developers and teams who need reliable URL shortening without infrastructure overhead, Sink combines essential link management features with real-time analytics.

Core Capabilities

The platform offers URL compression with customizable slugs (including case-sensitive options), AI-powered slug generation, and configurable link expiration. Analytics are powered by Cloudflare Workers Analytics Engine, providing insights into link performance without third-party tracking dependencies. The serverless architecture ensures global edge deployment with minimal latency.

Technology & Ecosystem

Built with Nuxt and Vue, styled with Tailwind CSS and shadcn-vue components, Sink stores data in Cloudflare Workers KV. The project includes a browser extension (Sink Tool), Raycast extension, Apple Shortcuts integration, and an iOS app for cross-platform access. Deployment targets Cloudflare Workers or Pages, with API access and OpenAPI documentation for programmatic integration. Released under AGPL-3.0, the project welcomes contributions for enhanced link management, analytics improvements, and performance optimization.

Highlights

100% serverless deployment on Cloudflare edge network with Workers KV storage
Built-in analytics engine for link performance tracking without external dependencies
AI-powered slug generation and customizable case-sensitive short URLs
Cross-platform ecosystem: browser extension, Raycast, iOS app, and Apple Shortcuts

Pros

  • Zero server management with global edge deployment via Cloudflare
  • Integrated analytics without relying on third-party tracking services
  • Comprehensive API and OpenAPI documentation for programmatic access
  • Active ecosystem with mobile apps, browser extensions, and workflow integrations

Considerations

  • Tightly coupled to Cloudflare infrastructure; limited portability to other platforms
  • Enhanced link management features still in development (roadmap item)
  • Analytics filtering capabilities are currently limited (merge conditions pending)
  • AGPL-3.0 license requires derivative works to be open-sourced

Managed products teams compare with

When teams consider Sink, these hosted platforms usually appear on the same shortlist.

Bitly logo

Bitly

URL shortening and link management service for creating concise, trackable links with analytics

Cutt.ly logo

Cutt.ly

URL shortener with branded links, QR codes, and analytics

Rebrandly logo

Rebrandly

Branded URL shortener and link management

Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.

Fit guide

Great for

  • Teams already using Cloudflare infrastructure seeking integrated link management
  • Developers wanting self-hosted URL shortening with API access and analytics
  • Projects requiring serverless architecture with zero maintenance overhead
  • Users needing cross-platform access via mobile apps, extensions, and shortcuts

Not ideal when

  • Organizations requiring on-premise deployment or non-Cloudflare hosting
  • Teams needing advanced analytics with complex multi-condition filtering today
  • Projects that cannot comply with AGPL-3.0 copyleft licensing requirements
  • Users seeking enterprise features like team permissions or advanced link management

How teams use it

Marketing Campaign Tracking

Create branded short links for social media campaigns and monitor click-through rates with built-in analytics across multiple channels.

Developer Documentation Links

Generate memorable, case-sensitive slugs for API endpoints and documentation, with expiration dates for versioned resources.

Team Workflow Automation

Integrate link shortening into Raycast, iOS Shortcuts, or browser workflows via API for rapid URL generation during content creation.

Event Registration Pages

Deploy time-limited short URLs for event registrations that automatically expire after the event concludes, reducing link sprawl.

Tech snapshot

Vue78%
TypeScript20%
CSS1%
JavaScript1%

Tags

analyticsnuxthubnuxtbitly-alternativehacktoberfestweb-analyticsshadcn-uilink-shortenertailwindcssurl-shortenercloudflare

Frequently asked questions

Does Sink require a Cloudflare account?

Yes, Sink runs entirely on Cloudflare infrastructure. You'll need a Cloudflare account to deploy to Workers or Pages, and access to Workers KV and Analytics Engine.

Can I use my own custom domain?

Yes, Sink supports custom domains through Cloudflare's domain management. Configure your domain in the deployment settings to use branded short links.

How does the AI slug generation work?

The AI slug feature generates contextual short URLs based on the destination page content or metadata, creating more memorable and descriptive slugs automatically.

Is there a limit to how many links I can create?

Limits depend on your Cloudflare Workers KV plan. The free tier supports substantial usage, while paid plans offer higher quotas for storage and requests.

Can I export analytics data?

Analytics are stored in Cloudflare Workers Analytics Engine. You can access data through the dashboard or API; export capabilities depend on your implementation and Cloudflare plan features.

Project at a glance

Active
Stars
6,141
Watchers
6,141
Forks
4,126
LicenseAGPL-3.0
Repo age1 year old
Last commit2 days ago
Self-hostingSupported
Primary languageVue

Last synced 4 hours ago