Skip to content
FlaredLinkPublic

About

🔗 Open-source URL shortener with branded links, click analytics, QR codes, a REST API, a CLI, and an MCP server for AI assistants. Deploy to Cloudflare in one click or use Flared Cloud.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Flared: short links on your own domain, with click analytics, QR codes, and an MCP server

Start free on Flared Cloud   Deploy to Cloudflare

Latest release Checks License: AGPL-3.0-only npm: @flaredlink/cli MCP server
Cloudflare Workers SvelteKit TypeScript Bun

Create, share, and measure short links from your app, your terminal, or your AI assistant.
Self-host it on Cloudflare in one click, or use Flared Cloud.

🌐 Website · 📖 Docs · 💳 Pricing · 🏠 Self-hosting · 🚀 Releases

The Links page: each short link with its destination, its clicks, and a 7-day chart

✨ Features

🔗 Short links Your own domain, custom slugs, UTM builder, iPhone and Android links
📊 Click analytics Clicks by day, country, device, browser, OS, and referrer
🔳 QR codes PNG or SVG for every link
🤖 AI assistants Remote MCP server with OAuth for Claude, ChatGPT, Cursor, and more
⌨️ API and CLI REST API with OpenAPI, API tokens, and the flared command
⚡ Automations Change or turn off a link on a date, after N clicks, or when the destination is down
🪝 Webhooks Signed events for link changes and click milestones
👥 Team Invite members to your workspace
🔐 Sign-in Passkeys, plus email codes in the cloud or passwords when self-hosted
📦 Export and import Take all your links and analytics with you as JSON or CSV
Link analytics: clicks by day, country, device, and referrer

📊 Analytics

QR code for a short link, as PNG or SVG

🔳 QR codes

Domains: your own domains with their status and DNS records

🌐 Domains

Connections: AI assistants and API tokens

🤖 Connections

🚀 Get started

☁️ Flared Cloud 🏠 Self-hosted
Set up Sign up and create your first link One-click deploy to your Cloudflare account
Short links on flared.link or your own domain Your Worker address or your own domain
Workspaces Many One
Sign-in Email code, magic link, or passkey Username and password, or passkey
Integrations Slack, Microsoft Teams, Zapier, analytics forwarding Webhooks
Cost Free plan, no credit card. Pricing Free on Workers Free
Start free → Deploy →

🏠 Deploy on Cloudflare

Deploy to Cloudflare

  1. Click Deploy to Cloudflare and enter a SETUP_SECRET of at least 16 characters.
  2. Cloudflare creates the databases and queues and deploys the Worker.
  3. Open the Worker address, enter the secret at /setup, and create your account.

You need a Cloudflare account (Workers Free works) and a GitHub or GitLab account. Full guide: docs/self-hosting/deploy.md.

🤖 Connect your AI assistant

Add Flared as a remote MCP server. Your assistant signs in with OAuth.

https://api.flared.page/mcp          # Flared Cloud
https://YOUR-APP-ADDRESS/mcp         # Self-hosted

15 tools: create, edit, and turn off links, read analytics and QR codes, import and export links, and apply automations. Setup for each assistant: flared.page/docs/assistants.

⌨️ Use the CLI

npm install -g @flaredlink/cli
flared login
flared link create https://example.com/launch --slug launch
flared analytics launch

All commands: packages/cli.

📚 Self-hosting guides

Guide Topic
🚀 Deploy Deploy and set up the owner
🌐 Domains Short links on your own domains
🏷️ App address Move the app to your own address
👥 Members Invite links and password resets
📏 Limits Change the workspace limits
🪝 Webhooks Send events to your endpoints
⚡ Automations Templates and destination checks
⬆️ Upgrade Get new releases as pull requests
💾 Backups Restore with D1 Time Travel
🔑 Recovery Reset a forgotten owner password

🛠️ Development

bun install --frozen-lockfile
bun run check && bun run format:check && bun run test
bun run dev

Tests run in Cloudflare's workerd runtime with real D1 storage and need no Cloudflare account. Package and API reference: docs/reference.md. Contributor rules: AGENTS.md.

📄 License

Copyright (C) 2026 PGHQdev. Flared core is licensed under AGPL-3.0-only. You may use, modify, self-host, and redistribute it, also commercially. If you run a modified version for other users over a network, offer them its source. Flared Cloud is a separate application and is not covered by this license.

Flared
Made by @PGHQdev · flared.page

About

🔗 Open-source URL shortener with branded links, click analytics, QR codes, a REST API, a CLI, and an MCP server for AI assistants. Deploy to Cloudflare in one click or use Flared Cloud.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages