Skip to content

tjogin/local-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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

About

Create local copy of URL, optionally with JS and CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages