Skip to content

Viewer for projects downloader from nhentai, hitomila (and more later)/

Notifications You must be signed in to change notification settings

annihilation7071/SF.ViewerH

Repository files navigation

SF.ViewerH


Save your collection

Features:

  • View projects from nhentai.net downloaded using nhentai.
  • View projects from hitomi.la, nhentai.net (and other sites in the future) downloaded using gallery-dl.
  • Browser extension that allows you to easily download an open project page from supported sites.
  • Shows already uploaded projects directly on the website (hitomi.la)

SV.ViewerH is a viewer for images uploaded via:

Supports

Site Supported downloader Extension (download) Extension (extra)
nhentai.net nhentai / gallery-dl supported(nhentai / gallery-dl) none
hitomi.la gallery-dl supported(gallery-dl) show already downloaded on the website

Install and run:

Way 1: Using standalone version

  1. Download from releases
  2. Unzip in any directory
  3. Use settings.bat for set your directoro with downloads and select proper processor
  4. Use update.bat for update application
  5. Use run.bat for start application

Way 2: Using system python

git clone https://github.com/annihilation7071/SF.ViewerH.git
cd SV.ViewerH
pip install -r requirements.txt
app.py

Way 3: Using venv

git clone https://github.com/annihilation7071/SF.ViewerH.git
cd SV.ViewerH
python -m venv venv
./venv/scripts/activate
pip install -r requirements.txt
app.py

How to start:

  1. Upload files using nhentai or gallery-dl. (--write-info-json parameter MUST be used for gallery-dl)
  2. Use settings.bat or settingsui.py to configure libs.
  3. Use run.bat or app.py, the server IP address will appear in the terminal.

image

image

Chrome-Extension

There is an extension for chromium-based browsers in the ./extension directory. It can be installed via the browser extensions menu (just drag the .crx into the extensions tab and click install). The extension simply downloads the open project to the library specified in settings.


image

You can specify some additional downloader parameters


image

--- There are two versions of the extension: **Lite** and **Extended**.

Lite does nothing except that when you click on the extension icon, it sends the application a link to the currently open page, after which the application tries to download the project from this page.

Extended also provides additional functions. At the moment, only one is implemented, this is the display of already downloaded projects on the hitomi.la website.

image

Other


  • Added a function to merge several projects into one.

For example, if you have one of the same project in several languages or in different quality, and you do not want to delete any of them.
All you need to do is on the project page in the options specify the data of similar projects in this format.
LID:DESCRIPTION:p
Where LID is the LID from the project page, DESCRIPTION is any description, and p is the project that will be the main one. The rest of the projects must be in this format.
LID:DESCRIPTION
A new project will be created (virtual, without physical location), which is the main project with the combined tags from all projects. It will also be possible to switch between all projects.