booru-tools/README.md

31 lines
925 B
Markdown
Raw Normal View History

2023-09-24 18:16:11 +00:00
# booru-tools
2023-09-29 04:51:25 +00:00
scripts for downloading and tagging images from booru websites
2023-09-29 04:55:29 +00:00
- stores tags in `user.xdg.tags` xattr
2023-09-29 04:51:25 +00:00
2023-09-29 04:55:29 +00:00
- tags work with KDE dolphin / KDE's baloo file indexer, idk about other desktop environments
2023-09-29 04:51:25 +00:00
2023-09-29 04:55:29 +00:00
- see https://wiki.archlinux.org/title/Extended_attributes
2023-09-29 04:51:25 +00:00
2023-09-29 04:55:29 +00:00
- These took me a whole morning to write. Its very much WIP...
## Depends on:
`jq` for json parsing
`torsocks` if you're downloading through tor
2023-09-29 04:51:25 +00:00
## Scripts:
`gelbdl.sh` downloads and tags files from every gelbooru link in files.txt
`gelbtag.sh` hashes and looks up every image in a folder on gelbooru
`dandl.sh` downloads and tags files from every danbooru link in files.txt
`dantag.sh` hashes and looks up every image in a folder on danbooru
`moedl.sh` downloads and tags files from moebooru imageboard (think konachan and yande.re) links in files.txt
`moetag.sh` hashes and looks up every image in a folder (provided you specify the booru)