Removes link nonsense baptize.link
README.md

baptize.link #

Cleans tracking cruft out of links.

Paste the whole message #

Finds the link in all that nonsense and cleans it up.

A message with an Instagram link pasted in, and the clean link under it

From the address bar #

Add any link after baptize.link/ and the page opens with it already cleaned. Put a # in between (baptize.link/#https://…) and the link never reaches the server; stays in your browser.

The address bar with baptize.link/ in front of a Google redirect link, and the page it opens

See what's removed, what's needed, and why #

A YouTube link cleaned: four trackers removed with their reasons, the timestamp kept, and the shorter youtu.be link used

A bit.ly link followed through t.co to the page it leads to, cleaned

Works offline #

Cleaning happens in your browser after your first visit. Falls back to server if necessary.

Building #

Requires Zig 0.17.1.

zig build          # the server (Debug)
zig build run      # the server on http://127.0.0.1:8080
zig build test     # unit tests, translation checks and the golden answers
zig build check    # every check (needs Node.js and Chromium)
zig build wasm     # the cleaning engine as WebAssembly

zig build check also compares the WebAssembly build with the native one, checks the server's HTTP contract against the real binary, and runs the page in headless Chromium. CONTRIBUTING.md says what each check covers, and how to try the page from a phone on your network.

Short-link expansion needs libcurl (libcurl4-openssl-dev on Debian):

zig build                       # link the system libcurl
zig build -Dcurl_static=true    # bundle a static curl instead
zig build -Dexpander=false      # build without expansion

Contributing #

Site rules, translations and self-hosting are covered in CONTRIBUTING.md.

License #

Copyright (C) 2026 Rob Lach

GNU AGPL 3.0+. See LICENSE.

Using IBM Plex Mono, © IBM Corp., under the SIL Open Font License 1.1 (web/fonts/LICENSE.txt).