Self-host thiss.link
Encrypted link shortener with magnet link support
- Stars
- 600
- Port
- 3000 (HTTP web server)
- Requires
- Node.js, Npm or yarn
What is thiss.link?
MagLit is a free and open-source link shortener focused on privacy. It encrypts both regular HTTPS links and torrent magnet links using a user-provided secret key, so the server operator cannot see the destination URLs. Links can be password-protected and customized without any sign-up or account creation. The project is licensed under AGPL-3.0 and the deployed code is verifiable against the public repository. Self-hosting requires a Firebase Firestore project for data storage and is supported via Docker (port 3000) or direct Node.js installation. The service includes QR code generation for shortened links and optional Google Safe Browsing integration to block malicious URLs.
Should you self-host thiss.link?
thiss.link scores 49/100 on selfhost.directory (how scoring works) and ranks #12 of 23 in URL Shortener. It has 600 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is advanced: plan for several services and some ongoing maintenance. It is AGPL-3.0-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is dub-links (74/100, 24 961 stars). It scores higher overall, so compare the two before you pick. See thiss.link vs dub-links side by side.
Features
- Custom Short Links
- Encrypted link shortening
- Google Safe Browsing integration
- Magnet link support
- No user accounts required
- Password Protection
- Privacy-respecting analytics
- QR Code Generation
- Verifiable deployments
- Zero personal data storage
thiss.link README
FAQ
My adblock detected a tracker!
MagLit uses Counter.Dev analytics which is open-source and privacy-respecting - no IP logging, cookies, or fingerprinting. It can be blocked if desired.
How can I help?
Submit PRs on GitHub to improve the codebase or donate via Buy Me A Coffee.
Is it open-source?
Yes, 100% free and open source licensed under AGPLv3. All requests are proxied through a server and no personal data is stored.
Why should I use MagLit?
Three reasons: 1) Everything is encrypted so only you can access your links, 2) Password protection and custom links without sign-up, 3) 100% free, open-source, verifiable deployments with no data mining or selling.
What's a 'MagLit'?
The name comes from 'Magnet' and 'Lit' - it started as a link shortener for torrent magnet links and later added HTTPS link support.
What's this about?
MagLit is an encrypted and privacy respecting Link Shortener service that supports regular website links and Magnet Links for torrents. Admins cannot see encrypted links.
More in URL Shortener
UrlHumSelf-hosted, open-source URL shortener with privacy features like IP hashing, admin panel controls, and in-depth analytics while respecting user privacy.
YOURLSAn open-source, self-hosted PHP URL shortener for your own domain, with click stats, referrer and visitor geo tracking, an API, and a plugin architecture.
AI ShortlinkAI Shortlink is a self-hosted, open-source URL shortener and live QR platform with custom codes, branded QR styles, admin review, Magic Link/OAuth login, and analytics.
AnchrAnchr is a self-hosted, open-source toolbox for bookmarks, link shortening, and encrypted image uploads with OAuth, Telegram bot, and ShareX integration.
BonBon is a tiny, self-hosted URL shortener written in Go with a web UI and REST API, using an embedded bbolt database for zero-dependency deployment.
ChibisafeOpen-source, self-hosted file uploader and vault: chunked uploads, albums, snippets, tags, API keys, quotas and a web admin dashboard.
clinkDead-simple, super-minimal URL shortener written in C.
deltaDelta is a self-hosted Node.js file uploader and URL shortener. Upload via curl, get short URLs with custom slugs, passwords, expiry, and multi-user support.
dub-linksSelf-hosted open-source link suite for short links, conversion attribution and affiliate programs, deployed via Next.js using Tinybird, Upstash, MySQL, Vercel.
fli.soA self-hosted link shortener using SvelteKit and PocketBase that offers branded URLs, QR codes, click tracking, and tag-based organization with password protection.
go-urlshurlsh is a self-hosted, open-source URL shortener in Go with web UI, REST API, hit counters, and optional Redis caching using PostgreSQL.
KuttSelf-hosted, open-source URL shortener with custom domains, link passwords, expiry, private stats, an admin panel, OIDC login and a REST API.

0 comments