Please note that nHentai GUI is designed to work alongside RicterZ's nhentai repository.
nHentai GUI is a graphical user interface for interacting with RicterZ's nhentai command-line tool. It provides a more user-friendly way to configure and run nhentai commands without needing to use the command line directly.
- Configure various download options using checkboxes, input fields, and dropdown menus.
- Set default options and presets for easy command configuration.
- Allows for searching and sorting results.
- Select files to download using .txt files.
- Interactive interface for managing cookies and user agents.
- Language selection for content filters.
- Python 3.7+
- PyQt6 library
- RicterZ's nhentai repository
- Install my forked version of the copycookies chrome extension for browser cookie import
Running with Python
- Download and install RicterZ's nhentai repository from here.
- Install the required Python packages using pip.
- Run the
nhentaiGUI.py
file from the nhentai repository to start the GUI.
Running the Windows Executable
- Download the latest release.
- Extract the zip.
- Open nhentaiGUI.exe.
4. Set a default directory for all your downloads in File -> Options -> Set Default Directory or you can just paste the path in the Output Folder input box as needed.
Note: When you have a default folder set, any content entered into the Output Folder box will be appended to the end of your default folder path. This is particularly handy for organizing multiple doujins from the same series into specific subfolders within your default folder.
nHentai GUI provides a Cookie Handler that simplifies setting cookies and user agents. You can use the copycookies
extension to export cookies from your browser and use the Cookie Handler to import them into nHentai GUI.
Extension:
- Open your browser and navigate to the nhentai website and login.
- Use the copycookies extension to export cookies as JSON data by clicking the copy cookie button added to chrome or using the shortcut key
Ctrl+Shift+K
. - In the nHentai GUI, click File -> Options -> Set Cookie
- Paste the exported JSON data into the "Cookie Extension" field and click "Submit."
- The cookies and user agent will be set automatically and the window will close itself.
The Old Method:
- Use RicterZ's guide to get the cf_clearance cookie and useragent.
- In the nHentai GUI, click File -> Options -> Set Cookie
- Paste the cf_clearance cookie into the "Cookie" field.
- Pase the useragent into the "User-Agent" field and click "Submit."
- The cookies and user agent will be set and the window will close itself.
- RicterZ's nhentai repository: https://github.com/RicterZ/nhentai
- Makiuchi-d's copycookies extension: https://github.com/makiuchi-d/copycookies
This project is licensed under the MIT License.