Sink

What Sink is
Sink is an open-source, self-hosted short-link application with visit analytics that runs on Cloudflare without a VPS. It supports custom domains, bulk link creation, geo targeting, and an authenticated API. Links can have expiration dates, passwords, warning pages, tags, and routing by device or country. The dashboard provides reports, logs, filters, and a near-real-time view. Sink deploys to Cloudflare Workers or Cloudflare Pages; its documentation recommends Workers and marks Pages deprecated. D1 and KV are required, Analytics Engine is recommended, and R2 and Workers AI are optional. Each instance publishes REST API documentation and an OpenAPI document, and an MCP endpoint is available at POST /api/mcp. Optional Workers AI can suggest short codes and titles. Social previews support custom titles, descriptions, and images, with R2 uploads limited to 5 MB. Links can be imported or transferred as JSON, and access analytics exported as CSV. Optional Cloudflare Access can protect the dashboard and API, but short links remain public.
Who it suits
Sink is aimed at individuals and small teams wanting a self-hosted Cloudflare shortener with analytics. It suits users comfortable configuring Cloudflare services and managing optional integrations.
What it does well
- Runs on Cloudflare without a VPS
- Custom domains and bulk link creation
- Routing by device or country
- Near-real-time analytics dashboard
- Authenticated REST API and OpenAPI document
What to know first
- D1 and KV are required
- Cloudflare Pages deployment is deprecated
- Short links remain public with Access
- Links support up to 10 tags
Verdict
Sink provides link management, analytics, APIs, and Cloudflare deployment controls for self-hosted setups. Review its required services and public-link behavior before deploying it for protected destinations.
Facts from Sink's own pages
- Access control
- Cloudflare Access is optional and can require an Access login for the dashboard; short links remain public. · docs.sink.cool, 12 Oct 2026
- Access controls
- Optional Cloudflare Access can protect dashboard and API access, and Sink verifies Access JWTs. · docs.sink.cool, 12 Oct 2026
- AI features
- Optional Workers AI can suggest short codes and titles. · docs.sink.cool, 12 Oct 2026
- Analytics
- The dashboard provides reports, logs, filters, and a near-real-time view. · docs.sink.cool, 12 Oct 2026
- API
- Each instance publishes authenticated REST API documentation and an OpenAPI document. · docs.sink.cool, 12 Oct 2026
- API access
- Yes · sink.cool, 20 Sept 2026
- Audience
- The project focuses on individuals and small teams who want a self-hosted shortener on Cloudflare. · github.com, 12 Oct 2026
- Bulk link creation
- Yes · sink.cool, 20 Sept 2026
- Custom domains
- Yes · sink.cool, 20 Sept 2026
- Deployment
- Sink can be deployed to Cloudflare Workers or Cloudflare Pages; the documentation recommends Workers and marks Pages deprecated. · docs.sink.cool, 12 Oct 2026
- Geo targeting
- Yes · sink.cool, 20 Sept 2026
- Import and export
- Sink supports transferring links via JSON and exporting access analytics as CSV. · sink.cool, 12 Oct 2026
- Integrations
- The integrations page lists AI Skills, browser extensions, Raycast, Apple Shortcuts, and an iOS app, and says third-party integrations may be maintained independently. · docs.sink.cool, 12 Oct 2026
- Link management
- Links can have expiration dates, passwords, warning pages, tags, and routing by device or country. · docs.sink.cool, 12 Oct 2026
- MCP
- Sink provides an MCP endpoint at POST /api/mcp that authenticates with the same bearer token as the REST API. · docs.sink.cool, 12 Oct 2026
- Notable limit
- A link can have up to 10 tags, each 1–32 characters long. · docs.sink.cool, 12 Oct 2026
- Product
- Sink is a self-hosted short-link app with visit analytics that runs on Cloudflare without a VPS. · docs.sink.cool, 12 Oct 2026
- Purpose
- Sink is a self-hosted short-link app with visit analytics that runs on Cloudflare. · docs.sink.cool, 12 Oct 2026
- Required services
- D1 and KV are required; Analytics Engine is recommended, while R2 and Workers AI are optional. · docs.sink.cool, 12 Oct 2026
- Security
- Dashboard passwords are stored as PBKDF2 hashes, with a documented exception for some legacy links migrated from KV. · docs.sink.cool, 12 Oct 2026
- Security limits
- Short links remain public when Cloudflare Access is enabled, and API documentation remains public unless separately protected. · docs.sink.cool, 12 Oct 2026
- Social previews
- Links can use custom titles, descriptions, and images for social previews; image uploads require R2 and have a 5 MB maximum. · docs.sink.cool, 12 Oct 2026
- Who it is for
- The project describes itself as a self-hosted short-link app for people who want visit analytics. · docs.sink.cool, 12 Oct 2026
Where Sink stands on Freedom251
- URL shorteners#150 of 156