A tiny tool for Windows to compress front-end files and convert them into a single C file, in order to minimize memory usage while also being convenient for embedded system development.
- Compress HTML/XML/CSS/JS/... files using Google htmlcompressor
- Convert (create) the given directory to a single C file (fsdata)
- Java JDK 25 x64 bit
- htmlcompressor-1.5.3.jar
- Note: You can have multiple version, the script will choose the latest one
- yuicompressor-2.4.8.jar
- Note: You can have multiple version, the script will choose the latest one
- msvcr100d.dll version 10.0.40219.325 32 bit
- makefsdata.exe was given by my colleague, but you can compile the source code on your own
Please first download and install the requirement tools in Requirements section, then read the document:
CC4EmbeddedSystem
├── V1
│ ├── README.md
│ └── CC4EmbeddedSystem.ps1
├── V2
│ ├── README.md
│ ├── src
│ │ ├── main.py
│ │ ├── utils.py
│ │ └── CC_Errs.py
│ ├── .python-version
│ ├── pyproject.toml
│ └── uv.lock
├── .gitignore
├── LICENSE
└── README.md
PS C:\...\CC4EmbeddedSystem\V2> uv run pyinstaller --noconfirm --onefile --windowed --clean --name "CC4Embedded_V2.0.0" --collect-all "customtkinter" --paths "src" src/main.py