Skip to content

The HTML Compressor is a fast and very easy to use PyQT interface that minifies a pasted HTML script by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. After the compressing process, you can copy the generated content

License

Notifications You must be signed in to change notification settings

aymen-mahmoudi/Html-text-Compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Html-text-Compressor

Description

This tool permits the reduction of the size of the HTML file by saving space in the HTML file via some processes like removing the text line breaks, removing tab spaces, etc.

Installation

To run the GUI, I recommend setting up a Python virtual environment (tested and verified under the 3.8.0 version) and adding the required libraries using the following command after cloning the rep (you can just download the rep in case you don't use git):

pip install -r requirements.txt

Usage

You need to copy the raw HTML script in the entry box and press the button. The maximum length of entry and output boxes is 100,000 characters.

screenshot_app.png

Roadmap

  • Add a load button to import the HTML file
  • Transform the project on a desktop application

Support and Contributing

Let me know if you have any suggestions/ideas to enhance those scripts or add further settings. Your suggestions are warmly welcomed.

In case of a problem, It is strongly recommended to post an issue. For a more confidential demand, don't hesitate to email me.

About

The HTML Compressor is a fast and very easy to use PyQT interface that minifies a pasted HTML script by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. After the compressing process, you can copy the generated content

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published