Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelmior/zotero-remarkable
Sync papers from Zotero to a reMarkable tablet
https://github.com/michaelmior/zotero-remarkable
remarkable-tablet zotero zotero-api
Last synced: about 1 month ago
JSON representation
Sync papers from Zotero to a reMarkable tablet
- Host: GitHub
- URL: https://github.com/michaelmior/zotero-remarkable
- Owner: michaelmior
- Created: 2018-03-18T00:56:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T16:05:13.000Z (over 4 years ago)
- Last Synced: 2024-10-17T05:34:33.338Z (about 2 months ago)
- Topics: remarkable-tablet, zotero, zotero-api
- Language: PHP
- Homepage: https://michael.mior.ca/blog/zotero-remarkable-sync/
- Size: 12.7 KB
- Stars: 163
- Watchers: 9
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-reMarkable - zotero-reMarkable - Script to sync PDFs from the [Zotero](https://www.zotero.org/) reference manager. (Cloud Tools / Launchers)
README
# Zotero reMarkable sync
This uses the reverse engineered [ReMarkable API](https://github.com/splitbrain/ReMarkableAPI) library to automatically transfer files from a Zotero collection to a reMarkable folder.
When files have been uploaded, they are then removed from the Zotero collection.
Run this script periodically to continually transfer uploaded files.Currently, the environment variables in the table below must be defined.
You can use a [`.env` file](https://github.com/vlucas/phpdotenv) or define them any other way you choose.| Name | Description |
|--------------------|----------------------------------------------------|
|`ZOTERO_USER` | Zotero user ID |
|`ZOTERO_API_KEY` | Zotero API key |
|`ZOTERO_COLLECTION` | Collection key to use in Zotero |
|`WEBDAV_URL` | URL of the WebDAV server hosting your Zotero files |
|`WEBDAV_AUTH` | `username:password` for WebDAV authentication |
|`REMARKABLE_TOKEN` | reMarkable API token |
|`REMARKABLE_FOLDER` | reMarkable destination folder (default /Zotero) |Zotero user ID and API key can be found on the [settings](https://www.zotero.org/settings/keys) page.
The Zotero collection key can be found as the last component in the URL path when browsing on the Web interface.
For example in the URL below, the collection key is `ABCDEFG`.https://www.zotero.org/michaelmior/items/collectionKey/ABCDEFG
The reMarkable API token is generated by [ReMarkable API](https://github.com/splitbrain/ReMarkableAPI).
You will need a one-time code generated from [reMarkable](https://my.remarkable.com/).
With the code, run `remarkable.php register YOUR_CODE_HERE`.
This will generate a file `auth.token` which contains the key.