Based on reStream
Please note that this project is still under heavy development. If you run this program, anyone on your network could connect to your reMarkable and stream the contents of your screen.
You need
- Gstreamer
- Gstreamer Plugins Base
- Gstreamer Plugins Good
sudo apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-goodsudo zypper install gstreamer gstreamer-plugins-base gstreamer-plugins-goodThe must be running.
To install it, first build (see later in this document) and then copy it to your reMarkable.
scp review-server.arm.static root@${REMARKABLE_IP}:review-serverAnd then start it manually.
ssh root@${REMARKABLE_IP} 'RUST_LOG=trace ./review-server --port 6680'Note: server does not exit when you abort the SSH command above. Consider running the server in a SSH session.
TODO: Install it as service
Options for the client can be set as command line options or environment variables. Command line options override the environment variables.
Values with no default value in their description have to be set (for example --ssh-key).
Usage: review-client [OPTIONS]
Options:
--remarkable-ip <remarkable-ip> IP of the reMarkable tablet (default: 10.11.99.1)
--tcp-port <tcp-port> TCP port for video stream (default: 6680)
--framerate <framerate> Framerate (default: 50)
--dark-mode Dark mode - invert colors (default: false)
--show-cursor Show cursor (default: false)
-h, --help Print help
-V, --version Print version
Corresponding keys:
REMARKABLE_IPREMARKABLE_TCP_PORT
REMARKABLE_FRAMERATEREMARKABLE_DARK_MODEREMARKABLE_SHOW_CURSOR
Just build it
cargo build --release --bin review-clientOr with dagger
dagger call build-client --source . export --path review-clientWith dagger
dagger call build-server --source . export --path review-server.arm.staticsudo zypper in gstreamer-devel gstreamer-plugins-base-devel