https://github.com/hekmon/go-comicinfo
Easily generate valid ComicInfo.xml in Go
https://github.com/hekmon/go-comicinfo
cbr cbz comicinfo golang golang-library
Last synced: about 1 month ago
JSON representation
Easily generate valid ComicInfo.xml in Go
- Host: GitHub
- URL: https://github.com/hekmon/go-comicinfo
- Owner: hekmon
- License: mit
- Created: 2025-04-07T11:23:41.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-07T20:36:55.000Z (8 months ago)
- Last Synced: 2025-04-10T00:08:37.523Z (7 months ago)
- Topics: cbr, cbz, comicinfo, golang, golang-library
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Comic Info
[](https://pkg.go.dev/github.com/hekmon/go-comicinfo)
Easily generate valid `ComicInfo.xml` in Golang based on the [comicinfo schemas](https://github.com/anansi-project/comicinfo) of the [Anansi project](https://anansi-project.github.io/docs/category/comicinfo).
## Versions
It supports:
* [v1](https://anansi-project.github.io/docs/comicinfo/schemas/v1.0)
* [v2](https://anansi-project.github.io/docs/comicinfo/schemas/v2.0)
* [v2.1 DRAFT](https://anansi-project.github.io/docs/comicinfo/schemas/v2.1)
### Used fields
Not all apps will use all fields, here is a list of fields used by some known apps:
* [Komga](https://komga.org/docs/guides/scan-analysis-refresh/#import-metadata-for-cbrcbz-containing-a-comicinfoxml-file) uses some fields from v2.1 draft.
* [Kavita](https://wiki.kavitareader.com/guides/metadata/comics/) uses some fields from v2.1 draft.
## Installation
```bash
go get -u github.com/hekmon/go-comicinfo
```
## Example Usage
See the CBZ creation [example](example/cbz.go) for a full usage example.