Self-hosted URL shortener & link-hub manager. No servers, no external databases, and zero maintenance overhead.
GreenShort is a comprehensive URL shortener featuring a complete admin dashboard, built to be deployed in minutes entirely within your Cloudflare account. It lets you create short links, design link-in-bio style hubs, monitor detailed click analytics, and protect access via passwords or custom captchasโall without relying on third-party services or paying monthly subscriptions.
Runs as a single Cloudflare Pages project where a catch-all Worker intercepts every incoming HTTP request.
The Worker checks D1 to match the slug. If found, it validates configured rules: password verification, HMAC-signed captcha, expiration checks, and splat path handling.
Visitors are redirected seamlessly while interaction metadata (country, user agent, referrer, IP, timestamp) is logged asynchronously via Analytics Engine.
If the path does not match any short link, reserved routes serve static assets and UI files without intercepting traffic (/gs for the dashboard, /gs-files for assets).
Uses Workers AI to inspect the target page title and metadata to recommend concise, descriptive, and relevant slugs.
Craft clean landing pages grouping multiple buttons, bio descriptions, and custom palettes for social media bios.
Native visual challenges validated via secure cookies, completely independent of Google reCAPTCHA or external trackers.
Secure confidential destinations with server-side password verification before redirecting visitors.
Set links to expire after minutes, hours, or days. Once expired, links immediately stop resolving.
Instantly generate QR codes for any created short link with just a couple of clicks directly from your panel.
Admin interface localized in English, Spanish, Russian, Simplified Chinese, and Traditional Chinese with dark theme.
Detailed click stream visualizations and live D1 database storage tracking directly in the header.
DB.ANALYTICS.AI.SITE_TOKEN, CF_ACCOUNT_ID, CF_D1_ID, and CF_API_TOKEN./gs/dashboard to log in.