rmg 0.1.0

Rust: Tiny Manga Reader
Documentation
rmg-0.1.0 has been yanked.

rmg

Rust: Tiny Manga Reader

Demo

https://github.com/rsuu/rmg/blob/main/assets/2022-06-29.mp4

Install

  • Dependency
    • Linux: x11 OR wayland
    • Windows: None
    • Mac: None(I DO NOT KNOW)
  • Optional Dependency
    • tar
    • zip
    • libheif
# cargo
cargo install rmg

# git
git clone --depth 1 https://github.com/rsuu/rmg
cd rmg
cargo build --release

# github
Check here: https://github.com/rsuu/rmg/releases/

Usage

rmg ./tests/files/1.tar

# OR
rmg --size 600,600 ./tests/files/1.tar

# OR
rmg --config ./tests/files/config.rs --size 600,600 ./tests/files/1.tar

KeyMap

# #
j/Down down
k/Up up
h/Left left
r/Right right
q quit

Configuration

Note: You have to create the file by yourself.

default configuration

fn main() {
    Base {
        size: (900, 900),
        font: None,
        rename_pad: 0,
        invert_mouse: false,
        filter: "Hamming",

    };

    Keymap {
        up: 'k',
        down: 'j',
        left: 'h',
        right: 'l',
        exit: 'q',
    };
}
  • configuration file path
    • Linux: $HOME/.config/rmg/config.rs
    • Windows: C:\Users\Alice\AppData\<USER>\rmg\config.rs
    • Mac: $HOME/Library/Application Support/rmg/config.rs

Features

# Add support for heic
cargo run --release -F "de_heic"