Skip to content
Proyek

Tentang

kumiho is self-hosting web media server.

Desain dan media

Cara angka ini diukur

Yang dapat Anda lakukan

  • ๐Ÿš€ Blazing Fast - Built with Golang, Kumiho runs as a native binary without JVM overhead, offering incredible scan speeds.
  • ๐Ÿ“‚ Recursive Leaf Discovery - It recursively scans nested folders and collects actual readable leaf series without requiring complex metadata matching.
  • โšก Lightweight - Optimized for low-resource environments. It runs smoothly with minimal memory footprint.
  • ๐Ÿ“ฑ Responsive Viewer - Provides a seamless streaming experience on PC, Tablet, and Mobile devices. Supports 'Webtoon' scrolling mode.

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
0

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Logo Kumiho

Discord GitHub release (latest by date) Docker Image Size (latest by date) License Go Version React

Ultra-lightweight, High-performance, Self-hosted Web Media Server

Login Page


๐ŸŒ Language: English | ๆ—ฅๆœฌ่ชž | ํ•œ๊ตญ์–ด


[!IMPORTANT]

v0.15.0 Library Rescan Notice: The recursive leaf-series scanner changes how nested folders are interpreted. After updating, a library rescan is required, and existing reading progress or metadata links are not guaranteed to carry over for libraries whose series layout is rebuilt.

v0.14.0 Plugin Secret Key A PLUGIN_SECRET_KEY environment variable has been added to encrypt plugin credentials (API keys, tokens, etc.).

If not set, a key is auto-generated and saved to data/.plugin_secret_key. The server will start without any configuration, but without the original generated key file, stored plugin credentials cannot be decrypted. For reliable operation, it is recommended to set PLUGIN_SECRET_KEY explicitly in your environment.

v0.10.x Docker update: Docker base images were changed for CGO/native-library compatibility. Please re-pull the image and recreate the container when updating.

v0.9.0 Security Enhancement & Breaking Change For improved security, the container execution privilege has been changed from root to a standard user (appuser).

Note for existing users: If thumbnails are broken or you encounter "Permission Denied" errors, please ensure you set the PUID and PGID environment variables to match your account IDs (check with the id command in your terminal).


๐Ÿ‡บ๐Ÿ‡ธ What is Kumiho?

Kumiho is a self-hosted web media server designed to manage and stream your personal collection of comics and e-books.

It was originally developed by a developer for personal convenience, after feeling limitations with existing solutions. Written in Golang, Kumiho is lightweight and fast.

โœจ Key Features

Feature Description
๐Ÿš€ Blazing Fast Built with Golang, Kumiho runs as a native binary without JVM overhead, offering incredible scan speeds.
๐Ÿ“‚ Recursive Leaf Discovery It recursively scans nested folders and collects actual readable leaf series without requiring complex metadata matching.
โšก Lightweight Optimized for low-resource environments. It runs smoothly with minimal memory footprint.
๐Ÿ“ฑ Responsive Viewer Provides a seamless streaming experience on PC, Tablet, and Mobile devices. Supports 'Webtoon' scrolling mode.
๐ŸŽง Audiobook Support Supports audiobook libraries with chapter list, resume playback, progress tracking, bookmarks, and sleep timer.
๐ŸŽต Immersive BGM Automatically plays audio files (.mp3) within the series folder when the filename matches.

Supported Formats

Category Supported Extensions
Images .jpg, .jpeg, .png, .webp, .gif, .bmp
Archives .zip, .cbz
E-books .epub, .pdf, .txt
Audio .mp3, .wav, .ogg, .oga, .flac, .m4a, .m4b, .aac, .wma, .opus, .mp4

๐Ÿ“ Folder Structure: Automatically recognizes image files in folders or archive files and organizes them into volumes/chapters.

๐Ÿ”œ Coming Soon

Category Planned Extensions
Archives .cbr, .rar, .cb7, .7z
  • Support comicInfo.xml
    • Metadata management interaction
  • OPDS Support
    • Mobile viewer application support

๐Ÿ“ Recommended Library Structure

