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.
- Estrelas
- 236
- Forks
- 27
- Issues abertas
- 0
- Último commit
- há 3 meses
O que é?
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.
Recursos principais
- 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.
Tópicos
Perguntas frequentes
- O que é 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 é gratuito? Qual é a licença?
- staticshield não declara licença. O código é público, mas sem licença você não tem permissão explícita para reutilizá-lo; fale com o autor antes de depender dele.
- staticshield ainda é mantido?
- Atualizado nos últimos 6 meses. O último commit de staticshield foi em 25 de jul. de 2026.
- Para que posso 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.
- Onde consigo staticshield?
- O código-fonte e as instruções de instalação estão no GitHub: https://github.com/wangshengithub/staticshield
Resumo gerado por IA a partir do README do projeto. As estatísticas do GitHub são atualizadas diariamente.
Projetos 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.