a simple comic viewer
- Rust 1.70
- Linux
- macOS
- Windows
- Web (Partial functional)
- install Rust language. Click here to see how.
- clone and compile the project
git clone https://github.com/fakeshadow/shin-hentai cd shin-hentai cargo build --release
- the compiled binary is in
target/release/
directory with the nameshin_hentai_bin
.
- install Rust language. Click here to see how.
- install Trunk. Click here to see how.
- (Optional) serve project locally
Open http://127.0.0.1:8080/index.html#dev in a browser
trunk serve
- build the project
trunk build --release
- the compiled static files are in
dist
directory.
- Reference building process targeting desktop and use
cargo build --release --features wayland
instead ofcargo build --release
- setup application file and icons. reference.
- Example:
location for desktop file:
/usr/share/applications/shin_hentai_bin.desktop
sample entry for desktop file:
[Desktop Entry]
Version=1.0
Name=maji_hentai
Exec=shin_hentai_bin
Icon=shin-hentai
Terminal=false
Type=Application
location for application icon:
/usr/share/icons/hicolor/scalable/apps/
example of copy shin-hentai icon:
sudo cp ~/shin-hentai/resource/shin-hentai.svg /usr/share/icons/hicolor/scalable/apps/
- drag and drop zip file or folder to start viewing.
w
ands
key for previous and next page.ctrl + w
to first andctrl + s
to last page.- Mouse scroll can be used for navigate between page too.