Public
E2E encrypted secret sharing with expiring links
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
π https://e2e.val.run/
Send passwords, API keys, and sensitive text to anyone. Your secret contents are encrypted in your browser via a passphrase which never leaves your device.
The code for this service is 100% open-source on Val Town, so you can audit it and trust we're not doing any monkey business with your secrets. What you see at val.town/x/stevekrouse/secret-share is exactly what runs when you use the app.
Rendering mermaid diagram...
secret-share/
βββ main.ts # Hono app β mounts API + serves static + SPA shell
βββ server/
β βββ db.ts # SQLite CRUD (stores only ciphertext + proof)
β βββ rateLimit.ts # In-memory per-IP token-bucket middleware
β βββ validate.ts # UUID + base64 input validation
β βββ api.ts # POST / GET / DELETE /api/secrets
βββ frontend/
β βββ index.html # Static page shell
β βββ index.tsx # Client-side React mount; reads window.location.pathname
β βββ components/
β βββ App.tsx # CreateView + RevealView
βββ shared/
βββ types.ts # Shared TypeScript interfaces
βββ crypto.ts # AES-256-GCM + delete-proof derivation