Skip to content
tensorhaze

Menu

Motion

Reduced motion shows still images instead of animation. Everything else stays the same.

Tool 6 · Short links

Redirector

Short links on the lab's own domain, with a click count.

  • Invitation
  • Live
Sign in to RedirectorOpens the sign-in page for managing links. You need an invitation.
Sample

Short link

/k3v9q2m7x1b8w4z0

Sends a302

Clicks42

Destination

https://example.org/studies/a-long-report-title

Sample drawing. The count goes up by one each time the link is opened.

01

How a link works

Short links on the lab's own domain. Opening one adds one to its click count and sends the browser on.

  1. Look up the short wordThe word after the slash is matched against the stored links. An unknown word gets a plain “No such link” page.
  2. Add one to its countThe click count goes up by one and the time of last use is saved.
  3. Send a 302 to the destinationThe server replies with a redirect and your browser goes on to the destination.
Why a 302
It is deliberately not a permanent redirect, because the destination can be edited and a browser or proxy must not remember the old one.
Guessing
Each visitor address is limited to 120 requests a minute to blunt guessing of short words.
Open to everyone
A short link needs no sign-in. That is the point of it.

02

What it records

For each link: its destination and a click count. The link's record holds nothing about who followed it.

Stored with each link
An id, the short word, the destination, an optional title, the owner, the click count, when it was created and last edited, and when it was last used.
Not stored with a link
Nothing about the visitor: no address, no browser, no cookie, no referrer.
Logs
This describes the link's record. The server and the web server also keep ordinary request logs, which can include a visitor's address, and the rate limit counts requests per address in memory for the minute.

03

The owner's side

A signed-in account lists, creates, edits and deletes its own links.

  • Two kinds of short wordA random word of 16 lowercase letters and digits, minted by the server, or a word you choose: 3 to 32 lowercase letters, digits and hyphens, starting with a letter or digit. Six words are reserved. The word never changes after the link is made.
  • Web destinations onlyA destination must be http or https. A bare domain gets https:// added. Other schemes are refused.
  • Edit the destinationThe destination and an optional title can be changed later; the short word stays the same, so a shared link keeps working.
  • Copy and countThe list shows each link's click count and has a button that copies the short link.
  • Sign-inManagement sits behind the lab's shared passkey sign-in, for accounts that have been granted Redirector.

04

Where your data lives

In one SQLite table on the lab's server. Destinations are not secret.

Stored
Your links, in the redirects table of a SQLite database, each tied to the account that made it.
Destinations
Stored as they are, not encrypted: they are public redirect targets, not secrets. Do not use a short link to hide an address.
Destinations are not fetched
The server only sends a Location header and never fetches the destination, so it is the browser that goes there.
Deleting
Deleting a link removes its row, and the short word then answers “No such link”.

05

Built with, and checked

A small Fastify server and a React dashboard.

Server test cases, in 5 files
44tests
Requests per minute, per visitor
120max
Redirect status
302found

06

Access

Invitation

Short links are public. Making and managing them is by invitation. Invitations are not yet requested through this site.

07

Help

Who can use it. Anyone can follow a short link. Creating and managing links needs an invitation and a passkey.

Where Sign in goes. Sign in takes you to the sign-in page for managing links. Existing short links keep working whether or not you sign in.

If it does not open. When the lab knows the service is down, this page says so at the top.

08

Sources

Built with

Fastify and React. Rate limit: 120 requests per minute.

  1. Lab project notes, 2026: how short links redirect and what is counted.
  2. Lab hosting configuration, 2026: short links and the welcome page are public; the management API is behind the sign-in.

Facts as of 2 Oct 2026.