This project provides a graphical user interface (GUI) application to compress HTML content and convert it into a hexadecimal format. The compressed data is then formatted as a C-style PROGMEM array.
- Compress HTML content using gzip.
- Convert compressed data to hexadecimal format.
- Optionally format the hexadecimal data as a C-style PROGMEM array for use in embedded systems.
- Python 3.x
tkinter
(comes pre-installed with Python)gzip
(comes pre-installed with Python)binascii
(comes pre-installed with Python)
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Navigate to the project directory:
cd your-repository
-
Ensure you have Python 3.x installed.
tkinter
,gzip
, andbinascii
are part of the standard library.
-
Run the application:
-
If not run open with python.
-
Enter your HTML content into the text area labeled "Enter your HTML content."
-
Click the "Compress and Convert" button.
-
View the output in the "Output" section. The hexadecimal byte array and the C-style PROGMEM array will be displayed.