No description
  • Go 99.6%
  • Makefile 0.4%
Find a file
zemdregon e053bf5e98
Some checks are pending
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Waiting to run
feat: fold local module work
2026-08-17 09:35:22 -05:00
.github/workflows ci: add self-hosted workflow without -race 2026-08-10 11:34:40 -05:00
cmd/module feat: manga/comic library manager scaffold (v0.1.0) 2026-08-10 06:03:47 -05:00
internal feat: fold local module work 2026-08-17 09:35:22 -05:00
proto feat: manga/comic library manager scaffold (v0.1.0) 2026-08-10 06:03:47 -05:00
.gitignore feat: manga/comic library manager scaffold (v0.1.0) 2026-08-10 06:03:47 -05:00
CHANGELOG.md feat: fold local module work 2026-08-17 09:35:22 -05:00
COMPATIBILITY.md feat: fold local module work 2026-08-17 09:35:22 -05:00
go.mod feat: fold local module work 2026-08-17 09:35:22 -05:00
go.sum feat: fold local module work 2026-08-17 09:35:22 -05:00
LICENSE feat: manga/comic library manager scaffold (v0.1.0) 2026-08-10 06:03:47 -05:00
Makefile feat: manga/comic library manager scaffold (v0.1.0) 2026-08-10 06:03:47 -05:00
muxcore.json feat: fold local module work 2026-08-17 09:35:22 -05:00
README.md feat: fold local module work 2026-08-17 09:35:22 -05:00

Media Comics

Manga / comic series + issue library manager for MuxCore.

Exposes muxcore.comics.v1.ComicManagementService (series/issues CRUD) with SQLite persistence under the data directory, plus SettingsProvider for library_dir / data_dir.

Library scanning walks the configured root for local comic stubs (.cbz, .cbr, .pdf, .epub, …) and upserts series/issues from the path layout Series/issue.ext. Metadata is derived from filenames only — no paid or network metadata APIs.

Ports

Service Default
gRPC :9660
Health :9661 (/healthz, JSON stubs GET /api/series, GET /api/series/{id}, GET /api/issues)

Data layout

Path Purpose
$COMICS_DATA_DIR/comics.db (default ./data/comics.db) SQLite library
$COMICS_LIBRARY_DIR (default ./data/comics) Comic files to scan

Build / test

export PATH=$HOME/.local/go/bin:$PATH
CGO_ENABLED=0 go test ./...
CGO_ENABLED=0 go build -o bin/media-comics ./cmd/module

Offline tests use internal/testdata/library (empty .cbz / .pdf stubs).

Status

v0.2.0 — SQLite persistence + library root scan fixtures. ComicVine/AniList search and acquisition wiring remain follow-ups.