comics-now
v1.3.2
Published
Modern self-hosted comic book library server, smart AI guided reader, and cataloging platform.
Maintainers
Readme
Comics Now! 💥📚
⚡ Why Comics Now!?
Most digital comic servers were built a decade ago as basic file browsers. Comics Now! re-imagines your comic library as a modern, intelligent web application designed for desktops, tablets, and phones:
- 🧠 Smart Guided View: Automatically detects panels and dialogue bubbles using deep learning neural networks (
manga.onnxand speech bubble detectors) for an immersive panel-by-panel reading experience. Features incremental scoping and auto-detection on library scan. - 🖼️ Fullscreen Page Preview Grid & WebP Cache: Navigate issues visually with a dynamic, lazy-loaded page preview grid. Full-resolution WebP on-the-fly transcoding backed by an LRU disk cache cuts bandwidth and memory while keeping 1:1 pixel coordinates for panel zoom.
- 🔄 True Cross-Device Sync: Pick up right where you left off. Reading progress syncs in real-time between your phone, tablet, and PC.
- 📱 Resumable Offline PWA & Background Fetch: Install Comics Now! to your iOS, iPadOS, Android, or desktop home screen. Queue comics with HTTP
Rangeresumable transfers, and enjoy native Android Background Fetch so downloads keep running with the browser closed. - 🤖 Google Gemini AI Vision & Multi-Source Tagging: Built-in enrichment engine querying ComicVine, Metron, GCD, Goodreads, Amazon, Google Books, and additional sources with perceptual cover hashing. Powered by Google Gemini AI Vision to visually identify issue numbers, series, publishers, and release years directly from cover art when standard scraping fails.
- 📁 Configurable File & Folder Organization: Flexible 4-tab management panel with customizable token naming rules and folder hierarchy templates, with live preview and safe, type-to-confirm batch execution for entire libraries.
- 🔌 AI Model Context Protocol (MCP): Native Python MCP server exposing 13+ tools allowing Claude, Cursor, and Gemini to curate reading lists, inspect cover art, trigger guided view detection, reorganize directories, and query your collection with natural language.
- 🛡️ Cloudflare Zero Trust Ready: Zero open ports needed. Full integration with Cloudflare Access JWT authentication, granular user permissions (down to publisher and series), and admin impersonation.
- 📂 Metadata Mode & Folder Mode: Organize your library by metadata tags (Publisher → Series → Issue) or mirror your physical directory tree directly.
- 💻 Client-Side Local Reader: Drag and drop local CBZ/CBR files directly into the browser to read instantly with WebAssembly—no file upload required.
- 📖 E-Ink & Color E-Reader Modes: Purpose-built anti-ghosting display modes for e-paper devices. Monochrome applies grayscale + contrast for black-and-white screens; Color boosts saturation for color e-paper. Kindle, Kobo, Onyx Boox, and PocketBook are auto-detected, and the choice persists per device.
🎬 Showcase
| AI Smart Guided View | Multi-Device Reader |
| :---: | :---: |
|
|
|
| | | |
|:---:|:---:|:---:|
|
|
|
|
|
|
|
|
|
|
|
|
🚀 Quick Start (60 Seconds)
Option 1: Run Instantly with npx (No Setup Required)
# Point directly to your comic books folder
npx comics-now --comics /path/to/your/comics --port 3000Or install globally:
npm install -g comics-now
comics-now --comics /path/to/your/comicsOption 2: Docker CLI
docker run -d \
--name comics-now \
-p 3000:3000 \
-v $(pwd)/data:/app/data \
-v /path/to/your/comics:/comics:ro \
--restart unless-stopped \
ghcr.io/comicsnow/comics-now:latestOpen http://localhost:3000 in your browser!
Option 2: Docker Compose
Save as docker-compose.yml:
services:
comics-now:
image: ghcr.io/comicsnow/comics-now:latest
container_name: comics-now
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- DATA_DIR=/app/data
- PORT=3000
volumes:
- ./data:/app/data
- /path/to/your/comics:/comics:ro
restart: unless-stoppedLaunch with:
docker compose up -d📖 Complete Documentation & Wiki
Looking for detailed setup guides, configuration tables, or workflow deep dives? Check out our comprehensive documentation manual:
👉 Read the Full Comics Now! Wiki Manual
Manual Highlights:
- Cloudflare Zero Trust & LAN Admin Configuration
- Granular Permissions & User Impersonation
- Metadata Mode vs. Folder Mode
- Sidecar vs. Database vs. Archive Write-Back
- Multi-Source Tagging & Auto-Renaming Engine
- Smart Guided View & Reading Modes (Continuous, Manga, Bubble Zoom, E-Ink)
- Curating & Syncing Reading Lists to All Users
- Progressive Web App (PWA) Offline Installation
- UI Long-Press Context Menus & Actions
- Model Context Protocol (MCP) Setup for Claude & Cursor
🤖 Model Context Protocol (MCP) Integration
Comics Now! includes a built-in Python MCP server (mcp/) that lets your AI coding assistant or desktop agent manage your collection:
# Add to Claude Code
claude mcp add comics-now -- /path/to/comics-now/mcp/run.sh
# Or start directly
npm run mcpWhat your AI agent can do:
- 🔍 "Create a chronological reading list for the Infinity Gauntlet event across all my comics."
- 🤖 "Use Gemini AI Vision to inspect the cover of comic #412 and identify its canonical publisher, series, and year."
- 🎨 "Inspect the cover of comic #412, verify the issue via web search, and tag the writer and artist."
- 📐 "Trigger incremental guided view panel detection for the Batman (2016) series."
- 📁 "Simulate file renaming and folder reorganization for my Marvel library using saved token rules."
- 📊 "Query SQLite for all unread Spider-Man comics published between 1985 and 1992."
(Read the MCP Architecture & Setup Guide for configuration details.)
🛠️ Bare Metal Installation
If you prefer running without Docker on Debian / Ubuntu / Raspberry Pi OS:
# 1. Install prerequisites
sudo apt update
sudo apt install -y nodejs npm python3 python3-pip python3-venv poppler-utils zip unrar
# 2. Clone repository & install dependencies
git clone https://github.com/ComicsNow/comics-now.git
cd comics-now
npm install
npm run build
# 3. Configure environment
cp .env.example .env
# 4. Start server
npm start❤️ Support Comics Now!
If Comics Now! helps you enjoy and organize your comic book collection, consider buying a coffee to support continued development:
🤝 Contributing
Contributions, feature requests, and bug reports are warmly welcome!
- Fork the repository.
- Create your feature branch (
git checkout -b feature/amazing-feature). - Run automated tests (
npm test). - Commit your changes (
git commit -m 'feat: add amazing feature'). - Push to your branch and open a Pull Request.
📄 License
Comics Now! is free and open-source software licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.
