A CLI management tool for Arkwaifu.
Project description
Arkwaifu 2x
Arkwaifu 2x is a CLI tool for Arkwaifu. It supports the following features:
- Enlarge the Arts with real-esrgan(realesrgan-x4plus).
- Enlarge the Arts with real-esrgan(realesrgan-x4plus-anime).
- Re-generate thumbnails for all arts.
This tool is created because the backend of Arkwaifu cannot handle hard works, like enlarging the arts with neutral networks. So Arkwaifu 2x takes the tasks in local, reducing pressure of the backend.
Usage
Prerequisites:
- Windows 10 or above
- Python: ^3.11
- A
USER_TOKEN
to grant permission, see below
This tool is intended to run on Windows. However, it is possible to support other OS like macOS or Linux. I did not do that because I do not have these environments to test this tool. If you wish to run this tool on other OS, feel free to open a issue to tell me, and I will try my best to support these OS.
In order to install this tool, run
py -m pip install arkwaifu-2x
In order to run this tool, set the USER_TOKEN
first
$env:USER_TOKEN="<YOUR USER_TOKEN> # PowerShell
SET USER_TOKEN=<YOUR USER_TOKEN> # CMD
Then, you can run the tool
arkwaifu-2x
What is USER_TOKEN
?
USER_TOKEN
is a token for trusted users to grant permission when they are submitting something to the website. I
designed this because I do not want everyone to be able to submit to the website, and that may cause security issues.
If you want to get a USER_TOKEN
, just open a issue for that. I will be happy to allocate a USER_TOKEN
for you. :)
License
The source code of this project is licensed under the MIT License.
This project utilizes Real-ESRGAN and Real-ESRGAN-ncnn-vulkan, which are respectively licensed under the BSD-3-Clause license and the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file arkwaifu_2x-1.1.0.tar.gz
.
File metadata
- Download URL: arkwaifu_2x-1.1.0.tar.gz
- Upload date:
- Size: 45.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4109a9c1cae0ba9ff4a5a1b2a5b9116832c7c698bff897b737e3a27e064ae78 |
|
MD5 | 01a29ec2586dfc8d9d99df6ef5d542ed |
|
BLAKE2b-256 | cbd55c587a58d239c66762b3abfa223177702c43a78c93f0734e3809f411462a |
File details
Details for the file arkwaifu_2x-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: arkwaifu_2x-1.1.0-py3-none-any.whl
- Upload date:
- Size: 45.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b07aa0850213e393e53da4e104d6a85c305a1338d44776d217af87c2728645 |
|
MD5 | 075097cae3deaa2e7562da941bb897dc |
|
BLAKE2b-256 | f5720043a4d2382cf35b239dd90e184e4441bf87ffe1d33f2f41e670284ccc57 |