|
1 | | -# Shortlink |
| 1 | +# Shortlink — self-hosted URL shortener on Cloudflare |
2 | 2 |
|
3 | | -A fast, clean, self-hosted **URL shortener** with accounts, custom domains, QR codes |
4 | | -and detailed analytics — running entirely on **Cloudflare Workers** for **$0** on the |
5 | | -free plan. Short links live on your own domain: **`go.yoursite.com/<slug>`**. |
| 3 | +> **Open-source, self-hosted URL shortener & link-management platform** — a [Bitly](https://bitly.com) / TinyURL alternative you fully own. Branded short links on your own domain, a QR-code studio, bot-filtered click analytics, a REST API and an MCP server — running entirely on **Cloudflare Workers** for **$0** on the free plan. |
6 | 4 |
|
7 | | -``` |
8 | | -Cloudflare Workers · Hono · React 19 + Vite + Tailwind v4 · Drizzle ORM · Postgres or D1 |
9 | | -``` |
| 5 | +Create short links on **your own domain** (`go.yoursite.com/<slug>`), track every click with privacy-first analytics, and let your whole team manage links from one dashboard — **no monthly SaaS bill, no vendor lock-in**. |
| 6 | + |
| 7 | +- 🔗 **Branded short links** — random or custom back-halves, per-domain slugs, expiry, pause, tags & search, per-OS deep links, password-protected links, UTM builder, bulk CSV import |
| 8 | +- 📊 **Privacy-first analytics** — totals, uniques, time charts, countries, referrers, device/browser/OS, live feed; bot traffic auto-excluded; CSV/JSON export |
| 9 | +- 🎨 **QR-code studio** — frames, shapes, colors, gradients, logo library, saved presets; export PNG / SVG / JPEG |
| 10 | +- 🤖 **REST API + MCP server** — API keys and 12 MCP tools so AI agents can manage your links |
| 11 | +- 🛡️ **Self-hosted human check** — invisible proof-of-work + optional mini-game CAPTCHA, no third party |
| 12 | +- 💸 **$0 on Cloudflare** — Workers + KV + R2 + (D1 or Postgres), free-tier friendly; configure everything in-app, no redeploy |
10 | 13 |
|
11 | 14 | [](https://deploy.workers.cloudflare.com/?url=https://github.com/botnick/shortlink) |
12 | 15 |
|
| 16 | +> **Deploy your own in one click** with the button above — or clone and `npm run dev` for local. |
| 17 | +> Stack: **Cloudflare Workers · Hono · React 19 + Vite + Tailwind v4 · Drizzle ORM · Postgres or D1** |
| 18 | +
|
13 | 19 | --- |
14 | 20 |
|
15 | 21 | ## What you get |
|
0 commit comments