๐Ÿ’ฅ Komga

Komga is a free and open source comics/mangas/media server. It allows you to manage and read your local comics, manga, and books from a modern web interface with support for multiple users, OPDS feeds, and integration with mobile apps.

Designed specifically for image-based media with features like infinite scroll, double-page spread support, and web reader optimized for comics and manga.

๐Ÿท๏ธ Category: Media

๐Ÿณ Image: gotson/komga:latest


ย  ย 
๐Ÿ“ฆ Project github.com/gotson/komga
๐Ÿ› Support GitHub Issues
๐Ÿ“– Docs komga.org
๐Ÿ’› Donate GitHub Sponsors

๐ŸŒ Ports

Port Protocol Description
25600 TCP Komga web interface

๐Ÿ’พ Volumes

Host Path Container Path Mode Description
/mnt/cache/appdata/komga /config RW Komga configuration and database
/mnt/cache/media/comics /data/comics RO Comics and manga library
/mnt/cache/media/books /data/books RO Optional: Additional books folder

โš™๏ธ Environment Variables

Variable Default Masked Description
PUID 500 โŒ User ID for file permissions
PGID 500 โŒ Group ID for file permissions
TZ Europe/Vienna โŒ Timezone for the container

๐Ÿš€ Quick Start

Step 1: Prepare Your Library

Create your comics/manga folder structure:

mkdir -p /mnt/cache/media/comics
mkdir -p /mnt/cache/media/comics/Marvel
mkdir -p /mnt/cache/media/comics/DC
mkdir -p /mnt/cache/media/comics/Manga/One Piece
mkdir -p /mnt/cache/media/comics/Manga/Attack on Titan

Step 2: Install via MOS Hub

  1. Open the MOS Hub and search for Komga
  2. Ensure PUID/PGID can read your media files
  3. Click Install
  4. Access Komga at http://YOUR_SERVER_IP:25600
  5. Create your admin account on first launch
  6. Add your libraries (Comics/Manga)

๐Ÿ“ Library Organization

Komga supports various folder structures:

/comics/
โ”œโ”€โ”€ Publisher/
โ”‚   โ”œโ”€โ”€ Series Name/
โ”‚   โ”‚   โ”œโ”€โ”€ Series Name #01.cbz
โ”‚   โ”‚   โ”œโ”€โ”€ Series Name #02.cbz
โ”‚   โ”‚   โ””โ”€โ”€ Specials/
โ”‚   โ””โ”€โ”€ Another Series/
โ””โ”€โ”€ Manga/
    โ”œโ”€โ”€ One Piece/
    โ”‚   โ”œโ”€โ”€ Vol.01 Ch.001.cbz
    โ”‚   โ”œโ”€โ”€ Vol.01 Ch.002.cbz
    โ”‚   โ””โ”€โ”€ ...
    โ””โ”€โ”€ Naruto/

Supported File Formats:

  • CBZ (Comic Book ZIP) - Recommended
  • CBR (Comic Book RAR)
  • PDF - Books and comics
  • EPUB - Limited support
  • Folder of images - JPG, PNG, WEBP

๐Ÿ“š Library Types

Comics Library

  • American/European comics
  • Graphic novels
  • Issues and volumes
  • Metadata from ComicVine

Manga Library

  • Japanese manga
  • Chapter-based organization
  • Right-to-left reading
  • Metadata from various sources

Book Library

  • Regular books
  • PDF documents
  • EPUB support (basic)

๐Ÿ–ฅ๏ธ Web Reader Features

Reading Modes

  • Paged - Single page view
  • Double Page - Spread view for comics
  • Continuous (Webtoon) - Infinite scroll for manga
  • Right-to-Left - For manga reading

Reader Controls

  • Zoom - Fit width, fit height, original size
  • Fullscreen - Immersive reading
  • Page Navigation - Keyboard shortcuts, thumbnails
  • Reading Progress - Auto-saved per user

Mobile Support

  • Touch gestures - Swipe to navigate
  • Pinch to zoom - On mobile browsers
  • Responsive UI - Works on all screen sizes

