Create local copy of URL, optionally with JS and CSS
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.txt
local-copy

README.txt

Creates a local copy of a URL for inspection, debugging, whatever.
Optionally also downloads and links local copies of CSS and JavaScript.

Installation:

    Install nokogiri (http://nokogiri.org)
    Install jsbeautifier command line tool (http://jsbeautifier.com)
    git clone git://github.com/tjogin/local-copy.git
    cp local-copy/local-copy /usr/local/bin/local-copy

Usage:

    local-copy http://google.com

Result:

    File: google-local/local-copy.html
    Inserted <base href="http://google.com"> in head


BSD license: go nuts
Author: tomas@jogin.com 31 May 2011
github.com/tjogin/local-copy