Skip to content

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.

License

Notifications You must be signed in to change notification settings

LunaticGhoulPiano/CC4EmbeddedSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

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.

Usage

  • Compress HTML/XML/CSS/JS/... files using Google htmlcompressor
  • Convert (create) the given directory to a single C file (fsdata)

Requirements

Environment Installation:

Download Assets:

My environment:

How to use

Please first download and install the requirement tools in Requirements section, then read the document:

Project Structure

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

Just a notes for me

Command for packing using pyinstaller with uv under the current project (V2) structure:

PS C:\...\CC4EmbeddedSystem\V2> uv run pyinstaller --noconfirm --onefile --windowed --clean --name "CC4Embedded_V2.0.0" --collect-all "customtkinter" --paths "src" src/main.py

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published