mirror of
https://github.com/Sevi-py/tnyr.me.git
synced 2026-02-19 11:54:45 -05:00
2afd79d740316db63df4b2431fef26aa48c101b6
https://tnyr.me - Privacy-First URL Shortener
A secure, self-hosted URL shortener with custom paswordless encryption. Perfect for privacy-conscious users and organizations.
Key Features
🔒 Passwordless Encryption
📡 No Tracking
🌐 Modern Web Interface
Encryption Process
-
ID Generation
- Unique random ID created for each link (e.g.
iA4y6jMjFk) - Example:
google.com→tnyr.me/#iA4y6jMjFk
- Unique random ID created for each link (e.g.
-
Hashing
- Two Scrypt hashes are calculated by using different salts
- Original URL encrypted with AES-256 using Hash 2
- The whole encryption and decryption process happens in the browser
-
Storage
- Only Hash 1 (storage key) and the encrypted URL are saved in database
Self Hosting and Development
Prerequisites
- Python 3.9+
- Node.js 16+
Instructions
-
Deploy with your domain:
./deploy.sh your-domain.com -
Install Python dependencies:
pip install -r requirements.txt -
Start Server
python main.py -
Access at
http://localhost:5000
Deveopment
-
Start development server:
cd frontend npm run dev -
Start backend server:
cd backend pip install -r requirements.txt python main.py
Why Choose tnyr.me?
- Privacy by Design: We literally can't view your links
- No Tracking: Zero cookies, analytics, or fingerprinting
- Self-Hostable: Full control over your data
Languages
TypeScript
43.8%
Python
36.3%
HTML
7.1%
JavaScript
4.2%
Shell
3.5%
Other
5.1%
