https://github.com/cbetta/snapshotify
A simple tool for backing up a full site into a static instance.
https://github.com/cbetta/snapshotify
Last synced: about 1 year ago
JSON representation
A simple tool for backing up a full site into a static instance.
- Host: GitHub
- URL: https://github.com/cbetta/snapshotify
- Owner: cbetta
- License: mit
- Created: 2016-10-22T13:56:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T14:39:18.000Z (over 3 years ago)
- Last Synced: 2024-10-31T13:11:44.418Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 2.04 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snapshotify
A simple tool for backing up a full site into a static instance.
## To install
```sh
gem install snapshotify
```
## Quick start
```sh
> 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
```sh
snapshotify [starting_url] [--debug]
```
## To serve
```sh
snapshotify serve [domain_name]
```
## Todo
* Add tests
* Add code to limit hops
* Add code to limit domains to scrape
* Fix bugs in asset rewriting