hydrus-utils

Crates.iohydrus-utils
lib.rshydrus-utils
version0.6.0
sourcesrc
created_at2022-08-23 14:59:35.068026
updated_at2023-12-21 10:44:59.00995
descriptionAutomatically tag hydrus file by using pixiv and saucenao
homepage
repositoryhttps://github.com/Trivernis/hydrus-pixiv-tagger
max_upload_size
id651036
size125,369
Julius Riegel (Trivernis)

documentation

README

Pixiv Tagging for Hydrus

This program allows you to automatically tag files stored in hydrus with tags retrieved from pixiv by using saucenao.

Installation

You need to have cargo installed and can just do

cargo install hydrus-utils

Or build the binary yourself. You need a rust-toolchain installation (for example with rustup).

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

Usage

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

Example

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'

License

Apache-2.0

Commit count: 36

cargo fmt