Incorporates external dependencies into HTML file using data: URI scheme
Haskell
Latest commit 167926f Nov 17, 2011 @jgm Depend on tagsoup >= 0.12.5.
This version fixes escaping inside script tags.

README.markdown

standalone-html is a simple filter that tries to create a standalone HTML file by incorporating scripts, styles, and images using 'data:' URIs, thus eliminating external dependencies.

Installing:

cabal install

Usage:

standalone-html < myfile.html > mynewfile.html