cbetta / snapshotify

A simple tool for backing up a full site into a static instance.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snapshotify

A simple tool for backing up a full site into a static instance.

To install

gem install snapshotify

Quick start

> snapshotify https://example.com
................
> snapshotify serve example.com
[2017-10-15 13:30:57] INFO  WEBrick 1.3.1
[2017-10-15 13:30:57] INFO  ruby 2.4.2 (2017-09-14) [x86_64-darwin16]
[2017-10-15 13:30:57] INFO  WEBrick::HTTPServer#start: pid=7103 port=8000

g

To fetch website

snapshotify [starting_url] [--debug]

To serve

snapshotify serve [domain_name]

Todo

  • Add tests
  • Add code to limit hops
  • Add code to limit domains to scrape
  • Fix bugs in asset rewriting

About

A simple tool for backing up a full site into a static instance.

License:MIT License


Languages

Language:Ruby 100.0%