Skip to content

usamahacker0/compress_and_convert_to_hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

This is for compress and convert to hex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages