Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.33 KB

README.md

File metadata and controls

47 lines (28 loc) · 1.33 KB

HTML Compressor and Hex Converter

HTML Compressor and Hex Converter

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.

Features

  • 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.

Requirements

  • Python 3.x
  • tkinter (comes pre-installed with Python)
  • gzip (comes pre-installed with Python)
  • binascii (comes pre-installed with Python)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/your-repository.git
  2. Navigate to the project directory:

    cd your-repository
  3. Ensure you have Python 3.x installed. tkinter, gzip, and binascii are part of the standard library.

Usage

  1. Run the application:

  2. If not run open with python.

  3. Enter your HTML content into the text area labeled "Enter your HTML content."

  4. Click the "Compress and Convert" button.

  5. View the output in the "Output" section. The hexadecimal byte array and the C-style PROGMEM array will be displayed.