erised
A CLI for archiving websites locally
Last updated 2 years ago by marvel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install erised 
SYNC missed versions from official npm registry.

Erised

Build Status

Usage:
  erised list
  erised <url> [--tags=<tags>]

Options:
  --tags=<tags> String of tags (e.g. nodejs,backend,job)

Examples

$ npm install -g erised
$ erised 'http://localhost:8000'
$ erised 'https://google.com'

$ erised list
{"id":1,"title":"Directory listing for /","url":"http://localhost:8000","html":"/home/user/.erised/archive/482157757.html","pdf":"/home/user/.erised/archive/482157757.pdf","screenshot":"/home/user/.erised/archive/482157757.png","createdAt":"2017-03-04T05:00:41.036Z","updatedAt":"2017-03-04T05:00:41.036Z"}
{"id":2,"title":"Google","url":"https://google.com","html":"/home/user/.erised/archive/107346023.html","pdf":"/home/user/.erised/archive/107346023.pdf","screenshot":"/home/user/.erised/archive/107346023.png","createdAt":"2017-03-04T05:14:27.823Z","updatedAt":"2017-03-04T05:14:27.823Z"}

$ erised list | grep 'google.com' | jq
{
  "id": 2,
  "title": "Google",
  "url": "https://google.com",
  "html": "/home/user/.erised/archive/107346023.html",
  "pdf": "/home/user/.erised/archive/107346023.pdf",
  "screenshot": "/home/user/.erised/archive/107346023.png",
  "createdAt": "2017-03-04T05:14:27.823Z",
  "updatedAt": "2017-03-04T05:14:27.823Z"
}

The archived webpages will be stored in ~/.erised.

~/.erised
├── archive
│   ├── 482157757.html
│   ├── 482157757.pdf
│   └── 482157757.png
└── erised.sqlite3

Current Tags

  • 3.3.0                                ...           latest (2 years ago)

20 Versions

  • 3.3.0                                ...           2 years ago
  • 3.2.0                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 2.9.0                                ...           3 years ago
  • 2.8.0                                ...           3 years ago
  • 2.7.1                                ...           3 years ago
  • 2.7.0                                ...           3 years ago
  • 2.6.0                                ...           3 years ago
  • 2.5.0                                ...           3 years ago
  • 2.4.0                                ...           3 years ago
  • 2.3.1                                ...           3 years ago
  • 2.3.0                                ...           3 years ago
  • 2.2.2                                ...           3 years ago
  • 2.2.1                                ...           3 years ago
  • 2.2.0                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 4
Last Day 1
Last Week 0
Last Month 1
Dependencies (11)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |