← 返回
数据分析 中文

reMarkable Tablet Sync

Bidirectional sync with reMarkable tablet via Cloud API (rmapi). Fetch handwritten notes/sketches, process with AI, and push content back. Use for sketch enhancement, journal extraction, or sending documents/images to the tablet.
通过 Cloud API (rmapi) 与 reMarkable 平板双向同步。获取手写笔记或草图,经 AI 处理后回传。支持草图优化、日记提取及向平板发送文档或图片。
coolmanns
数据分析 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 1,480
下载
💾 26
安装
1
版本
#latest

概述

reMarkable Tablet Integration (rmapi)

Bidirectional sync with reMarkable tablet via Cloud API. Fetch sketches and notes, process them (AI enhancement, text extraction), and push content back to the tablet.

Typical Use Cases

  1. Sketch → AI → Tablet loop — Fetch rough sketch → enhance with AI → push polished version back
  2. Journal entries — Fetch handwritten thoughts → interpret → append to memory/journal
  3. Brainstorming — Fetch diagrams/lists → extract structure → add to project docs
  4. Send reading material — Push PDFs/documents to tablet for offline reading
  5. AI art to tablet — Generate images → convert to PDF → push for viewing on e-ink

Bidirectional Pipeline

┌─────────────────────────────────────────────────────────────────┐
│                        FETCH (tablet → agent)                    │
├─────────────────────────────────────────────────────────────────┤
│  reMarkable → Cloud sync → rmapi get → .rmdoc                   │
│                                           ↓                      │
│                              unzip → .rm file → rmc → SVG       │
│                                                      ↓           │
│                                          cairosvg → PNG          │
│                                                      ↓           │
│                               ┌──────────┴──────────┐            │
│                          Text content?         Visual/sketch?    │
│                               ↓                      ↓           │
│                        OCR/interpret          AI image editing   │
│                               ↓                      ↓           │
│                        Add to memory        Enhanced image       │
└─────────────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────────────┐
│                        PUSH (agent → tablet)                     │
├─────────────────────────────────────────────────────────────────┤
│  Image/document → Convert to PDF (if needed) → rmapi put        │
│                                                      ↓           │
│                                           Cloud sync → tablet    │
└─────────────────────────────────────────────────────────────────┘

Prerequisites

1. Install rmapi

Download the latest release from juruen/rmapi (ddvk fork recommended):

# Example for Linux amd64
curl -L https://github.com/ddvk/rmapi/releases/latest/download/rmapi-linux-amd64 -o ~/bin/rmapi
chmod +x ~/bin/rmapi

2. Install conversion tools

pip install --user rmc cairosvg pillow
  • rmc — Converts .rm stroke files to SVG
  • cairosvg — Converts SVG to PNG
  • pillow — Converts PNG to PDF for pushing back

3. Authenticate (ONE-TIME)

  1. Go to https://my.remarkable.com/connect/desktop
  2. Log in and copy the 8-character code
  3. Run rmapi and paste the code when prompted
  4. Token saved to ~/.rmapi — future runs are automatic

Commands

Fetch (Download from tablet)

# List files/folders
rmapi ls
rmapi ls -l -t              # Long format, sorted by time

# Refresh from cloud
rmapi refresh

# Navigate
rmapi cd "folder name"

# Find files
rmapi find --starred /              # Starred items
rmapi find --tag="my-tag" /         # By tag
rmapi find / ".*sketch.*"           # By regex

# Download single file
rmapi get "filename"
rmapi get "Folder/Notebook"

# Download with annotations (best for handwritten content)
rmapi geta "filename"

# Bulk download folder
rmapi mget -o ./sync-folder/ "/My Folder"

Push (Upload to tablet)

# Upload single file (PDF or EPUB only)
rmapi put document.pdf
rmapi put document.pdf "Target Folder/"

# Bulk upload
rmapi mput ./local-folder/ "Remote Folder/"

# Create folder on tablet
rmapi mkdir "New Folder"

Supported formats: PDF, EPUB

Conversion Workflows

Fetch: .rmdoc → PNG

reMarkable notebooks download as .rmdoc (a ZIP archive containing stroke data):

# 1. Download the notebook
rmapi get "Folder/MyNotebook"

# 2. Extract (it's a zip)
unzip "MyNotebook.rmdoc" -d extracted/

# 3. Find the .rm stroke file(s)
# Structure: extracted/<doc-uuid>/<page-uuid>.rm
find extracted -name "*.rm"

# 4. Convert .rm → SVG
rmc -t svg -o page.svg "extracted/<doc-uuid>/<page-uuid>.rm"

# 5. Convert SVG → PNG (reMarkable dimensions: 1404×1872)
python3 -c "
import cairosvg
cairosvg.svg2png(url='page.svg', write_to='page.png', output_width=1404, output_height=1872)
"

Push: Image → PDF

reMarkable only accepts PDF/EPUB, so convert images first:

from PIL import Image

img = Image.open('image.png')
rgb = img.convert('RGB')
rgb.save('image.pdf', 'PDF', resolution=150)

Then push:

rmapi put image.pdf "My Folder/"

Full Workflow Example

Sketch enhancement loop:

# 1. Fetch sketch from tablet
rmapi get "Sketches/MyDrawing"

# 2. Extract and convert to PNG
unzip MyDrawing.rmdoc -d MyDrawing_extracted/
RM_FILE=$(find MyDrawing_extracted -name "*.rm" | head -1)
rmc -t svg -o sketch.svg "$RM_FILE"
python3 -c "import cairosvg; cairosvg.svg2png(url='sketch.svg', write_to='sketch.png', output_width=1404, output_height=1872)"

# 3. [Your AI enhancement step here]
# Example: use any image-to-image AI tool to enhance sketch.png → enhanced.png

# 4. Convert to PDF and push back
python3 -c "from PIL import Image; Image.open('enhanced.png').convert('RGB').save('enhanced.pdf', 'PDF', resolution=150)"
rmapi put enhanced.pdf "Sketches/"

Sharing Strategies

Create a dedicated sync folder on your tablet, or use:

  • Tags — Tag items for discovery with rmapi find --tag
  • Stars — Star items for quick access with rmapi find --starred

Notes

  • Cloud sync required — Tablet must sync to cloud before files are available (pull down to refresh on tablet)
  • Format.rmdoc is a ZIP containing JSON metadata + .rm binary stroke files
  • Warningsrmc may show warnings about newer format versions — usually still works
  • Dimensions — reMarkable display is 1404×1872 pixels (portrait)
  • Text extraction — For handwritten text, use vision models to interpret visually rather than traditional OCR

Troubleshooting

IssueSolution
-----------------
rmapi not connectingRe-authenticate: delete ~/.rmapi and run rmapi again
File not found after uploadWait for cloud sync, or refresh tablet manually
rmc format warningsUsually safe to ignore; output still generated
SVG looks emptyCheck if the correct .rm file was used (multi-page notebooks have multiple)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 22:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 162 📥 59,660
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,944
content-creation

Canva Connect

coolmanns
通过 Connect API 管理 Canva 设计、资产和文件夹。支持列举、搜索、整理设计与文件夹,导出设计(PNG/PDF/JPG),上传图片至素材库,自动填充品牌模板及创建空白设计。不支持编辑设计内容、上传文档或 AI 生成。适用于资
★ 4 📥 4,318