Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/telamon/stonecurse

Embeds all resources of a webpage into a single HTML file.
https://github.com/telamon/stonecurse

Last synced: about 1 month ago
JSON representation

Embeds all resources of a webpage into a single HTML file.

Awesome Lists containing this project

README

        

Stone Curse
-----------

This class takes an URL as input and inlines all references to
javascripts, stylesheets and images into the html.

usage:

> File.open('goog.html', 'w'){ |f|
> f.write Stonecurse.new("http://google.com").petrify
> }

I came up with this idea when I was about to fall asleep but
I have to confess that I have no idea what to use this class for.
Maybe you can figure it out.