Warplet
A link shortener you run yourself, on a Raspberry Pi or any Linux machine. Open source, September 2026.

What it is
Warplet turns long links into short ones on your own domain, and counts the clicks. It runs on your own machine, so the links and the click counts stay with you.
It has no dependencies. It's two JavaScript files and plain Node.js, and the links are kept in one JSON file. The README says "this is yours to edit, not just configure", and that's the idea: it's small enough to read in an evening and change.
Features
- Your own short codes, or random ones
- Tags, with filters on the dashboard
- Links that expire on a date
- Links behind a password, which is stored hashed
- Click stats for each link: the last 14 days, top referrers, countries and devices
- QR codes from the dashboard
- More than one domain, with the dashboard only answering on the main one
- Changing a link, its code or its password after it's made
- An API for everything the dashboard does
How it works
server.js is the whole app, about 1,400 lines: the redirects, the API, the dashboard page and the small pages for locked and expired links. store.js keeps the links in memory and writes the whole JSON file again on every change, to a temporary file first and then swapped in, so a crash can't leave it half written. That's fine for a few thousand links.
The store has the same get, put, delete and list calls as Cloudflare's key-value storage, so the same app could run on a Cloudflare Worker without much change.
To stop the stats growing forever, each link only keeps 60 days of daily counts and its top 25 referrers, countries and devices. Countries only work behind a Cloudflare Tunnel, which adds the header they come from.
QR codes are made by api.qrserver.com, from your browser, when you ask for one. That's the only thing that talks to another site.
Installing it
One command installs it. The script installs Node.js if it's missing, on Debian, Fedora, Arch or openSUSE and with nvm as a fallback, copies the code, makes a random access token, and sets it up as a service so it starts with the machine. Running it again updates the code without touching the token.
A Raspberry Pi 4 runs it comfortably and even a Pi Zero 2 W will do. To use it from outside your home network, the README suggests a Cloudflare Tunnel.
Timeline
The first version went on GitHub on 11 September 2026. Most of the work was on 17 and 18 September: the installer, the multiple domains, and a lot of small fixes, several of them for the date picker on iPhones and for the favicon. It's MIT licensed.