名称: remarkable
描述: 通过 reMarkable Cloud 将文件和网页文章发送到 reMarkable 电子墨水平板。支持上传 PDF、EPUB 文件,或将网页文章转换为可读的电子书并发送到设备。同时支持浏览和管理设备上的文件。当用户提到 reMarkable、希望发送文章或文档到电子阅读器,或管理 reMarkable 云文件时使用。
通过云 API 将文档和网页文章发送到 reMarkable 平板。使用 rmapi 进行云端访问。
安装 rmapi(需要 Go 环境):
cd /tmp && git clone --depth 1 https://github.com/ddvk/rmapi.git
cd rmapi && go build -o /usr/local/bin/rmapi .
首次运行时会提示输入一次性验证码,请在 https://my.remarkable.com/device/browser?showOtp=true 获取。
Python 依赖(用于文章转换):readability-lxml、ebooklib、requests、beautifulsoup4、lxml。
{baseDir}/scripts/remarkable.sh send-article --url "https://example.com/article" --dir /Articles
{baseDir}/scripts/remarkable.sh send-article --url "https://example.com/article" --format pdf --dir /
{baseDir}/scripts/remarkable.sh send-article --url "https://example.com/article" --title "自定义标题" --dir /Articles
功能:获取文章内容,提取可读部分,转换为 EPUB(默认)或 PDF 格式,并上传至 reMarkable 云端。设备将在连接 WiFi 后自动同步。
{baseDir}/scripts/remarkable.sh ls /
{baseDir}/scripts/remarkable.sh ls /Articles
{baseDir}/scripts/remarkable.sh ls "/Book Notes"
输出标识:[f] 表示文件,[d] 表示目录。
{baseDir}/scripts/remarkable.sh upload --file /path/to/document.pdf --dir /Books
{baseDir}/scripts/remarkable.sh upload --file /path/to/book.epub --dir /
{baseDir}/scripts/remarkable.sh mkdir --path /NewFolder
{baseDir}/scripts/remarkable.sh find --name "文章标题"
~/.rmapi 目录