The source code is now hosted on Codeberg
oyomu is a command line comic collection manager and also a comic reader.
Your terminal should at least support one of this format for the page to be somewhat readable:
- Sixels
- Iterm
- Kitty
oyomu supports zip archives (.cbz or .zip) and to some extend epub archives (.epub)
To read comics, use the read
subcommand
By default, it uses the "h" for left and the "l" for right and 'q' for quit
$ oyomu read --help
NAME
oyomu-read - Read comics
SYNOPSIS
oyomu read [--pixel=PIXEL_MODE] [OPTION]… <FILES.(cbz|zip|epub)>…
DESCRIPTION
Read commic
ARGUMENTS
<FILES.(cbz|zip|epub)> (required)
Archive of the comic. The archives must be zip archive
OPTIONS
-p PIXEL_MODE, --pixel=PIXEL_MODE (absent=symbols)
pixel mode to use to render the images one of 'symbols', 'sixels',
'kitty' or 'iterm'
The collection
subcommand allows you to handle your collection
$ oyomu collection --help
NAME
oyomu-collection - Manage Oyomu collection
SYNOPSIS
oyomu collection COMMAND …
DESCRIPTION
oyomu collection allows you to manager and read your comic collection
COMMANDS
add [OPTION]… <FILES.(cbz|zip|epub)>…
Add comics to the collection
delete [--all=COMIC] [--encrypt] [OPTION]… [<VOL.COMIC>]…
Delete comics from collection
init [--encryption] [--force] [OPTION]…
Initialise the comics collection
list [--encrypt] [--name-only] [OPTION]… [SERIE]…
List series in collection
read [--all=COMIC] [--encrypt] [--pixel=PIXEL_MODE] [OPTION]…
[<VOL.COMIC>]…
Read comics from collection
To Initialize the collection use ìnit
subcommand
Oyomu has 2 strategies to store your comic:
- Normal:
- Your comics are stored in your $XDG_DATA_HOME/oyomu/comics directory where each folder holds the volumes of the serie
- Encrypted:
- Your comics are stored in your $XDG_DATA_HOME/oyomu/.scomics directory and are encrypted with a password that the
ìnit
wizard will ask you to set if the option --encryption is set
- Your comics are stored in your $XDG_DATA_HOME/oyomu/.scomics directory and are encrypted with a password that the
- Those subcommands do are respectively add, delete and list comics
- You can also read comics within your collection with the
read
subcommand ofoyomu collection
-
First you will need to install those opam packages.
$ opam install dune xdg camlzip cmdliner digestif dune-configurator mirage-crypto yojson ppx_deriving_yojson oepub re
-
You will also need to install those C libraries:
- Chafa
- Chafa >= 1.12.4 (maybe should work with chafa >= 1.12.0)
- ImageMagick
- ImageMagick >= 7.0.0
The C libraries must be found by pkg-config
- Chafa
By default the prefix install is /usr/local
. So oyomu binary is installed in /usr/local/bin
and the man pages in /usr/local/share/man
.
But the make install
rule reacts to 3 variables:
PREFIX
:- default:
/usr/local
- default:
BINDIR
:- default:
$(PREFIX)/bin
- default:
MANDIR
:- default:
$(PREFIX)/share/man
- default:
$ git clone https://codeberg.org/EruEri/oyomu
$ cd oyomu
$ make
$ make install