Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usamahacker0/compress_and_convert_to_hex
This is for compress and convert to hex
https://github.com/usamahacker0/compress_and_convert_to_hex
Last synced: about 2 months ago
JSON representation
This is for compress and convert to hex
- Host: GitHub
- URL: https://github.com/usamahacker0/compress_and_convert_to_hex
- Owner: usamahacker0
- Created: 2024-06-30T04:54:51.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T15:52:27.000Z (6 months ago)
- Last Synced: 2024-07-25T18:14:44.084Z (6 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTML Compressor and Hex Converter
![HTML Compressor and Hex Converter](https://github.com/user-attachments/assets/d227203e-c744-4d75-b9b7-89f823f7e98b)
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:
```bash
git clone https://github.com/your-username/your-repository.git
```2. Navigate to the project directory:
```bash
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.