A end-to-end encrypted messaging app and network that uses no user identifiers, with iOS, Android, desktop and terminal clients.
wangshengithub/staticshield
A zero-dependency Node.js tool that encrypts HTML pages (or whole static sites) into self-decrypting files that unlock in the browser with a password.
- Estrellas
- 236
- Forks
- 27
- Issues abiertos
- 0
- Último commit
- hace 3 meses
¿Qué es?
StaticShield encrypts a single HTML file, or a whole multi-file site, into one self-contained .html file. Visitors see only a password card until they enter the correct password, and the original page is then restored in the browser using WebCrypto. The output is plain static HTML, so it can be hosted on GitHub Pages, object storage, Nginx, or opened locally via file://.
Encryption uses AES-256-CBC with PBKDF2 key derivation (SHA-256 by default, or SHA-512 optionally) at 1,000,000 iterations, and HMAC-SHA256 verifies integrity before decryption. Encryption runs locally through a command-line script or a local web GUI, and the project has no runtime dependencies. The tool is aimed at gating access to internal documents, paid content previews, or temporary private pages, not at resisting determined reverse engineering.
Funciones clave
- 01Encrypts single HTML files or whole sites with `--bundle`, inlining CSS, JS and images.
- 02Decrypts in the browser with WebCrypto and needs no backend.
- 03Supports a CLI for batch processing and a local Web GUI.
- 04Offers optional remember-me, share links with the password in the URL hash, and password hints.
- 05Generates random passwords with a CSPRNG via `--gen-pwd`.
- 06Supports layered encryption by encrypting an already encrypted page again.
Casos de uso
- Sharing an internal document on a public static host while requiring a password.
- Previewing paid or members-only content behind a simple password gate.
- Publishing a temporary private page on GitHub Pages or an object storage bucket.
- Encrypting a multi-page static site into a zip for password-protected distribution.
Temas
Preguntas frecuentes
- ¿Qué es staticshield?
- A zero-dependency Node.js tool that encrypts HTML pages (or whole static sites) into self-decrypting files that unlock in the browser with a password. StaticShield encrypts a single HTML file, or a whole multi-file site, into one self-contained .html file. Visitors see only a password card until they enter the correct password, and the original page is then restored in the browser using WebCrypto. The output is plain static HTML, so it can be hosted on GitHub Pages, object storage, Nginx, or opened locally via file://.
- ¿staticshield es gratuito? ¿Qué licencia tiene?
- staticshield no declara ninguna licencia. Su código es público, pero sin licencia no tienes permiso explícito para reutilizarlo; consulta al autor antes de depender de él.
- ¿staticshield sigue mantenido?
- Actualizado en los últimos 6 meses. El último commit de staticshield fue el 25 jul 2026.
- ¿Para qué puedo usar staticshield?
- Sharing an internal document on a public static host while requiring a password. Previewing paid or members-only content behind a simple password gate. Publishing a temporary private page on GitHub Pages or an object storage bucket. Encrypting a multi-page static site into a zip for password-protected distribution.
- ¿Dónde consigo staticshield?
- El código fuente y las instrucciones de instalación están en GitHub: https://github.com/wangshengithub/staticshield
Resumen generado por IA a partir del README del proyecto. Las estadísticas de GitHub se actualizan a diario.
Proyectos relacionados
Open-source disk encryption software for creating encrypted volumes and partitions, forked from TrueCrypt 7.1a with security enhancements.
A self-hosted, email-first dead man's switch that delivers end-to-end encrypted messages to your loved ones if you stop checking in.
Browser-based terminal access that lets you run, monitor and command shell sessions and AI coding agents from any device.
An agent skill that turns an AI agent's answer to a hard question into one offline HTML page with diagrams, tables and layout.
Command-line tool and library for editing CapCut / JianYing draft projects as local JSON, with no API or server needed.