๐Ÿ“ฑ Mobile Apps & Clients

Official Komga Apps:

| Platform | App | Features | |โ€”|โ€”|โ€”| | Android | Komga App | Native app, offline reading, sync | | iOS | Web interface | Full browser support |

Third-Party Apps:

| App | Platform | Note | |โ€”|โ€”|โ€”| | Tachiyomi | Android | Manga reader with Komga extension | | Aidoku | iOS | Manga reader with Komga support | | Paperback | iOS | Reader with Komga integration |

OPDS Support:

Use any OPDS-compatible reader:

http://YOUR_SERVER_IP:25600/opds/v1.2/catalog

๐Ÿ”„ Metadata & Scanning

Automatic Metadata:

Komga can fetch metadata from:

  • ComicVine - Comics and graphic novels
  • AniList - Manga series info
  • Google Books - General books
  • Local metadata - ComicInfo.xml inside CBZ files

Scanning Libraries:

  • Auto-scan - Watches folders for changes
  • Manual scan - Trigger from web interface
  • Scheduled scan - Periodic checks

ComicInfo.xml:

Embed metadata directly in CBZ files:

<ComicInfo>
  <Series>Amazing Spider-Man</Series>
  <Number>1</Number>
  <Year>1963</Year>
  <Writer>Stan Lee</Writer>
  <Penciller>Steve Ditko</Penciller>
</ComicInfo>

๐Ÿ‘ฅ Multi-User Features

User Management:

  • Individual accounts - Separate reading progress
  • Age restrictions - Content filtering per user
  • Library access - Control which libraries users see
  • Sharing - Share specific series or books

Reading Lists:

  • Personal - Each userโ€™s custom lists
  • Shared - Curated lists for all users
  • Read Later - Bookmark interesting books

๐Ÿ”— Integration with *arr Apps

Komga works well with:

  • Readarr - Automated book/comic downloading
  • Mylar3 - Comic book automation
  • Calibre - eBook management (for books)

๐Ÿ”’ Security & Best Practices

  1. Library Permissions - Set read-only if not adding new content
  2. User Accounts - Create separate accounts for family
  3. Age Restrictions - Filter mature content for younger users
  4. HTTPS - Use reverse proxy for external access
  5. Backups - Regular backup of /config folder

๐Ÿ“Š Comparison: Komga vs Alternatives

Feature Komga Kavita Ubooquity Calibre-Web
Comics โœ… Excellent โœ… Good โš ๏ธ Basic โš ๏ธ Basic
Manga โœ… Excellent โœ… Good โš ๏ธ Basic โŒ No
Web Reader โœ… Modern โœ… Modern โš ๏ธ Dated โœ… Modern
Mobile Apps โœ… Yes โœ… Yes โŒ No โš ๏ธ Web only
Metadata โœ… Excellent โœ… Good โš ๏ธ Limited โœ… Good
Best For Comics/Manga Mixed Simple eBooks

๐Ÿ› ๏ธ Advanced Configuration

Reverse Proxy (Nginx):

location / {
    proxy_pass http://komga:25600;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

Tachiyomi Extension Setup:

  1. Install Tachiyomi on Android
  2. Go to Browse โ†’ Extensions
  3. Install Komga extension
  4. Add your server: http://YOUR_SERVER_IP:25600
  5. Login with credentials
  6. Browse and read!

โš ๏ธ Note: Komga is optimized for image-based media (CBZ, CBR, PDF). For text-based eBooks (EPUB), consider Calibre-Web instead.

๐Ÿ’ก Tip: Use CBZ format instead of CBR - itโ€™s faster to scan and more widely supported.

๐Ÿ’ก Tip: Embed ComicInfo.xml in your CBZ files for perfect metadata without online lookups.

๐Ÿ’ก Tip: Enable โ€œAnalyze booksโ€ in library settings to extract thumbnails and page counts for better browsing.

๐Ÿ“š For more information: Visit the Komga Documentation for detailed guides, API reference, and advanced configuration.


MOS Templates โ€“ maintained by J000K3R

This site uses Just the Docs, a documentation theme for Jekyll.