1) Series folder with volume/chapter files directly

/books
โ””โ”€โ”€ My Series
    โ”œโ”€โ”€ 001.zip
    โ”œโ”€โ”€ 002.pdf
    โ””โ”€โ”€ 003.epub

2) Series folder with chapter/volume subfolders

/books
โ””โ”€โ”€ My Series
    โ”œโ”€โ”€ Chapter 01
    โ”‚   โ”œโ”€โ”€ 001.zip
    โ”‚   โ””โ”€โ”€ 002.zip
    โ”œโ”€โ”€ Chapter 02
    โ”‚   โ””โ”€โ”€ 001.pdf
    โ””โ”€โ”€ Chapter 03
        โ””โ”€โ”€ 001.epub

3) Nested Folders (Infinite Hierarchy)

Kumiho supports infinite folder hierarchy through recursive leaf discovery. You can organize your files with any level of subfolders, and Kumiho will scan down to the actual readable leaf series.

/books
โ””โ”€โ”€ Grand Parent Category
    โ””โ”€โ”€ Parent Category
        โ””โ”€โ”€ My Series
            โ”œโ”€โ”€ Volume 01
            โ”‚   โ”œโ”€โ”€ Chapter 01
            โ”‚   โ”‚   โ””โ”€โ”€ 001.zip
            โ”‚   โ””โ”€โ”€ Chapter 02.pdf
            โ””โ”€โ”€ 002.epub

In the example above, Kumiho uses the nested folders for discovery, then adds the resulting leaf series to the library list instead of rendering the entire folder tree as a separate browse UI.

๐ŸŽต BGM Auto-Play Rule

  • Supported audio formats: .mp3, .ogg, .wav, .flac, .m4a
  • BGM auto-plays when the audio file has the same base filename as the currently opened volume/chapter file.
  • Example: 001.zip โ†” 001.mp3, 001.epub โ†” 001.mp3

๐ŸŽง Audiobook Support

  • Supported audiobook formats: .mp3, .wav, .ogg, .oga, .flac, .m4a, .m4b, .aac, .wma, .opus, .mp4
  • Supports resume playback, chapter-based navigation, progress tracking, bookmarks, and sleep timer
  • Audiobooks can be organized with the same nested folder structure used for books
  • When creating a library for audiobooks, set the library type to Audiobook

๐Ÿ›  Installation (Docker)

Docker Compose (Recommended)

version: "3.8"
services:
  kumiho:
    image: ahahyeong/kumiho:latest
    container_name: kumiho
    restart: unless-stopped
    ports:
      - "9999:9999"
    volumes:
      - ./data:/app/data # Path to store database and data
      - ./config:/app/config # Path to store configuration
      - ./books:/books # Path to your library
    environment:
      - PUID=1000 # User ID (Can be found via `id` command)
      - PGID=1000 # Group ID
      - TZ=Asia/Seoul
      - JWT_SECRET=your_secret_key # Recommended for security
      - PLUGIN_SECRET_KEY=your_plugin_secret_key # Required: without this, plugin credentials cannot be decrypted after reinstall

Docker Run

docker run -d \
  --name kumiho \
  -p 9999:9999 \
  -v $(pwd)/data:/app/data \
  -v $(pwd)/config:/app/config \
  -v $(pwd)/books:/books \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Asia/Seoul \
  -e JWT_SECRET=your_secret_key \
  -e PLUGIN_SECRET_KEY=your_plugin_secret_key \
  --restart unless-stopped \
  ahahyeong/kumiho:latest

๐Ÿ“‚ Library Path Setup Guide

If you mounted ./books:/books in your Docker Compose volumes configuration, you must enter the container internal path /books on the Kumiho settings page.

Library Path Settings

  1. Go to the Settings > Libraries tab.
  2. Click the Add New Library button.
  3. Enter /books in the Set Path field. (Do NOT use the host path ./books!)

Note: The scanner automatically excludes @eaDir, #recycle, .DS_Store, and Thumbs.db.

๐Ÿž Bug Reports & Feature Requests

Jelajahi proyek terkait

Memuatโ€ฆ