Skip to main content

reMarkable Commander

Project description

rMC - CLI/UI/TUI file explorer for reMarkable

Use a Qt5 based UI to manage view, upload, delete content of/to your reMarkable I/II via SSH.

Project page

Usage

Once configured run rmc to start up a TUI, connect to and see a list of content on a (WiFi enabled and switched on) reMarkable device. Drag and drop EPUB and PDF files onto the window to make them available on the device.

Run rmc [ls|list] to list content on the connected device

Run rmc [upload|push] <FILE> [<FILE>] to copy stuff onto the connected device

Run rmc info to see configuration and stuff

Run rmc reboot to .. you know..

Run rmc config-auth <KEY>=<VALUE> ... to configure stuff, e.g.

Please note that currently reMarkable will not recognize file modifications done via SSH - to make new files available you'll have to reboot the device. Run rmc reboot or press the Reboot button to do this via SSH (or reboot it manually).

Configuration

In the UI just enter your credentials, they're getting saved automatically.

The command line interface allows persistant configuration using the config-auth sub-command:

rmc config-auth host=192.168.178.13 password='s0rry_Pl4in+ex+!'

Please note that currently only connection via IP address (rather than hostname) and plaintext password is working. This is subject to change ("of course").

ToDo for v1.0

  • Allow hostnames instead of IP addresses
  • Make use of shared keys and configuration in ~/.ssh/config
  • Support drag&drop to add content in UI
  • Support deletion
  • Support Pdf
  • Support web pages via Pdf

Future features

  • Download and manage notes
  • Make backups
  • Other convenience stuff via SSH, e.g. installing software

Installation

pip3 install [--user] [--upgrade] rmc

Development & Contribution

# provide dependencies, consider also using pyenv
pip3 install -U poetry pre-commit

git clone --recurse-submodules https://projects.om-office.de/frans/rmc.git

cd rmc

# activate a pre-commit gate keeper
pre-commit install

# if you need a specific version of Python inside your dev environment
poetry env use ~/.pyenv/versions/3.10.4/bin/python3

poetry install

License

For all code contained in this repository the rules of GPLv3 apply unless otherwise noted. That means that you can do what you want with the source code as long as you make the files with their original copyright notice and all modifications available.

See GNU / GPLv3 for details.

Remarkable stuff

Make a backup

ssh -t root@reMarkable "tar czvf - /home/root" > "home_root-$(date +'%y%m%d-%H%M%S').tar.gz"
ssh root@10.11.99.1 rm-ssh-over-wlan on
Host rm3
	HostName imx8mm-ferrari
	User root
convert *.* -auto-orient ../pictures.pdf

Read

(nothing here yet)

Notes

ID=codex
NAME="Codex Linux"
VERSION="4.0.772-6-g9c7386f5 (kirkstone)"
VERSION_ID=4.0.772-6-g9c7386f5
PRETTY_NAME="Codex Linux 4.0.772-6-g9c7386f5 (kirkstone)"
DISTRO_CODENAME="kirkstone"
BUILD_MODE_RM="public"
IMG_VERSION="3.14.1.9"

/sys/class/power_supply/max77818_battery/charge_now

rm3

ID=codex-ct-prototype
NAME="Codex Linux"
VERSION="4.0.813 (kirkstone)"
VERSION_ID=4.0.813
PRETTY_NAME="Codex Linux 4.0.813 (kirkstone)"
DISTRO_CODENAME="kirkstone"
BUILD_MODE_RM="public"
IMG_VERSION="3.14.4.0"

/sys/class/power_supply/max1726x_battery/charge_full

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rm_commander-0.3.0.dev1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rm_commander-0.3.0.dev1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file rm_commander-0.3.0.dev1.tar.gz.

File metadata

  • Download URL: rm_commander-0.3.0.dev1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.4 Linux/6.11.2-300.fc41.x86_64

File hashes

Hashes for rm_commander-0.3.0.dev1.tar.gz
Algorithm Hash digest
SHA256 431ce91e387f4b02c9cdd4c537a88b6523fea629c011f0d17e47b49c75bc21ca
MD5 c4b53b870d1b4be6d5b6daecaf21c42a
BLAKE2b-256 0ff56edd24df576e911c30ed72ec73b17617c7ff6391b0fbfe2f04b21aef005c

See more details on using hashes here.

File details

Details for the file rm_commander-0.3.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: rm_commander-0.3.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.4 Linux/6.11.2-300.fc41.x86_64

File hashes

Hashes for rm_commander-0.3.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4096f147e7c4065ce18dd7ca4e8354e260dd82ce83aec48dff173ff49c2fde6
MD5 2c20f136d0765940a2a2179227bfcd33
BLAKE2b-256 32da0a85735fcd41bf83d7dfb7b40415a0b0ff5add8c9a8d7e7bb47de0d03ca2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page