#pixiv #tags #hydrus #saucenao #tagging #automatic #file

app hydrus-utils

使用pixiv和saucenao自动标记hydrus文件

7个版本

0.6.0 2023年12月21日
0.5.2 2023年5月16日
0.5.1 2023年2月22日
0.4.2 2022年8月23日

#256图像

Apache-2.0

34KB
816

Pixiv Tagging for Hydrus

此程序允许您使用saucenao从pixiv检索标签来自动标记存储在hydrus中的文件。

安装

您需要已安装cargo,并可以执行以下操作:

cargo install hydrus-utils

或者自己构建二进制文件。您需要一个rust-toolchain安装(例如使用rustup)。

git clone https://github.com/Trivernis/hydrus-utils.git
cd hydrus-utils
cargo build --release

使用方法

USAGE:
    hydrus-pixiv-tagger [FLAGS] [OPTIONS] --hydrus-key <hydrus-key> --saucenao-key <saucenao-key>

FLAGS:
    -h, --help       Prints help information
        --inbox      Searches in the inbox instead
    -V, --version    Prints version information

OPTIONS:
        --finish-tag <finish-tag>        Tag that is assigned to files that have been processed
        --hydrus-key <hydrus-key>        The hydrus client api key
        --hydrus-url <hydrus-url>        The url to the hydrus client api [default: http://127.0.0.1:45869]
        --saucenao-key <saucenao-key>    The saucenao api key
        --tag-service <tag-service>      The tag service the tags will be assigned to [default: my tags]
    -t, --tags <tags>...                 Tags used to search for files

示例

hydrus-pixiv-tagger 
    --hydus-key <key>\
    --hydrus-url http://127.0.0.1:45869 \
    --saucenao-key <key2>\
    --tag-service 'public tag repository'\
    --tags 'meta:tagme' 
hydrus-pixiv-tagger 
    --hydus-key <key>\
    --hydrus-url http://127.0.0.1:45869 \
    --saucenao-key <key2>\
    --inbox
    --tag-service 'my tags'
    --finish-tag 'meta:automatically_tagged'

许可证

Apache-2.0

依赖项

~29–44MB
~757K SLoC