Public Shortener Front Page Plugin for YOURLS

July 14, 2026 ยท View on GitHub

Renders a premium, modern, responsive, and Turnstile-secured public URL shortener landing page on your YOURLS home index page.

Features

  • Premium Front Page: Replaces the default YOURLS index with a sleek, high-end shortening interface.
  • Cloudflare Turnstile Protection: Secures the shortening form against bots and spam using Cloudflare Turnstile.
  • Turnstile Key Reuse: Automatically reuses Turnstile keys from the default Turnstile plugin if installed, or allows custom key configuration in the plugin settings.
  • Color Customization: Easily adjust the landing page background gradient, text, and accent colors from the settings panel.
  • Responsive Design: Mobile-first design that looks beautiful on desktops, tablets, and mobile devices.

Screenshots

Screenshot(s)
Public Shortener Landing PagePublic Shortener Settings Panel
Public Shortener Landing PagePublic Shortener Settings Panel

Installation

  1. Copy or move the public-shortener directory into your YOURLS user/plugins/ directory.
  2. Go to your YOURLS Administration Panel and navigate to Plugins.
  3. Locate Public Shortener Front Page and click Activate.

Settings & Configuration

Navigate to Public Shortener Settings in the admin sidebar navigation menu to configure the following settings:

Setting OptionTypeDefault ValueDescription
Turnstile Site KeyString""Site key for Cloudflare Turnstile CAPTCHA protection.
Turnstile Secret KeyString""Secret key for Cloudflare Turnstile CAPTCHA verification.
Page TitleString"Shorten Link"Main header title displayed on the public shortening landing page.
Page SubtitleString"Quickly shorten and optimize your long web URLs"Sub-header description text displayed below the title.
Background Gradient StartColor#0f172aStart color (hex) of the background gradient.
Background Gradient EndColor#1e1b4bEnd color (hex) of the background gradient.
Primary Text ColorColor#f8fafcColor of the main heading and primary texts.
Secondary Text ColorColor#94a3b8Color of sub-headings, labels, and secondary text elements.
Accent Color (Button)Color#6366f1Color of the shorten submit button and other UI highlights.
Accent Hover ColorColor#4f46e5Hover state color of the shorten button.

Authors

  • Bluscream
  • Antigravity.AI

Other Plugins

Check out our other YOURLS plugins:

AI Disclaimer

This plugin was created and is maintained with the assistance of Antigravity, an agentic AI coding assistant by Google DeepMind.