๐ฅ 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
๐ Links
| ย | ย |
|---|---|
| ๐ฆ 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
- Open the MOS Hub and search for Komga
- Ensure
PUID/PGIDcan read your media files - Click Install
- Access Komga at
http://YOUR_SERVER_IP:25600 - Create your admin account on first launch
- Add your libraries (Comics/Manga)
๐ Library Organization
Komga supports various folder structures:
Recommended Structure:
/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
- Library Permissions - Set read-only if not adding new content
- User Accounts - Create separate accounts for family
- Age Restrictions - Filter mature content for younger users
- HTTPS - Use reverse proxy for external access
- Backups - Regular backup of
/configfolder
๐ 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:
- Install Tachiyomi on Android
- Go to Browse โ Extensions
- Install Komga extension
- Add your server:
http://YOUR_SERVER_IP:25600 - Login with credentials
- 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.