Script to merge html+css+js+img into one standalone HTML file.
PHP JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sample
.gitignore
README
kompalator.php

README

kompalator by Sebastian Volland

Script to merge html+css+js+img into a standalone HTML file.

Processes:

 * <script src="..."/> => <script>...</script>
 * <link href="..."/> => <style>...</style>
 * <img src="..."/> => <img src="datauri:..."/>

Uses yuicompressor to minify js and css. Place yuicompressor*.jar into
the same directory as kompalator.php.

Usage: ./kompalator.php yourfile.html > output.html