dovidcohen/secret-share ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple web app for sharing a small secret with exactly one other person, like an SSH key, password, or API token.

It should be end to end encrypted, so the server never sees the plain text. If both people are online, it should send the secret directly browser to browser. If they are not online at the same time, it should save an encrypted copy as a temporary dead drop and let the other person claim it later with a share code.

I want the share code to be easy to read and say out loud, and the secret should only be readable once, then disappear. It should also expire automatically after a short time, and lock itself after a few failed tries.

Make the app feel clean and very simple to use, with a page to create a secret and a page to receive one. If you need to look up current docs online while building it, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab