Skip to main content

Remarking


license PRs welcome code with hearth by sabidib Documentation Status

About

Remarking is a command line tool for extracting highlights from documents on your reMarkable tablet.

Remarking makes it as easy as possible to extract highlights from your annotated documents.

Remarking demo

Remarking serves to be the first part of a highlight extraction pipeline.

This means, you can use Remarking to extract your highlights for then futher processing such as:

  • Sending it to a service
  • Combining it with another collection of highlights
  • Further filtering of highlights with more tooling

I found that there was no easy way of extracting highlights from the reMarkable. There were quite a few tools that focussed solely on extracting the highlights from the downloaded pdfs. However, nothing made the process as easy as specifiying the folder to scan for documents.

Installation

Requirements

You will need at least:

  • Python 3.7+
  • Pip

Install

To get started you can install the package from pip with:

pip3 install remarking

The remarking command should then be available for you to use.

Usage

Check out the docs for help, or run remarking --help.

Token

Before you start you will need to grab a one-time authorization key from https://my.remarkable.com/device/connect/desktop. This code is used to access the reMarkable cloud.

rmapy is used to access the reMarkable Cloud. After authorizing the first time, the tool will store an auth token in ~/.rmapi for future use. You won't need to re-authorize by providing the token again until you deauthorize the key.

You can specify the token through the REMARKING_TOKEN env var in addition to via command line with --token.

Modes

There are two main modes of usage of Remarking: run and persist.

run

remarking run will run the default extractors on all passed documents and folders. Highlights extracted are then output using the writer subcommand passed.

remarking run json books

This command will run the default extractors on all documents in the books folder and output the highlights as json.

persist

remarking persist performs the same extraction on documents as run, however it maintains state of previously seen documents and highlights.

By default it creates a remarking_database.sqlite3 database file in the current working directory that keeps track of seen highlights and documents.

You can also use your own database by providing the --sqlalchemy argument with a sqlalchemy connection string.

remarking persist json books

This command will run the default extractors on all documents in the books folder and output the highlights as json.

All documents and their highlights found would also be added to the sqlite3 database remarking_database.sqlite3.

A second run would return no new highlights if the documents in the books folder are not modified.

Examples

You can check out some examples in the examples section of the docs.

Roadmap

See the open issues for a list of proposed features (and known issues).

Built With

Support

Reach out to the maintainer at one of the following places:

Contributing

First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

We have set up a separate document containing our contribution guidelines.

Thank you for being involved!

Authors & contributors

The original setup of this repository is by Samy Abidib.

For a full list of all authors and contributors, check the contributor's page.

Security

Remarking follows good practices of security, but 100% security can't be granted in software. Remarking is provided "as is" without any warranty. Use at your own risk.

For more info, please refer to security.

License

This project is licensed under the GPL v3 license.

See LICENSE for more information.

Acknowledgements

Metadata

Release files for remarking 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for remarking 0.1.4
File Size Uploaded Provenance Actions
remarking-0.1.4.tar.gz 39.4 kB Without provenance Details for remarking-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for remarking 0.1.4
File Interpreter ABI Platform Actions
remarking-0.1.4-py3-none-any.whl Python 3 none any Details for remarking-0.1.4-py3-none-any.whl

Total release size: 84.6 kB

Release files / remarking-0.1.4.tar.gz

Download URL remarking-0.1.4.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
be6516829969af6a23cb1fb33e6c082b14afa8d2fc12b00139959b21020ebfe9
BLAKE2b-256 checksum
How to use checksums
0f35354035b62047e6b3e45feb5597ac588c383dbfbac382f3844ae9afbf0071
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release files / remarking-0.1.4-py3-none-any.whl

Download URL remarking-0.1.4-py3-none-any.whl
Size 45.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40f7228af1f6a94ee70eac2b061750a53609e8b961752ab63ee75c0d632a94b7
BLAKE2b-256 checksum
How to use checksums
27e0d08a441622b2730a0ec1e2ed136954b0b016d4b8ac3f23f0f7f8cc46ab97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Security for remarking 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page