{"repo":"MendyLanda/cut","free":true,"listed":false,"github":"https://github.com/MendyLanda/cut","clone":"git clone https://github.com/MendyLanda/cut.git","description":"A tiny self-hosted URL shortener. Lock a link behind a password, give it an expiry, or cap its clicks. Deploy in one click to Vercel, Cloudflare, Railway, Render, Coolify, or Dokploy, or just run the Docker image yourself. Each host uses native Redis or Workers KV.","language":"TypeScript","stars":15,"topics":["link-shortener","nextjs","react","redis","self-hosted","serverless","tailwindcss","typescript","upstash","url-shortener"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Cut A tiny, self-hosted URL shortener — short links that are entirely yours. Owner-only admin, protected by a single password. Deploy it anywhere in one click: &nbsp; &nbsp; &nbsp; Each host uses its native storage, so there's nothing extra to wire up — Upstash Redis on Vercel, Workers KV on Cloudflare, a managed Redis on Railway and Render, and a bundled Redis when you self-host with Docker (Coolify, Dokploy, or plain Compose) — or any host you point a REDIS URL at. What you get - /[slug] → redirect to the destination (and count the click) - /admin → password-protected dashboard to add, copy, edit, and delete links - / → landing page Per-link controls - Password protection — gate a link behind a password (visitors enter it before redirecting) - Expiration — auto-disable a link after a chosen date/time - Click limit — cap total clicks; the link dies once it's reached Security - Owner sign-in is rate-limited with layered windows (2/min, 5/hour, 10/day per IP); link-password guesses get 2× those limits (4/min, 10/hour, 20/day). - Passwords (owner + per-link) are stored only as SHA-256 hashes, never plaintext. - Click caps and rate-limit counters are atomic/exact on Redis (Vercel, Railway, Render, self-hosted), and best-effort on Cloudflare KV (eventually consistent, no atomic increment) — plenty for a personal shortener, just not exact under heavy concurrency. Deploy One click, then a couple of prompts. Pick your host for the details: ▸ Vercel &nbsp;·&nbsp; storage: Upstash Red","default_branch":null,"files":null,"tree":[],"storefront":"/r/MendyLanda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MendyLanda/cut/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}