Tempest is a privacy-first, ephemeral file-sharing platform designed for maximum security and minimal footprint. Built on Django and Cloudflare R2, it provides a "Snapchat for files" experience where every link is a ticking clock.
- AES-256 Encryption: Every file is encrypted on-the-fly using unique keys that never touch long-term storage.
- Self-Destruct Links: Files automatically vanish based on your rules — one-time downloads or customizable timer limits (1hr - 7days).
- Cloudflare R2 Storage: Globally distributed, high-performance object storage with zero egress fees.
- Live Access Logs: Real-time auditing of file lifecycle, from encrypted upload to permanent destruction.
- Password Protection: Optional second layer of defense with industry-standard hashing.
- Celery Automation: Asynchronous background workers for guaranteed data purging and cache management.
- Core: Django 5.0+, Python 3.10+
- Storage: Cloudflare R2 (S3 Compatible API)
- Database: SQLite (Local) / Cloudflare D1 (Edge)
- Task Queue: Celery + Redis
- Security: Cryptography (Fernet), Django Ratelimit
- Deployment: Render / Docker
git clone https://github.com/sedegah/tempest.git
cd tempestCreate a .env file based on .env.example:
# Cloudflare R2
CLOUDFLARE_R2_ACCOUNT_ID="your_account_id"
CLOUDFLARE_R2_SECRET_ACCESS_KEY="your_api_token"
CLOUDFLARE_R2_STORAGE_BUCKET_NAME="tempest-fileshare"
CLOUDFLARE_R2_PUBLIC_URL="https://pub-your-id.r2.dev"
# Django
SECRET_KEY="your_django_secret_key"
DEBUG=True
ALLOWED_HOSTS="localhost,127.0.0.1"python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txtpython manage.py migrate
python manage.py runserverTempest uses a decoupled architecture where the Django backend serves as the orchestration layer for Cloudflare's edge services. Files are streamed directly through a custom storage backend that handles on-the-fly encryption/decryption, ensuring that the raw data is never persisted in a vulnerable state.
Distributed under the MIT License. See LICENSE for more information.
Built by sedegahkim - sedegahkim@gmail.com
Project Link: https://github.com/sedegah/tempest