RepositoryTypeScriptINIndia
Agenty

Agenty/shortener

An open-source URL shortener to create shorten link with Cloudflare worker and pages. Deploy on Cloudflare for custom domain for free!

108stars
64forks
0issues
1views

🔗 Short Links With Real Click Analytics

Turn any long URL into a short link that tells you when, where and how it was clicked.

Shortener.dev is an open-source URL shortener made by Agenty. It turns long URLs into short links like srt1.link/spring-sale and records every click: when it happened, where the visitor came from, and which country, browser and device they used. You can use the hosted version at shortener.dev or run your own copy on Cloudflare. The repository holds the full source: the API, the dashboard and the marketing site.

✨ Highlights

  • Short links: create short links with custom back-halves or random 7-character keys.
  • Click analytics: record clicks by date, country, city, referrer, browser, OS and device.
  • Click reports: get the raw log of every click.
  • Link expiration: set a link to expire after a date and time.
  • UTM builder: append utm_source, utm_medium, utm_campaign and other parameters.
  • Social preview: set a custom title, description and image.
  • Password protection: protect a link with a password.
  • Targeting: send mobile visitors to an iOS or Android app, or send visitors from a country to a different URL.

💡 Why it matters

Short links hide their destination, which makes them a favorite tool for phishing and spam. Shortener.dev has several checks so its links stay trustworthy. Each domain is verified before creating a short link, with email code or Google Search Console, and subdomains are included. Popular sites are whitelisted, while abused destinations are blocked.

The result is that visitors can trust every link, a brand cannot be misused, and the short domain stays off spam blocklists. Self-hosting keeps these checks enabled. The project fits teams that want open-source control, custom domains and REST API access on Cloudflare.


#URLShortener #OpenSource #Cloudflare #Analytics #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryPHP
realodix/urlhub

✂️ URL shortener web application based on the Laravel PHP Framework.

543
Nov 29, 2026
RepositorySvelte
heyitswit/nah.pet

Rewriting paths with bad energy - An alternative to TinyURL, YOURLS, Shlink

154
Dec 5, 2025
RepositoryPHP
YOURLS/YOURLS

🔗 The 𝘥𝘦 𝘧𝘢𝘤𝘵𝘰 standard, self hosted, powerful and customizable, URL shortener in PHP

12.3k
Nov 29, 2026
RepositoryJavaScript
thedevs-network/kutt

Free Modern URL Shortener.

11.2k
Oct 19, 2026
RepositoryHTML
nelsontky/gh-pages-url-shortener

Minimal URL shortener that can be entirely hosted on GitHub pages.

1.4k
Jun 26, 2024
RepositoryRust
SinTan1729/chhoto-url

A simple, blazingly fast, self-hosted URL shortener with no unnecessary features; written in Rust

1.0k
Nov 30, 2026
RepositoryPython
amitt001/pygmy

An open-source, feature rich & extensible url-shortener + analytics written in Python :cookie:

730
Nov 25, 2026
RepositoryGo
barats/ohUrlShortener

适合中小型社区网站使用的企业级短链接服务系统,支持短链接生产、查询及302转向,并自带点击量统计、独立IP数统计、访问日志

451
Sep 15, 2023
RepositoryRust
vpetersson/dslf

A small link forwarder written in Rust.

51
Nov 16, 2026