Sink
Create short links and track their visits
By miantiao
- Stars
- 7.2k 7,210 stars on the app's GitHub repository.
- Installs
- Under 10 Fewer than 10 Appflare users run this app, from anonymous usage data; smaller counts are not published.
- Plan
- Free Runs on Cloudflare's free Workers plan.
- License
- AGPL-3.0-only An open-source license: you may use, change and share the app on its terms.
- Version
- 0.3.1 Version 0.3.1.
- Last tested
- Oct 14 The catalog installed this version in a test account and it answered, on Oct 14, 2026.
About
A self-hosted alternative to Bitly.
Link shortener with visit analytics: custom slugs, expiring links, QR codes, AI slug suggestions and a realtime globe, all on Cloudflare.
Features
- Choose custom link addresses or get AI suggestions
- Set passwords and expiry dates for shared links
- Redirect visitors to different destinations by device or country
- Generate QR codes for your links
- See visit charts and a live globe after adding a Cloudflare analytics token
- Import and export links as JSON
Deploy Sink on Cloudflare
Step 1: Set up Appflare in your Cloudflare account
OnceAppflare installs itself into your own Cloudflare account from your browser, and runs on the free Workers plan, as Sink does. See what Sink needs on your account.
Set up AppflareAlready have Appflare? Install SinkStep 2: Install Sink
Sink needs no keys or settings from you.
Appflare generates a value for you: Site token.
It also has four optional settings you can leave for later.
One switch on the form puts Sink behind Cloudflare Access, so only the people who use your Appflare can open it.
Step 3: Finish setting it up
After the install, Appflare shows two short steps for Sink, on its page.
With Appflare instead of by hand
- Nothing to build on your computerAppflare sets itself up from your browser, with no API token to create and nothing to install.
- Updates in one clickAppflare tells you when the catalog has a new version, and Update installs it.
- Health checksAfter every install and update, Appflare checks that the app answers.
- It stays in your own accountEverything runs on your Cloudflare account and your plan, and Appflare records what it creates, so an uninstall removes it.
What it needs on your account
- KV storageThis app uses it
- D1 databaseThis app uses it
- R2 storageThis app needs it
- Analytics EngineThis app uses it
- Runs on a scheduleThis app uses it
- Workers AIThis app needs it
Questions
Does Sink run on Cloudflare's free plan?
Yes. Sink runs on Cloudflare's free Workers plan, and so does Appflare.
What does Sink create in my Cloudflare account?
Appflare creates a Worker for Sink and the resources it uses: KV namespaces, D1 databases, R2 buckets and cron triggers. It also uses Analytics Engine and Workers AI. Appflare records each resource it creates; an uninstall deletes them, keeping any data you choose to keep.
How do I update Sink?
When the catalog has a new version, Sink's page in Appflare says Update available. Select Update: Appflare takes a snapshot first, so you can roll back to the version before. You can also let Appflare update it automatically.
Is Sink open source?
Yes, under AGPL-3.0-only. An open-source license: you may use, change and share the app on its terms. Its source code is at github.com/miantiao-me/Sink.
Links
- Source codegithub.com/miantiao-me/Sink
- Websitesink.cool
Packaged for the catalog by MendyLanda.
Author
- miantiaomiantiao.meGitHubX (Twitter)

