polius/Cryptex ? reverse-engineered prompt

Reverse engineered prompt

Build me a self hosted app for securely sharing text and files, something I can run in Docker and keep all the data on my own server.

I want people to be able to create a shareable page with a message or upload a few files, protect it with a password, set it to expire after a certain time, or make it disappear after it has been opened once. It should support public mode and private mode with invite links for creating new shares. Please include an admin area where I can see active shares, manage invite links, change limits, and turn on two factor authentication. I also want QR codes for easy phone access, large file uploads that work in chunks, and an API with key based access for programmatic use. Keep the setup simple, include a clean web interface, and make sure it works well in a single container with persistent storage.