KoInsight

KoInsight

Docker app from grtgbln's Repository

Overview

KoInsight brings your KOReader reading stats to life with a clean, web-based dashboard.

KoInsight brings your KOReader reading stats to life with a clean, web-based dashboard.

Coverage Status

Features

  • πŸ“ˆ Interactive dashboard with charts and insights
  • ✏️ Highlights sync
  • πŸ”„ KOReader plugin for syncing reading stats
  • πŸ“± Multi-device support
  • πŸ“€ Manual .sqlite upload supported
  • ♻️ Act as a KOReader (kosync) sync server
  • 🏠 Fully self-hostable (Docker image available)

Screenshots

Note:As of 2025-10-15 covers are not (yet) automatically displayed, as they are not part of the KOReader-generated database. If you want to see covers, you'll need to add them once per book. The UI offers a search by title and upload of images under the tab 'Cover Selector'.

Home page Book view
Statistics Statistics

See all screenshots

Installation

Using Docker and Docker Compose

Add the following to your compose.yaml file:

name: koinsight
services:
  koinsight:
    image: ghcr.io/georgesg/koinsight:latest
    restart: unless-stopped
    ports:
      - "3000:3000"
    volumes:
      - ./data:/app/data

Run docker compose up -d.

Configuration

KoInsight can be configured using the following environment variables:

  • HOSTNAME: The hostname or IP address where the server will listen.
    Default: localhost
  • PORT: The port number for the web server.
    Default: 3000
  • MAX_FILE_SIZE_MB: Maximum allowed size (in megabytes) for uploaded files.
    Default: 100
  • DATA_PATH: Path to the directory where KoInsight data (such as stats or uploads) will be stored.
    Default: ../../../data or /app/data in Docker.

Usage

Reading statistics

To start seeing data in KoInsight, you need to upload your reading statistics. Currently, there are two ways to do this:

  1. Manual upload: Extract your statistics.sqlite (in settings folder) file from KOReader and upload it using the "Upload Statistics DB" button in KoInsight.
  2. Sync plugin: Install and configure the KoInsight plugin in KOReader to sync your data directly.

KOReader sync plugin

The KoInsight plugin syncs your reading statistics from KOReader to KoInsight.

Installation:

  1. Download the plugin ZIP bundle from the "KOReader Plugin" button in the main menu.
  2. Extract it into your KOReader/plugins/ folder.
  3. For the plugin to be installed correctly, the file structure should look like this:
    koreader
    └── plugins
        └── koinsight.koplugin
            β”œβ”€β”€ _meta.lua
            β”œβ”€β”€ main.lua
            └── ...
    

Usage:

  1. Open the KOReader app.
  2. Go to the Tools menu and open KoInsight (it should be below "More tools").
  3. Click Configure KoInsight and enter your KoInsight server URL (e.g., http://server-ip:3000).
    • ⚠️ Make sure your KOReader device has network access to the server.
  4. Click Sync in the KoInsight plugin menu.

Reload the KoInsight web dashboard. If everything went well (🀞), your data should appear.

Manual Upload: statistics.sqlite

  1. Open a file manager on your KOReader device.
  2. Navigate to the KOReader/settings/ folder.
  3. Locate the statistics.sqlite file.
  4. Copy it to your computer.
  5. Upload it to KoInsight using the "Upload Statistics DB" button.
  6. Reload the KoInsight web dashboard.

Every time you need to reupload data, you would need to upload the statistics database file again.

Use as progress sync server

You can use your KoInsight instance as a KOReader sync server. This allows you to sync your reading progress across multiple devices.

  1. Open the KOReader app.
  2. Go to the Tools menu and open Progress sync
  3. Set the server URL to your KoInsight instance (e.g., http://server-ip:3000).
  4. Register an account and login.
  5. Sync your progress.

The progress sync data should appear in the "Progress syncs" page in KoInsight.

Development

See DEVELOPMENT.md for development setup and instructions.

Roadmap

(a.k.a things I want to do)

See Project board

Media gallery

1 / 4

Install KoInsight on Unraid in a few clicks.

Find KoInsight in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for KoInsight Review the template variables and paths Click Install

Related apps

Details

Repository
ghcr.io/georgesg/koinsight:latest
Last Updated2026-07-15
First Seen2025-11-02

Runtime arguments

Web UI
http://[IP]:[PORT:3000]/
Network
bridge
Privileged
false

Template configuration

Web UI PortPorttcp

Container Port: 3000

Target
3000
Default
3000
Value
3000
App DataPath

Path to the data folder

Target
/app/data
Default
/mnt/user/appdata/koinsight/data
Value
/mnt/user/appdata/koinsight/data
Max Upload Size (MB)Variable

Maximum upload size in megabytes

Target
MAX_FILE_SIZE_MB
Default
100
Value
100