https://github.com/lapwat/reCatchable
Turn a site into a book. Download a whole website and upload it to your reMarkable.
https://github.com/lapwat/reCatchable
ebook epub remarkable remarkable-tablet remarkable-tablets scrape scraper
Last synced: 11 days ago
JSON representation
Turn a site into a book. Download a whole website and upload it to your reMarkable.
- Host: GitHub
- URL: https://github.com/lapwat/reCatchable
- Owner: lapwat
- Archived: true
- Created: 2021-01-25T17:58:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-14T20:27:50.000Z (over 3 years ago)
- Last Synced: 2024-11-05T13:43:34.264Z (5 months ago)
- Topics: ebook, epub, remarkable, remarkable-tablet, remarkable-tablets, scrape, scraper
- Language: JavaScript
- Homepage: https://papeer.tech
- Size: 201 KB
- Stars: 66
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rainmana - lapwat/reCatchable - Turn a site into a book. Download a whole website and upload it to your reMarkable. (JavaScript)
- awesome-reMarkable - reCatchable - Turn websites into ebooks, upload them to reMarkable. (Cloud Tools / Launchers)
README
This utility has been rewritten in Golang.
- Because it is fast
- Because it can be shipped as a single binaryCheck out the Go version: https://github.com/lapwat/papeer
# reCatchable
Turn a site into a book. Upload it to your reMarkable.
## Install
```sh
❯ git clone https://gitlab.com/lapwat/reCatchable.git
❯ cd reCatchable
❯ yarn # or npm install
```## Usage
```sh
❯ ./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
- [`readability`](https://github.com/mozilla/readability) Extract content from pages
- [`epub-gen`](https://github.com/cyrilis/epub-gen) Convert HTML to EPUB
- [`reMarkable-typescript`](https://github.com/Ogdentrod/reMarkable-typescript) Upload EPUB to reMarkable## Todo
- [ ] Export to MOBI
- [ ] Send to Kindle