crimson64

fern

Frugal Ethereal encRypted pastebiN (fern) is a simple "paste bin" type program contained in a single HTML file, making it universally portable on any system that has a web browser. fern has minimal dependencies, uses efficient LZMA compression algorithm, and fully relies on browser runtime for cryptography APIs.

Download

fern supports two "modes of operation": online and offline.

  • "Online" mode assumes being deployed on a server and retrieving pastes from URL params. In this case you simply share the link, which contains the encrypted compressed paste and the recipient decrypts it with a passcode.
  • "Offline" mode means using fern.html to create pastes and save each one as a new file that contains the paste 'baked in' and the logic for decrypting and decompressing it (and also can be used for creating new pastes).