Skip to content

marvelm/erised

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Erised

Build Status Version

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

About

Bookmark and archive webpages from the command line

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published