Skip to content
/ rmview Public
forked from bordaigorl/rmview

A live viewer for reMarkable written in PyQt5

License

Notifications You must be signed in to change notification settings

Foxei/rmview

 
 

Repository files navigation

rMview: a fast live viewer for reMarkable

screenshot

Warning

This repo and the code in this repository is currently only tested for the rM2 and not the rM1. It is known that this code does not work on a rM1.

Installation

  1. Clone this repository: git clone https://github.com/Foxei/rmview.
  2. Copy the lz4 program to your reMarkable with scp lz4.arm.static [email protected]:/home/root/lz4
  3. Make it executable with ssh [email protected] 'chmod +x /home/root/lz4'
  4. Copy the rmhead program to your reMarkable with scp rmhead.remarkable.shared [email protected]:/home/root/rmhead
  5. Make it executable with ssh [email protected] 'chmod +x /home/root/rmhead'
  6. Enter the virtual python3 environment.
  7. Install requirements wit pip install -r requirements.txt
  8. Install qt resources with pyrcc5 -o src/resources.py resources.qrc
  9. Execute rmviwe with: python src/rmview.py [config]

Configuration

The supported configuration settings are:

{ // all settings are optional, comments not allowed
  "ssh": {
    "address": "10.11.99.1", // works over WiFi too!
    "username": "root",
    "key": "~/.ssh/id_rsa_remarkable",
    // alternatively to key, "password": "****" is supported
    "timeout": 1 // in seconds
  },
  "orientation": "portrait", // auto for auto-detect, default: landscape
  "pen_size": 10, // set to 0 to disable
  "pen_color": "red",
  "pen_trail": 1000, // set to 0 to disable, default: 200
  "background_color": "black", // default: white
  "fetch_frame_delay": 0.03, // sleep 0.03s on remarkable before fetching new frame (default is no delay)
  "lz4_path_on_remarkable": "/usr/opt/lz4", // default: $HOME/lz4
  "hide_pen_on_press": false // hides pointer when pen touches display, default: true
}

Tested with Python 3.8.5, PyQt 5.15.2, Ubuntu 18.04, reMarkable firmware 2.4.1.3

To Do

  • Settings dialog
  • About dialog
  • Pause stream of screen/pen
  • Build system
  • Bundle
  • Add interaction for Lamy button? (1 331 1 down, 1 331 0 up)
  • Remove dependency to Twisted in vnc branch

Credits

I took inspiration from the following projects:

Icons adapted from designs by Freepik, xnimrodx from www.flaticon.com

Disclaimer

This project is not affiliated to, nor endorsed by, reMarkable AS. I assume no responsibility for any damage done to your device due to the use of this software.

Licence

GPLv3

About

A live viewer for reMarkable written in PyQt5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%