Your own link shortener. Free to run. Yours to keep.
Waymark is an open-source alternative to hosted services like Short.io: short links on your own domain with country and device routing, QR codes, analytics, a team and an API. It runs free on Cloudflare or on any server.
MIT licensed · no trackers · English and German
Try the idea
Paste a long URL and see what it becomes on your domain.
One link, many routes.
In Waymark a short link is a signpost with rules. Each visitor lands where it makes sense for them, and you see which route was taken how often.
By country, device, OS and language
The first matching rule wins. One click creates an App Store pair for iPhone and Android.
With expiry, click limits and passwords
Links start at a set time, stop after a date or a number of visits, and send people to a fallback page afterwards.
With your own preview when shared
Title, text and image for WhatsApp, Slack, LinkedIn and others, independent of the destination page.
The app, as it is.
Not mockups: these are screenshots of the real interface with demo data. Clicks show up as an elevation profile, short links as signposts.
Everything a link shortener needs. Under your control.
Waymark is private: nobody can sign up on their own. The owner invites the team and hands out API keys with exactly the permissions they need.
Links
- Custom or random slugs, with paths and Unicode
- Any number of branded domains
- Tags, notes, archive, bulk actions
- 301, 302, 307 or 308 redirects, cloaking
Routing
- Rules by country, device, OS, language
- A/B tests with weights
- UTM builder and query pass-through
- Start, expiry, click limit, password
Analytics
- Clicks and unique visitors over time
- Countries, cities, referrers, devices, browsers, languages
- QR scans counted apart, bots filtered out
- No IP addresses stored
Team & security
- Owner, admin, editor and viewer roles
- Invite-only, no public sign-up
- Audit log of every change
- Throttled sign-in, strict CSP
API & webhooks
- Everything the app does, over HTTP
- Keys with scopes, domains and expiry
- Signed webhooks on changes and clicks
- Optional public shortening, rate-limited
Import & export
- Direct import from Short.io
- CSV from Bitly, YOURLS, Kutt, Rebrandly, Dub
- Full backup as JSON
- Self-updating copies of the repository
Free to run. Honestly counted.
One codebase, three ways to run it. Start small on Cloudflare and move later with one backup file.
Cloudflare Workers + D1
- No server, fast everywhere, HTTPS for your domains
- About 20,000 tracked clicks per day; beyond that links still redirect, only stats pause
- One click on “Deploy to Cloudflare”
Your server with Docker
- Oracle Cloud Always Free, a Raspberry Pi or a small VPS
- Data in one SQLite file
- One command: docker compose up -d
Node + Turso
- For hosts without a persistent disk
- Render, Koyeb, Railway and similar
Limits as of November 2026. Providers change them from time to time; details are in the README.
Why run it yourself?
Short links end up on flyers, in books and on packaging. They should keep working as long as the paper they are printed on.
| Waymark | Hosted services (Short.io, Bitly …) | |
|---|---|---|
| Where your data lives | With you: your Cloudflare account or your server | With the provider |
| Cost | €0 on a free plan or your own hardware | Many features need a subscription, depending on provider and plan |
| If the service shuts down | It can’t: you have the code | Links depend on the provider |
| Analytics without IP addresses | Yes, salted daily hash | Depends on the provider |
| Source code | Open, MIT license | Usually closed |
Move from Short.io and keep your links.
Waymark reads your links straight from the Short.io API: destinations, slugs, tags, expiry, iOS and Android targets, UTM values. The API does not return passwords or geo rules; set those again afterwards.
Add the domain
Enter your old short domain under Domains.
Import
Paste a Short.io API key, pick the domain, start.
Check
Test a few links on the Waymark hostname.
Switch DNS
Point the domain at Waymark. Imported links keep working at the same address.
Up and running in five minutes.
After deploying, open /_/ on your domain and create the owner account.
Cloudflare
The button copies the repository, creates the database and deploys. Updates arrive automatically every night.
Deploy to CloudflareDocker
# docker compose up -d
docker run -d -p 8787:8787 \
-v waymark-data:/data \
ghcr.io/einfachruwen/waymark
Guide
By hand
git clone https://github.com/EinfachRuwen/waymark cd waymark && npm install npm run deployRead the README