Skip to content

jobtalle/squish.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Squish.py

A web app compressor utility.

This works by inlining source files referenced by an HTML page. It currently inlines and compresses the following sources:

  • CSS
  • Javascript
  • GLSL shaders (found as strings inside javascript)

This is a tool I use personally; it works for my coding style, but it may be incompatible with others.

Usage

python squish.py <source> <target>

Source is the source HTML file containing references to included CSS and JS, target should be another HTML file where everything is inlined.

Flags

Flag Usage
--advanced-cc Use advanced closure compiler optimizations

About

An HTML compressor utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages