Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamiyaa/ruiji
Reverse anime image searching program
https://github.com/kamiyaa/ruiji
anime bash c curl hacktoberfest image-recognition json
Last synced: 3 months ago
JSON representation
Reverse anime image searching program
- Host: GitHub
- URL: https://github.com/kamiyaa/ruiji
- Owner: kamiyaa
- License: lgpl-3.0
- Created: 2016-12-26T23:30:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-23T01:00:58.000Z (over 4 years ago)
- Last Synced: 2024-07-29T17:46:38.290Z (6 months ago)
- Topics: anime, bash, c, curl, hacktoberfest, image-recognition, json
- Language: C
- Homepage:
- Size: 3.79 MB
- Stars: 47
- Watchers: 3
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ruiji
## Description
Command that uploads a supported image format to http://iqdb.org,
parses the subsequent html for similar image results
and prompt the user which one to download.![Alt text](ruiji_screenshot.png?raw=true "ruiji")
## Dependencies
- GNU Make
- c library supporting c99
- libcurl (preferably version >=7.51)
- Must be built against either >=GnuTLS-3.3.24 or >=OpenSSL-1.1.0c
- could work with other libraries (such as nss), but have not been tested## Installation
First, download the source using either HTTP or SSH:
```
$ git clone https://gitlab.com/Kamiyaa/ruiji.git
$ git clone [email protected]:Kamiyaa/ruiji.git
```
Then install using **make**:
```
$ cd ruiji/src
$ make
# make install
```
Alternatively, you can install using **meson**:
```
$ meson build
$ ninja -C build/
# ninja -C build/ install
```## Usage
```
$ ruiji -h
```## Features
Currently supports:
- http://www.theanimegallery.com/
- http://danbooru.donmai.us/
- http://e-shuushuu.net/
- https://gelbooru.com/
- https://konachan.com/
- https://chan.sankakucomplex.com/
- https://yande.re/
- http://www.zerochan.net/## Tips
This is how I usually use it when I have tons of pictures that I also would like to manually check
```
#!/bin/shfor file
do
ruiji -T -t 90 "$file" && gio trash "$file" && echo "removed $file"
sleep 5 # enough time to rename/organize the newly downloaded file
done
```