TheGreatAzizi/Secure-Pastebin-Cloudflare-Worker
TheGreatAzizi/Secure-Pastebin-Cloudflare-Worker has 30 GitHub stars and 6 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-11 08:22 UTC. Last push 2026-10-21.
Comment ces chiffres sont mesurés
🔐 Secure Pastebin — End-to-End Encrypted Message Sharing. Zero-knowledge, password protected, self-destructing. Live demo: https://sp.theazizi.ir #InternetForAll
What you can do
- 🔒 AES-256-GCM Encryption - Military-grade encryption in your browser
- 🛡️ Zero-Knowledge Architecture - Server cannot read your data. Ever.
- 🔑 Optional Password Protection - Extra layer with PBKDF2 key derivation
- 🔥 Burn After Reading - Self-destruct after first view
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Mise à jour retardée
- in 1 month
- Mise à jour retardée
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
🔐 Secure Pastebin
End-to-End Encrypted Message Sharing on Cloudflare Workers
Zero-Knowledge • Password Protected • Self-Destructing
✨ Features
| Feature | Description |
|---|---|
| 🔒 AES-256-GCM Encryption | Military-grade encryption in your browser |
| 🛡️ Zero-Knowledge Architecture | Server cannot read your data. Ever. |
| 🔑 Optional Password Protection | Extra layer with PBKDF2 key derivation |
| 🔥 Burn After Reading | Self-destruct after first view |
| ⏱️ Expiration Control | 1 hour to 30 days |
| 🌍 Auto RTL Support | Persian, Arabic, Hebrew auto-detection |
| 📱 Fully Responsive | Works on all devices |
| 🚫 No Registration | No emails, no accounts, no tracking |
🔍 How It Works
┌─────────────┐ AES-256-GCM ┌─────────────┐
│ Browser │ ───────────────────→ │ Cloudflare │
│ (Encrypt) │ │ KV │
│ Key in URL │ ←─────────────────── │ (Storage) │
│ Fragment │ │ │
└─────────────┘ └─────────────┘
- Client-Side Encryption: Message encrypted in browser before sending
- Key in URL Fragment: Decryption key never reaches server (after
#) - Zero Storage: Server only sees ciphertext, never plaintext
- Optional Password: PBKDF2 with 100,000 iterations for extra security
🚀 Deployment Guide
This guide uses Cloudflare Dashboard (no CLI required) - the exact method used for sp.theazizi.ir
Prerequisites
- Cloudflare account (free tier works)
- 5 minutes of your time
Step 1: Create KV Namespace
- Go to dash.cloudflare.com
- From left sidebar: Storage & Databases → KV
- Click "Create a namespace"
- Name:
PASTEBIN_KV - Click "Create"
⚠️ Important: Remember this exact name -
PASTEBIN_KV
Step 2: Create Worker
- Go to Workers & Pages → Create application
- Click "Create Worker"
- Name your worker (e.g.,
secure-pastebin) - Click "Deploy" (we'll replace the code next)
Step 3: Bind KV to Worker
This step is critical - connects your KV to the worker:
- In your Worker dashboard, click "Settings" tab
- Go to Bindings section
- Click "Add"
- Select "KV Namespace"
- Configure:
- Variable name:
PASTEBIN_KV(must match exactly) - KV namespace: Select the one you created in Step 1
- Variable name:
- Click "Deploy"
Step 4: Add the Code
- In your Worker, go to "Edit code" (or Quick Edit)
- Delete all existing code
- Copy the entire
worker.jsfrom this repo - Paste into the editor
- Click "Save and Deploy"
Step 5: Add Custom Domain (Optional)
To use your own domain like sp.theazizi.ir:
- In Worker dashboard, go to "Triggers" tab
- Click "Add Custom Domain"
- Enter your subdomain (e.g.,
sp.yourdomain.com) - Add CNAME record in your DNS pointing to your worker
- Wait for SSL certificate (automatic)
🛠️ Local Development (Optional)
If you prefer Wrangler CLI:
# Install Wrangler
npm install -g wrangler
# Login to Cloudflare
wrangler login
# Create KV namespace
wrangler kv:namespace create "PASTEBIN_KV"
# Update wrangler.toml with your KV ID
# Deploy
wrangler deploy
🔐 Security Details
Encryption
- Algorithm: AES-256-GCM
- Key Derivation: PBKDF2 (100,000 iterations)
- IV: Random 12-byte per message
- Key Location: URL fragment (never sent to server)
Privacy
- No server-side logs
- No analytics or tracking
- No registration required
- Messages auto-expire
- Burn-after-read option
📁 Project Structure
secure-pastebin/
├── worker.js # Main Cloudflare Worker code
├── README.md # This file
└── LICENSE # MIT License
🌐 Internet Freedom
#InternetForAll
Internet access is a fundamental human right.
Restricting internet access violates human rights and limits freedom of expression, access to information, and the ability to communicate securely. We believe in free, open, and secure internet for everyone — regardless of borders, politics, or censorship.
This tool is built to ensure private, secure communication remains accessible to all.
🤝 Contributing
Contributions welcome! Areas to improve:
- File attachments (encrypted)
- QR code generation for sharing
- Custom themes
- Browser extension
📜 License
MIT License - see LICENSE file
👤 Author
TheGreatAzizi
- GitHub: @TheGreatAzizi
- X/Twitter: @the_azzi
- Demo: sp.theazizi.ir
Built with ❤️ for a free and open internet
Explorer des projets similaires
trimstray/the-book-of-secret-knowledge
Une collection de listes inspirantes, de manuels, d’antisèches, de blogs, d’astuces, de commandes en une ligne, d’outils CLI et web, et plus encore.
257,807 étoilesHack-with-Github/Awesome-Hacking
Une collection de diverses listes awesome pour les hackers, les pentesters et les chercheurs en sécurité.
125,254 étoilesswisskyrepo/PayloadsAllTheThings
Une liste de payloads et de méthodes de contournement utiles pour la sécurité des applications web et le pentest/CTF.
82,583 étoilescaddyserver/caddy
Serveur web HTTP/1-2-3 rapide, extensible et multiplateforme, avec HTTPS automatique
78,959 étoiles