Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
/ reCatchable Public archive

Turn a site into a book. Download a whole website and upload it to your reMarkable.

Notifications You must be signed in to change notification settings

lapwat/reCatchable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This utility has been rewritten in Golang.

  • Because it is fast
  • Because it can be shipped as a single binary

Check out the Go version: https://github.com/lapwat/papeer

reCatchable

Turn a site into a book. Upload it to your reMarkable.

Install

❯ git clone https://gitlab.com/lapwat/reCatchable.git
❯ cd reCatchable
❯ yarn # or npm install

Usage

❯ ./index.js --help
Usage: ./index.js [options]

Options:
      --help        Show help                                                              [boolean]
      --version     Show version number                                                    [boolean]
  -u, --url         Home page url                                                [string] [required]
  -s, --selector    Table of content HTML selector                                          [string]
  -l, --limit       Limit the number of pages downloaded                                    [number]
  -d, --delay       Delay between each page download.                       [number] [default: null]
  -n, --name        Book name, defaults to Home page title                                  [string]
  -a, --author      Author                                      [string] [default: "Unknown author"]
      --upload      Upload book to reMarkable                             [boolean] [default: false]
  -t, --token-file  File to read/write reMarkable token       [string] [default: "remarkable.token"]

Examples:
  ./index.js -u https://www.halfbakedharvest.com/category/recipes -s 'h2 > a'
  ./index.js -u https://dev.to/ -s 'a[id*="article-link-"]' --upload
  ./index.js -u https://vitalik.ca/ -s '.post-link' -l 3 -d 5

Dependencies

Todo

  • Export to MOBI
  • Send to Kindle