Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hazendaz/htmlcompressor
Automatically exported from code.google.com/p/htmlcompressor
https://github.com/hazendaz/htmlcompressor
compression css html xml
Last synced: 20 days ago
JSON representation
Automatically exported from code.google.com/p/htmlcompressor
- Host: GitHub
- URL: https://github.com/hazendaz/htmlcompressor
- Owner: hazendaz
- License: other
- Created: 2015-04-12T02:09:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T20:12:24.000Z (25 days ago)
- Last Synced: 2024-10-22T14:20:05.170Z (25 days ago)
- Topics: compression, css, html, xml
- Language: Java
- Size: 8.43 MB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# HtmlCompressor #
[![Java CI](https://github.com/hazendaz/htmlcompressor/workflows/Java%20CI/badge.svg)](https://github.com/hazendaz/htmlcompressor/actions?query=workflow%3A%22Java+CI%22)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.github.hazendaz/htmlcompressor/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.hazendaz/htmlcompressor)
[![Apache 2](http://img.shields.io/badge/license-Apache%202-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)![hazendaz](src/site/resources/images/hazendaz-banner.jpg)
See site page [here](https://hazendaz.github.io/htmlcompressor/)
Small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.
## PACKAGE CONTENT ##
- ```/bin``` contains main ${project.artifactId}-${project.version}.jar binary, as well as several extra jars (could be useful for IDE integration)
- ```/doc``` javadocs
- ```/src``` sources
- ```/lib``` dependencies (for using with a command line compressor or non-Maven projects)
- ```pom.xml``` Maven POM file## USAGE ##
- For java projects add ${project.artifactId}-${project.version}.jar library to your project's classpath
- For a command line usage run: ```java -jar ${project.artifactId}-${project.version}.jar -h``` to get a brief description of available parameters.Please refer to http://code.google.com/p/htmlcompressor/ for the detailed documentation.
## PROJECT BUILD ##
- Install JDK 11+ (https://www.oracle.com/java/technologies/downloads/)
- Install Maven 3.9.1+ (http://maven.apache.org/download.html)
- Run build.bat or build.sh
- Compiled binaries will be placed in /target subdirectory## CHANGELOG ##
- Changelog for 1.5.3 and before found [here](CHANGELOG.md)## Looking to help ##
- A lot of docuemntation is still at google code, a good getting started pull request would be to work on translate that data over. The original export only exported the issues and source code. Thus far the TODO wiki is 100% copied over, The change log is copied over too but missing links. Need all documentation copied over.