Package Information
Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.1
Author: ZHA30
Available Nodes
Documentation generating…
Documentation
@zha303050/n8n-nodes-suwayomi
Automate Suwayomi libraries, updates, reading history, source browsing, chapters, categories, and downloads in n8n.
[!NOTE]
This development package targets self-hosted n8n 2.49.7 on Node.js 24+, uses Suwayomi-Server4081b05and WebUIe3c7115as references, and still requires live-server verification.
[!WARNING]
Library updates and downloader controls affect shared server processes, writes are not automatically retried, and Refresh can return stored data withstatus: "partial"after a source failure.
Features
One Suwayomi action node provides 33 operations across nine resources, following WebUI navigation and object actions.
- Library: Get Manga with category, title, source, reading and download filters, sorting, categories and chapter statistics, or Update Library, Get Update Status, and Stop Update for the shared updater.
- Updates: Get Updates by chapter discovery time with optional timezone-aware Since and Until filters.
- History: Get History by reading time, including partially read and nonlibrary manga by default.
- Browse: Get Sources, Get Source, or Browse Source with Popular, Latest, and Search modes and plain source names without appended language markers.
- Source filters: Search accepts an empty query and loads text, checkbox, select, tri-state, and sort fields from the selected source, with advanced JSON changes available and stale form definitions rejected.
- Manga: Get stored metadata, Get Chapters, Refresh, Add to Library, Remove from Library, or Change Categories by selecting the complete final set, with an empty set meaning uncategorized.
- Chapter: Get a chapter, Update Read, Bookmarked, or Last Page Read, Download, Cancel Download, Delete Download, or Export CBZ, accepting one chapter per input item.
- Chapter selection: Choose a manga and then its chapter from searchable lists or enter a chapter ID directly, with outdated parent and chapter combinations rejected before writing.
- Download Queue: Get Queue as individual filtered items or one empty-safe Summary, Start, Stop, Retry Failed, Clear Queue, or Move an item to a zero-based queue position.
- Categories: Get Categories, Create, Update, Delete, or Move account categories using one-based positions while protecting the built-in uncategorized grouping.
- Export CBZ: Stream an existing account chapter download into n8n binary storage without marking it as read, using a configurable output field, 100 MiB default size limit, and 120-second default timeout.
- Custom API Call: Execute GraphQL queries or mutations with variables and operation names, or JSON REST requests using the same credentials, deployment subpath, query parameters, and body.
- Authentication: Use UI Login, None, or legacy Basic Auth with the instance URL including its deployment subpath, with login tokens held only in execution memory and cookie-based Simple Login unsupported.
- Workflow data: Reads expose mangaId, chapterId, sourceId, or categoryId for downstream mapping, emit one item per result and zero items for empty lists, and preserve input item linking.
- Write results: Writes return success, noOp, or accepted receipts and disclose partial or uncertain outcomes through writeOutcome error details, so inspect state before repeating a failed write.
- Reading and downloads: Read alone does not reset progress or necessarily record history, explicit Last Page Read including zero records reading time, and an accepted Download requires a later status check before Export CBZ.
- Shared state: Canceling or deleting this account's download may preserve another account's queue item or file, and Clear Queue does not delete completed files or clear every account's download intent.
- IDs and pagination: Source IDs remain exact signed 64-bit strings including local source "0", manga and chapter IDs are positive 32-bit integers, filters apply before Limit, and exhausted page budgets fail instead of silently truncating results.
- Stored chapters workflow: Connect Library → Get Manga to Manga → Get Chapters using
={{ $json.mangaId }}, then map={{ $json.chapterId }}into Chapter actions using By ID mode. - Source workflow: Connect Browse → Browse Source to Manga → Refresh and then Manga → Get Chapters when chapter data needs to be fetched from the source before use.
- Archive workflow: Run Chapter → Download, check Chapter → Get with Include Download Status until downloadStatus.isDownloaded is true, then use Chapter → Export CBZ.
- Development: Run
npm ci,npm test, andnpm run lint, then loaddistthrough N8N_CUSTOM_EXTENSIONS and reload the existing development instance without creating a tarball. - Installation: In self-hosted n8n, open Settings → Community Nodes → Install and enter
@zha303050/n8n-nodes-suwayomi. - Releases: Matching
vX.Y.ZGit tags trigger GitHub Actions to test, build, verify the installed tarball, and publish that artifact to npm with provenance through Trusted Publishing. - Verification: Tests exercise all operations against a focused GraphQL simulator, n8n form normalization, authentication, pagination, writes, item linking, and archive failures, while live sources, concurrent users, permissions, and Agent-tool use require further validation.
- Scope: Extension management, backups, tracking, SyncYomi, migration, chapter image output, and Trigger nodes are deferred, and this early development layout intentionally has no compatibility aliases for replaced actions or parameters.