Reverse engineered prompt

GitHub

Build me a lightweight self hosted personal cloud, kind of like a simpler Nextcloud, that I can run on my home server or NAS with Docker Compose.

I want a clean web app where users can sign in, browse their files and folders, upload files or whole folders with drag and drop, rename, delete, create folders, and download things easily. It should preview photos, videos, and audio in the browser, remember the view style and last opened folder, and support direct links to a specific folder. Each user should get a private home storage area, and I also want to mount normal host folders into the container so they show up automatically in the sidebar as extra storage. If a mount is read only, the UI and API should respect that.

Please include first run admin setup, user management, per user storage limits, permissions for which mounted storage each user can access, and public sharing links for files or folders with optional password and expiry. Also expose WebDAV so people can mount it like a network drive. Keep it as a simple single container app with a plain JS style frontend. Look up current docs online if you need to.

Have a live product UI? Try website reverse