Sink: what it is, how it works & who it's for

AGPL-3.0 link shortener with analytics running on Cloudflare

Updated · Pricing checked December 2026

What is Sink?

Sink is an open source link shortener released under the AGPL-3.0 license and built to run entirely on Cloudflare. It provides custom slugs, link analytics, expiration, password protection, device and country routing, QR codes, and import and export tools for links and analytics data. Optional Cloudflare Workers AI can help generate slugs and social preview metadata, while the core job remains fast redirects with measurement.

Because Sink runs on Cloudflare Workers and related services, there is no traditional server to patch, but deployment still requires a Cloudflare account, configuration, domain setup and attention to usage limits and costs. The project is aimed at individuals and small teams, and its materials direct business needs such as managed service, multi-user support and service levels toward a separate hosted product. Sink suits Cloudflare users who want serverless link infrastructure with code they can inspect.

Sink rewards operators who already understand Cloudflare accounts, Workers, storage bindings and domain routing. Before relying on it for printed codes, test redirects from several networks, confirm analytics events arrive as expected, and export a backup of link records. Usage should be monitored as traffic grows, because serverless convenience can hide cost and limit changes until a campaign succeeds. Access to the Cloudflare account should be limited and documented, since that account controls the short domain, configuration and data services behind every published link.

Sink at a glance

Sink infographic: how it works in 4 steps, key features, pricing model and who it is best for
Sink at a glance. Share or embed this infographic with a link to this page.

How does Sink work?

  1. Deploy to Cloudflare

    Fork or deploy the project to Cloudflare Workers and configure storage and analytics services.

  2. Connect a domain

    Attach a short domain you control and confirm redirects resolve over HTTPS.

  3. Create links

    Add custom slugs, expiry, passwords or routing rules for each destination.

  4. Review analytics

    Check click data and export links or analytics when you need records.

Sink key features

Cloudflare hosting

Runs on Cloudflare Workers and related services without a traditional server.

Link analytics

Track clicks with geographic, referrer and device breakdowns.

Routing rules

Send visitors by device or country from a single short link.

Passwords and expiry

Protect links and set expiration for time-limited sharing.

QR codes

Generate codes for printed materials from managed short links.

Import and export

Move links with JSON and export analytics data as CSV.

Why use Sink?

  • Serverless hosting avoids traditional server patching.
  • Analytics and routing are built into the project.
  • AGPL-3.0 code can be inspected and self-hosted.
  • Import and export reduce migration friction.

Who is Sink best for?

A good fit for

  • Cloudflare users and small teams
  • Individuals who want serverless link hosting
  • Teams that need device or country routing
  • Operators who value exportable link data

Less suited to

  • Businesses that need multi-user support and service levels
  • Users who do not want a Cloudflare account

Sink pricing

Pricing modelFree open source (AGPL-3.0), self-hosted on Cloudflare
Free planYes
Free trialNot confirmed
Starting priceFree (self-hosted on Cloudflare)

Sink software is free under AGPL-3.0. Cloudflare usage, domain registration and any paid Cloudflare services can cost extra, and you manage configuration and account limits. Business hosted needs are directed to a separate product.

Prices checked December 2026. Vendors change plans often, so confirm on the official Sink pricing page before you buy.

Sink pros and cons

Pros

  • AGPL-3.0 code with analytics built in
  • No traditional server to patch
  • Routing, passwords, expiry and QR codes
  • Import and export tools included

Cons

  • Cloudflare limits and costs still apply
  • Aimed at individuals and small teams
  • Multi-user business support sits elsewhere

Sink integrations and platforms

Works with

  • Cloudflare Workers
  • Cloudflare D1
  • Workers AI

Available on

  • Self-hosted on Cloudflare
  • Web
  • API

Sink alternatives

Sink FAQ

Is Sink free?

Sink software is free open source under AGPL-3.0. Running it on Cloudflare can still involve domain costs and Cloudflare usage charges beyond free limits, so check your account usage before assuming total cost stays at zero. A sensible rollout starts with a test domain, a small set of campaign links, and an export check. Record who owns the Cloudflare account, DNS, storage configuration and analytics access, because branded links become hard to replace once they appear in print, profiles, documents and partner pages. Monitor usage after launch and review routing rules for mistakes. Those operating habits matter more than optional AI features, and they keep a Sink install reliable for a small team.

Where does Sink run?

Sink is built to run on Cloudflare, using Workers and related Cloudflare services for storage and analytics. There is no traditional server, but you manage the Cloudflare account and configuration. Keep a written record of slug ownership and destination changes, review analytics exports on a schedule, and rehearse moving the domain to another shortener before printed materials depend on it. That preparation turns serverless hosting into an operational advantage rather than a single point of failure for campaign links.

Does Sink track link clicks?

Yes. Sink includes analytics with geographic, referrer and device information, plus export tools. That helps small teams see which shared links and placements produce visits.

Can Sink route by country or device?

Yes. Sink supports redirects by device or country, so one short link can send visitors to different destinations based on context. Test rules carefully before printing codes.

Who is Sink best for?

Sink fits individuals and small teams already comfortable with Cloudflare. Businesses needing managed service, multi-user support or service levels should note that project materials point those needs to a separate hosted product.

Sources

This overview is based on Sink's official website and documentation, checked December 2026.