Skip to content

Project library root is hardcoded to Documents/Koharu #957

Description

@robrich82

Problem

ProjectLibrary resolves its root as dirs::document_dir()/Koharu with no way to override it. Projects contain page rasters, generated artwork, and content-addressed blob data, so a library grows large — but it is pinned to the Documents directory, which on many setups lives on a small system drive or a synced folder (OneDrive, iCloud Drive) that is a poor fit for multi-GB working data.

Today the only workarounds are OS-level: move the Documents folder itself, or symlink Documents/Koharu elsewhere.

Proposal

Read the root from the shared configuration file, defaulting to the current location when unset:

[projects]
root = "D:/Manga/Koharu"

This keeps the default behavior unchanged and puts the setting where pipeline, provider, typesetting, and agent settings already live.

Notes

Flagging as a config/schema addition rather than a bug in case you'd rather this arrive as a settings-page control, or not at all.

AI assistance: this issue and the accompanying patch were drafted with Claude Code; I have reviewed and tested the change myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions