Files
tnyr.me/README.md
2025-02-03 21:37:02 +01:00

1.6 KiB

tnyr.me - Privacy-First URL Shortener

License: MIT

A secure, self-hosted URL shortener with end-to-end encryption. Perfect for privacy-conscious users and organizations.

Screenshot

Key Features

🔒 Passwordless end-to-end Encryption
📡 No Tracking
🌐 Modern Web Interface

end-to-end Encryption Process

  1. ID Generation

    • Unique random ID created for each link (e.g. R53nSAg)
    • Example: google.comtnyr.me/R53nSAg
  2. Hashing

    • Two Argon2 hashes are calculated by using different salts
  3. Storage

    • Original URL encrypted with AES-256-GCM using Hash 2
    • Only Hash 1 (storage key) is saved in database

Development Setup

Prerequisites

  • Python 3.9+
  • Node.js 16+ (for frontend development)

Quick Start

  1. Clone Repository

    git clone https://github.com/sevi-py/tnyr.me.git
    cd tnyr/backend
    
  2. Install Dependencies

    pip install -r requirements.txt
    
  3. Start Server

    python main.py
    
  4. Access at http://localhost:5000

Frontend Development

The backend serves pre-built frontend files. To modify the frontend:

cd frontend
npm install
npm run build

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