collapsify

Inlines all of the JavaScripts, stylesheets, images, fonts etc. of an HTML page.

Collapsify

Inlines all of the JavaScripts, stylesheets, images, fonts etc. of an HTML page.

Install this binary globally with npm:

npm install -g collapsify

Then run the collapsify command. By default, Collapsify listens on localhost port 8020. URIs should be passed via a query string as the value of the url key: http://localhost:8020/?url=http://example.com

As a note, collapsify -? has more usage information.