luffyxak/zix — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Node command line tool called Zix that turns any folder into one self contained HTML file people can open in a browser and share anywhere.

The user should be able to run something like zix pack ./my-notes or npx zix pack ./my-notes, and get a single .zix.html file. The page should feel like a tiny offline website, with a folder tree, search, markdown rendering, syntax highlighted code, image previews, plain text viewing, and download links for unsupported binary files. It should have light, dark, and auto theme options.

Add an optional password flag that encrypts the bundled files client side using WebCrypto AES GCM with PBKDF2, then asks for the password in the browser before showing anything. No server, no tracking, no external fonts or network requests.

Please include normal CLI options for output file, title, theme, max file size, include and exclude globs, quiet mode, help, and version. Add tests and a simple example folder so I can try it locally.

Want more depth? Deep Reverse