mtlynch/picoshare ? reverse-engineered prompt

Reverse engineered prompt

Build me a small self hosted web app for sharing files and images.

I want a simple site where I can upload any kind of file, get a direct link right away, and share that link with other people so they can view or download it without signing up or seeing ads. It should be easy to run on my own server or in Docker, with one shared secret for admin access. I also want it to store files locally with SQLite, and if possible support keeping the database safe with cloud replication so I don’t lose data if the server restarts.

Please keep it minimal and practical, since the whole point is to make file sharing dead simple. No resizing, no re encoding, and no file type restrictions. If you need to check anything about how current dependencies or deployment work, look up the latest docs online.