comics-now

mcp
Security Audit
Fail
Health Pass
  • License — License: AGPL-3.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 16 GitHub stars
Code Fail
  • os.homedir — User home directory access in bin/comics-now.js
  • process.env — Environment variable access in bin/comics-now.js
  • fs module — File system access in bin/comics-now.js
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

The modern, self-hosted comic book library server, smart reader, and AI-augmented cataloging platform

README.md

Comics Now! 💥📚

The modern, self-hosted comic book library server, smart reader, and AI-augmented cataloging platform.

npm version Docker Ready GHCR Image npm publish Build Status CodeQL Status Support on Ko-fi Documentation License


⚡ 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.onnx and speech bubble detectors) for an immersive panel-by-panel reading experience. Features incremental scoping, auto-detection on library scan, and visual authoring/fine-tuning via the companion editor GVE Now!.
  • 🖼️ 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 Range resumable 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
Guided View Demo Feature Demo
📸 Click to view UI Screenshots
Library View Series View Comic Details
Reader Controls Guided View Panels Reading Lists
Metadata Inspector Tagger Matches User Settings

🚀 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 3000

Or install globally:

npm install -g comics-now
comics-now --comics /path/to/your/comics

Option 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:latest

Open 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-stopped

Launch 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:


🎨 Companion App: GVE Now! (Guided View Editor)

Looking to visually fine-tune, re-sequence, or author panel coordinates from scratch? Meet GVE Now! — the dedicated visual editor companion for Comics Now!:

  • 🖌️ Visual Bounding Box Editor: Click, drag, resize, and nudge panels and speech bubbles with 1:1 pixel precision.
  • 🔢 Sequence & Flow Reordering: Drag-and-drop to adjust reading order for complex double-page spreads or dynamic layouts.
  • ⚡ Shared Storage Architecture: Connects directly to Comics Now! via your comicsNowRoot path — shares the SQLite database, metadata sidecars, and WebP page cache without duplicate files.
  • 🔄 Instant Live Sync: Saves directly to your collection; refresh Comics Now! to read your updated guided view immediately.
  • 📦 Import & Export: Backup or share panel definitions across your library with JSON export/import.

👉 Explore the GVE Now! Repository & Setup Guide


🤖 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 mcp

What 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:

Support on Ko-fi


🤝 Contributing

Contributions, feature requests, and bug reports are warmly welcome!

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/amazing-feature).
  3. Run automated tests (npm test).
  4. Commit your changes (git commit -m 'feat: add amazing feature').
  5. 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.

Reviews (0)

No results found