Vibecode ReSlug

track this build4 phases, 12 steps, beginner friendly
YES · one-shottable
price $9/moyou'd save $108/yrbuild time one sittingcategory 📊 analyticsreplaced by 0 people

The redirect is a slug, a lookup, a 302, and a row in a table · Cloudflare Workers with KV and D1 does the whole job on the free tier, and the QR code is one library call. Routing rules, expiry, and password links are an afternoon more. What you cannot build in a sitting is permanence: your links only outlive the project if you keep renewing the domain and the account. The wrinkle with ReSlug specifically is that its free plan already includes a custom domain and real analytics at personal scale, so the DIY build is competing with 0 USD rather than 9 · build it for the ownership, not the savings.

the project pack5 files · written for this build, step by step
README.md
# ReSlug · indie build

A shortener whose hard problems are the free tier's arithmetic deciding where every byte is stored, an eventually consistent lookup that can serve a stale miss, and a redirect status code that determines whether you can ever change a link again.

Estimated effort: **one sitting**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Runtime | A Cloudflare Worker on a hostname you own, deployed with wrangler | the redirect has to be near the click and this tier costs nothing at personal scale |
| Lookup | A key-value store for slug to destination, with the database behind it as the authority | key-value is read-optimised and rarely written, which is the shape of a link table |
| Click log | One database row per click, written inside waitUntil after the response has gone | the redirect must never wait on a write, and waitUntil is what that costs you nothing |
| Redirect | 302 with an explicit no-store header, never 301 | a permanent redirect gets cached and then you can neither retarget the link nor count it |
| Admin | One password held as a deployment secret, on a separate path | one password is honest for one person and a login system is not the product |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **A Cloudflare account with Workers, a key-value namespace and a database** · free at personal scale
  - Why: This is where the whole thing runs, and the free tier's numbers are what the design is shaped around.
  - Get it: Sign up, create the namespace and the database, and note the current published limits.
  - Verify: wrangler whoami succeeds and both bindings appear in wrangler.toml
- [ ] **The wrangler command line tool** · free
  - Why: Deploys the worker, manages bindings and holds the secrets that must never enter the configuration file.
  - Get it: Install it with your package manager of choice.
  - Verify: npx wrangler --version prints a version and npx wrangler dev serves locally
- [ ] **A domain you intend to keep renewing** · roughly ten to fifteen pounds a year, indefinitely
  - Why: Every short link you print, paste or put on a poster stops working the day this domain lapses, which makes the renewal decision the most consequential part of the project.
  - Get it: Register or move a domain onto the same account and add the hostname route.
  - Verify: A request to the short hostname reaches your worker
- [ ] **The current published free tier limits, written down with a date** · free
  - Why: Reads per day, writes per day, rows read, rows written and the per-invocation processing budget all decide this design, and all of them change.
  - Get it: Read the platform's own limits and pricing pages and copy the figures into the README.
  - Verify: Every figure in the README has a source URL and a checked date
- [ ] **A second network to test from** · free
  - Why: The eventually consistent lookup only misbehaves when the request arrives somewhere your write has not reached, which you cannot see from one machine.
  - Get it: A phone on mobile data, or a shell on a host somewhere else.
  - Verify: A newly created link resolves from it within the window you documented

## Quick start

```sh
npx wrangler dev
npx wrangler deploy
```

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Link-in-bio pages.
- Teams and shared workspaces.
- A public API with tokens.
- Per-visitor identifiers or cross-site tracking.
- links that outlive your own infrastructure · a domain you stop renewing takes every link with it
- bot filtering that actually works · the heuristics take iteration you will not do for one project
- geo and device routing rules, scheduled links, and click caps behind a dashboard instead of a config file
- bio pages and branded QR codes
- a REST API and webhooks other tools can call

If one of those is essential to you, that is the reason to keep paying for ReSlug, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

The redirect was never the product. What the subscription buys is a redirect that stays up when your side project does not, analytics you did not have to build or debug, and routing, expiry, and password controls behind a dashboard instead of a config file. ReSlug's own twist is that most of that is on the free plan, custom domain included, so the paid tier is really about unlimited tracked clicks, longer analytics retention, and API access · the people paying 9 USD are past personal scale anyway.

what you lose

xlinks that outlive your own infrastructure · a domain you stop renewing takes every link with it

xbot filtering that actually works · the heuristics take iteration you will not do for one project

xgeo and device routing rules, scheduled links, and click caps behind a dashboard instead of a config file

xbio pages and branded QR codes

xa REST API and webhooks other tools can call

share on X ↗"I just replaced ReSlug ($9/mo) with one prompt"
the escape hatch

Don't feel like building it? These folks already made it free.

Short.ioShort links, analytics, QR codes, mobile routing and link-in-bio pages on a genuinely useful free plan.$0free↗

no votes, no pay-to-list · just what's real

the numbers

ReSlug pricing

planmonthlyannual (per mo)what you get
free$0/workspace$0/workspace500 active links, 1,000 tracked clicks/month, 1 custom domain, 30-day analytics, 1 bio page, 25 tags, 3 folders, a 100-row CSV import/upload cap, 1 seat, and 50 lead captures/month
pro$9/workspace$6.58/workspaceUnlimited links and tracked clicks, 10 custom domains, 365-day analytics, 5 bio pages, 10 API keys at 200 requests/minute, a 1,000-row CSV import/upload cap, and 5 seats

free tier500 active links; 1,000 tracked clicks/month; 1 custom domain; 30-day analytics; 1 bio page; 25 tags; 3 folders; 100-row CSV import/upload cap; 1 seat; 50 lead captures/month

billingmonthly + annual ($79/year, about 27% below $9 monthly); auto-renewal terms were not numerically detailed on the pricing page

verified 2026-08-12 · source ↗

questions
Vibecode ReSlug

Yes. A competent AI coding agent (Claude Code, Codex, Cursor) can build a usable personal ReSlug replacement in one session with the prompt on this page. It runs on your own machine or server with no subscription.

How much does ReSlug cost?

ReSlug costs about $9/month (Pro, checked 2026-08-03), which is $108 per year. That's what you save by replacing it with one prompt.

What do I lose by replacing ReSlug?

Honestly: links that outlive your own infrastructure · a domain you stop renewing takes every link with it; bot filtering that actually works · the heuristics take iteration you will not do for one project; geo and device routing rules, scheduled links, and click caps behind a dashboard instead of a config file; bio pages and branded QR codes; a REST API and webhooks other tools can call. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to ReSlug?

Yes: Short.io (Short links, analytics, QR codes, mobile routing and link-in-bio pages on a genuinely useful free plan.) The prompt is for when you want it exactly your way.