DevOps & CloudDocumentedScanned

supernote-cloud

Access a self-hosted Supernote Private Cloud instance to browse files and folders, upload documents (PDF, EPUB).

Share:

Installation

npx clawhub@latest install supernote-cloud

View the full skill documentation and source below.

Documentation

Supernote Private Cloud

Browse, upload, and manage files on a self-hosted Supernote Private Cloud via its reverse-engineered REST API. Includes article-to-ebook conversion for sending web content to the device.

Setup

export SUPERNOTE_URL=""
export SUPERNOTE_USER="your@email.com"
export SUPERNOTE_PASSWORD="your_password"

Python dependencies (for article conversion): readability-lxml, ebooklib, requests, beautifulsoup4, lxml.

Commands

Send a web article to the device

{baseDir}/scripts/supernote.sh send-article --url "" --format epub --dir-path Document
{baseDir}/scripts/supernote.sh send-article --url "" --format pdf --dir-path "Document/Articles"
{baseDir}/scripts/supernote.sh send-article --url "" --title "Custom Title" --dir-path Document

Fetches article content, extracts readable text with images, converts to clean EPUB or PDF, then uploads to the specified folder. Default format: epub. Default folder: Document.

List directory contents

{baseDir}/scripts/supernote.sh ls
{baseDir}/scripts/supernote.sh ls --path Document
{baseDir}/scripts/supernote.sh ls --path "Note/Journal"
{baseDir}/scripts/supernote.sh ls --dir 778507258886619136

Directory tree

{baseDir}/scripts/supernote.sh tree --depth 2

Find directory ID by path

{baseDir}/scripts/supernote.sh find-dir --path "Document/Books"

Upload a file

{baseDir}/scripts/supernote.sh upload --file /path/to/file.pdf --dir-path Document
{baseDir}/scripts/supernote.sh upload --file /path/to/book.epub --dir-path "Document/Books"
{baseDir}/scripts/supernote.sh upload --file /path/to/file.pdf --dir 778507258773372928 --name "Renamed.pdf"

Check storage capacity

{baseDir}/scripts/supernote.sh capacity

Login (manual)

{baseDir}/scripts/supernote.sh login

Default Folders

FolderPurpose
NoteHandwritten notes (.note files)
DocumentPDFs, EPUBs, documents
InboxIncoming files
ExportExported content
ScreenshotScreenshots
MystyleCustom styles/templates

Notes

  • EPUB is recommended for articles — renders cleanly on e-ink with reflowable text
  • The API is reverse-engineered and unofficial — endpoints may change with firmware updates
  • Directory args accept paths (e.g., "Document/Books") or numeric IDs
  • Some sites block scraping — if fetch fails, try a different URL or use a cached/saved page