StatiCrypt is a command-line tool and browser-based utility that password-protects static HTML pages with client-side decryption and no server backend required.
The tool solves the problem of securing sensitive content on static hosting platforms like GitHub Pages or Netlify, where server-side authentication is unavailable. It encrypts HTML files using AES-256 and the WebCrypto API, producing a static HTML page with an embedded password prompt. Visitors enter the password in their browser, and decryption happens entirely client-side in JavaScript with no dependencies, meaning the encrypted file can be safely hosted anywhere.
StatiCrypt suits developers who need to password-protect individual HTML documents or entire static sites without infrastructure overhead. It works well for sharing sensitive documents, private documentation, or restricted content via static hosting. The tool offers both a web-based encryption interface for one-off use and a CLI for automation in build processes. Users can encrypt single files, batch-process directories, or generate shareable auto-decrypt links. The project notes that v3 requires HTTPS or localhost contexts due to WebCrypto availability; those needing HTTP support should use v2.
Development activity shows consistent maintenance with regular updates addressing user needs. The maintainer actively responds to issues and implements feature requests. The project includes clear migration documentation when significant changes occur. Documentation is thorough, covering CLI usage, configuration options, and technical implementation details. The codebase remains focused on its core encryption functionality without scope creep.