Git Product home page Git Product logo

nhentai-gui's Introduction

nHentai GUI

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.

Features

  • 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.

Requirements

  • Python 3.7+
  • PyQt6 library
  • RicterZ's nhentai repository

Optional

  • Install my forked version of the copycookies chrome extension for browser cookie import

Getting Started

Running with Python

  1. Download and install RicterZ's nhentai repository from here.
  2. Install the required Python packages using pip.
  3. Run the nhentaiGUI.py file from the nhentai repository to start the GUI.

Running the Windows Executable

  1. Download the latest release.
  2. Extract the zip.
  3. 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.

Using the Cookie Handler

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:

  1. Open your browser and navigate to the nhentai website and login.
  2. 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.
  3. In the nHentai GUI, click File -> Options -> Set Cookie
  4. Paste the exported JSON data into the "Cookie Extension" field and click "Submit."
  5. The cookies and user agent will be set automatically and the window will close itself.

The Old Method:

  1. Use RicterZ's guide to get the cf_clearance cookie and useragent.
  2. In the nHentai GUI, click File -> Options -> Set Cookie
  3. Paste the cf_clearance cookie into the "Cookie" field.
  4. Pase the useragent into the "User-Agent" field and click "Submit."
  5. The cookies and user agent will be set and the window will close itself.

Screenshots

Alt text

Acknowledgements

License

This project is licensed under the MIT License.

nhentai-gui's People

Contributors

edgar1016 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.