rmg
Rust: Tiny And Fast Manga/Image Viewer
Demo

./assets/demo.mp4
Install
- Dependency
- Linux: x11 OR wayland
- Windows: None
- Mac: None(I DO NOT KNOW)
- Optional Dependency
- tar
- zip
- libheif
# github
# cargo
# git
Usage
KeyMap
| Key | |
|---|---|
| k/Up | move up |
| j/Down | move down |
| h/Left | move left |
| r/Right | move right |
| q | quit |
Configuration
config file: https://raw.githubusercontent.com/rsuu/rmg/main/tests/other/config.rs
WARN: You have to create the file by yourself.
- configuration file path
- Linux:
$HOME/.config/rmg/config.rs - Mac:
$HOME/Library/Application Support/rmg/config.rs - Windows:
C:\Users\<USER>\AppData\<USER>\rmg\config.rs
- Linux:
Supported formats
| Format | Supported | Default | Dependency | Mode |
|---|---|---|---|---|
| .jpg | ✅ | ✅ | Scroll/Once | |
| .png | ✅ | ✅ | Scroll/Once | |
| .heic / .avif | 🔬 | ❌ | libheif | Scroll/Once |
| .gif | 🔬 | ✅ | Once | |
| .aseprite | 🔬 | ❌ | Once | |
| .svg | 🔬 | ❌ | Scroll/Once |
| Format | Supported | Default | Dependency |
|---|---|---|---|
| directory | ✅ | ✅ | |
| .tar | ✅ | ✅ | tar |
| .zip / .cbz | ✅ | ✅ | zip |
Features
# Add support for heic
# for svg AND aseprite
# [CpuExtensions](https://docs.rs/fast_image_resize/latest/fast_image_resize/index.html#resize-rgb8-image-u8x3-4928x3279--852x567)
# for avx2
# for sse4_1
TIPS
- floating window in wayland
~/.config/sway/config: for_window [title="^rmg$"] floating enable
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.