Z-Library browser and downloader for reMarkable devices
This fork is not on Toltec.
[Note: If you are using a reMarkable 2, you will need rm2fb. This dependency means that Zshelf is not officially supported on versions higher than 3.3.2.1666. See the full list of supported versions here]
- Download the latest release from the Releases page, and unzip it.
- Edit your
config.json
file, as instructed below. - Find your device IP address.
- Move the
backend
folder,config.json
file andzshelf
file in the release to your device to the location/home/root/apps/
[Note: Install a launcher, such as Remux or Oxide to be able to open Zshelf.] You can use the following command to move all at once, replacing the IP address if required.scp -r * [email protected]:/home/root/apps
- SSH into your device. Type the following to turn
zshelf
into an executable.chmod +x /apps/zshelf
- Restart your device, then start Zshelf from your launcher.
As Z-Library does not allow anonymous downloads, you will need to configure your Z-library domain and session cookies to download from your reMarkable. This requires an existing account - free user accounts are limited to 10 books a day.
- Open https://singlelogin.re in your web browser. If this link doesn't work, refer to the masterpost of official Z-library links.
- Log in with your account.
- In any page, open up Console (hit F12 and switch to the Console tab), and run:
document.cookie
It will return a string that contains your cookie. Copy the parts that have remix_userkey
and remix_userid
and ignore the rest.
- Open
config.json
. Enter the URL you used to access Z-library as the"domain"
value. - Enter the string from above as the
"cookie"
value. - Save the file.
By default, Zshelf saves downloaded ebooks to Xochitl. You can skip this by setting "skipXochitl"
to anything other than a null value.
To save your ebooks to another location (I'll add customising save location in Xochitl soon), set "additionalBookLocation"
to the path of the location where you wish to save it (the default value is /home/root/Books
) This option is useful if you use an external ebook reader, such as Koreader, on your reMarkable.
To edit your configuration from within the reMarkable, use a terminal text editor like vim or nano.
This section assumes the use of a Linux based system.
- Set up reMarkable toolchain, NodeJS and
npm
- Run
git clone https://github.com/phthallo/zshelf
andcd
into it. - Source the toolchain to load its environment variables. You will need to do this every time you open a new terminal.
$ source /opt/codex/rm11x/3.1.15/environment-setup-cortexa7hf-neon-remarkable-linux-gnueabi
- Run
qmake
- Run
make
- Run
cd backend
to move to the backend folder. - Run
npm install
. This will generate azshelf
file.
Files saved to Xochitl will appear only after a restart.
Files saved to Xochitl also have the following properties, meaning they will not sync if you do not have Connect.
"deleted": false,
"lastModified": "1",
"lastOpenedPage": 0,
"metadatamodified": false,
"modified": false,
"parent": "",
"pinned": false,
"synced": false,
"type": "DocumentType",
"version": 1,
"visibleName": fileName
- Qt-Quick-Keyboard by mireq