n8n-nodes-codex
v1.2.0
Published
Codex digital library node for n8n
Maintainers
Readme
n8n-nodes-codex
This is an n8n community node for Codex, a self-hosted digital library management system for comics, manga, and ebooks.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
Credentials
To use this node, you need to configure Codex API credentials:
- In n8n, go to Credentials > New
- Search for "Codex API"
- Enter your Codex server URL (e.g.,
https://your-codex-server.com) - Choose your authentication method:
- API Key: Use an API key generated from your Codex server
- JWT Token: Use a JWT token for authentication
Resources
This node supports the following Codex resources:
| Resource | Operations | |----------|------------| | Admin | Server administration operations | | API Key | Create, Delete, Get, List, Update API keys | | Book | Analyze, Delete Progress, Get, List, Update Metadata, Update Progress | | Duplicate | Duplicate detection and management | | Filesystem | File and directory operations | | Genre | Genre management | | Library | Scan, Analyze, Get Books, Get Series, and 20+ more operations | | Metrics | Analytics and usage metrics | | Miscellaneous | Settings, Setup, Thumbnails, Progress, Scans | | Series | Series management operations | | Tag | Tag management | | Task | Background task operations | | User | User management | | User Preference | Preferences, Ratings, Integrations |
Compatibility
- Requires n8n version 1.0.0 or later
- Tested with Codex API v1
Usage
Example: List all books in a library
- Add a Codex node to your workflow
- Select your Codex credentials
- Choose Library as the resource
- Choose Get All Books as the operation
- Enter the Library ID
- Execute the workflow
Example: Track reading progress
- Add a Codex node to your workflow
- Select Book as the resource
- Choose Update Progress as the operation
- Enter the Book ID and progress data
- Execute the workflow
Development
# Install dependencies
npm install
# Build the node
npm run build
# Run in development mode with hot reload
npm run dev
# Lint the code
npm run lint
# Fix linting issues
npm run lint:fixLocal Testing with Docker
A Docker Compose configuration is included for local development:
# Start Codex and n8n containers
npm run docker:up
# View logs
npm run docker:logs
# Stop containers
npm run docker:down