Skip to content

Instantly share code, notes, and snippets.

View Jayy001's full-sized avatar
💻
Programming

Jacob Jayy001

💻
Programming
View GitHub Profile
@Jayy001
Jayy001 / ReSharing.md
Last active September 22, 2024 17:58
Taking & sharing screenshots on the ReMarkable device

Often when discussing with others or working, I find myself using the remarkable to draw out and explain concepts. However, a real problem I had was being able to quickly transfer whatever I drew onto discord, bookstack or [insert other software name] I was using — by the time I got around to posting the image, the conversation was long gone.

I've come up with a solution that'll automatically handle this process for you and directly send it to your clipboard. The only requirement is installing Bufshot on the device. (Also CopyQ if you are doing this on Linux, as surpingisly windows has a built-in PS function to handle the clipboard)

Note: If you're an Oxide user, you can replace bufshot with rot screen call screenshot to save ~2 seconds plus reduce storage overhead

Replace rmIP with the ReMarkable IP address - note that you'l

@Jayy001
Jayy001 / ReMarkable Web Sync.md
Last active September 25, 2023 18:56
ReMarkable Fast Full PDF Sync

How to use

webInterface.sync("Root", overwrite=True) # Syncs all documents & folders to a local folder called "Root", overwriting previous files
webInterface.sync("Root", remoteFolder='maths') # Syncs all documents & folders from maths folder to "Root" local folder, not overwriten current files
webInterface.sync("Root", remoteFolder='maths' recursive=False) # Syncs only documents from maths folder to "Root" local folder (with no recursion)

How it works

This uses the USB storage web interface API (documented at https://remarkable.guide/tech/usb-web-interface.html) to extract & download the files. For the main sync, it recursivley traverses each folder from root and returns the documents in an array that then gets all downloaded.

@Jayy001
Jayy001 / README.md
Created January 25, 2024 23:13
ReMarkable Web Interface over Internet

Summary

This will allow you to access your remarkable files & be able to upload new ones anywhere in the world so long as the device has an internet connection. Any version of the device will work - no toltec installation needed.

Installing the interface modifications

wget https://raw.githubusercontent.com/rM-self-serve/webinterface-onboot/master/install-webint-ob.sh && bash install-webint-ob.sh && source ~/.bashrc
webinterface-onboot apply-hack
systemctl enable --now webinterface-onboot
wget https://raw.githubusercontent.com/rM-self-serve/webinterface-upload-button/master/install-webint-upldbtn.sh && bash install-webint-upldbtn.sh