minify-obfuscate-cli

A high-performance Python orchestrator for automated web asset optimization and source code protection.

minify-obfuscate-cli provides an automated build pipeline to minify HTML/CSS and obfuscate JavaScript in bulk. Designed for developers who need to protect their intellectual property and optimize production delivery without manual overhead.


🚀 Prerequisite Setup

This tool leverages industry-standard engines. You must have Node.js installed on your system.

Before running the packer, install the required global dependencies:

npm install -g javascript-obfuscator clean-css-cli html-minifier-terser

🛠 Usage

The script creates an isolated /dist_package directory to prevent overwriting your source code. Each execution generates a unique build folder to maintain version integrity.

Basic Command

Navigate to the root of the repository and run:

python src/packer.py "path/to/your/project"

Advanced Flags

You can skip specific processing stages using the following flags:

Example:

python src/packer.py "C:/Projects/MyApp" --no-html

📦 Technical Features


⭐ Support & Contribution

If this tool streamlines your workflow, consider giving it a Star. It supports the development of future security-first utilities.

License: MIT
Engineering Focused. Security Driven.