wjs018@ani.social 8 months ago
Question, what sources does saucechan use? I think it might not be too useful for something like !anime@ani.social where most of the images posted are of new visuals that came from twitter or official websites rather than pixiv or booru. I welcome artwork on !manga@ani.social, but similarly, most of it comes from authors’ or publishers’ twitter accounts.
Seems like a fun project though. I have thought of doing something similar for the communities I mod to enable people to provide quick links for a series by mentioning the title, but haven’t looked at it too hard yet. Instead, I have been working on the new, (hopefully) improved version of a bot that can post episode discussion threads.
MentalEdge@sopuli.xyz 8 months ago
It’s “mostly whatever saucenao finds” but I’ve also written some custom parts using pixiv’s and danbooru’s APIs regarding finding a good artist name, as well as some stuff to translate/romanize artist names.
I plan to add the ability for it to find “uncropped” versions of an image, likely by interacting with google images, as saucenao tends to not get matches if an image has been cropped.
This does mean that Soutaku inherits saucenaos ability to recognize manga pages (though mangadex or other manga sites wont get parsed into the response atm). Art and promo content that originates on twitter should work.
Currently it will link ArtStation, DeviantArt, Pixiv, Twitter, and Danbooru, if it finds them.
Adding some functionality for detecting mentions of series and providing MAL/Anilist/AniDB/Kitsu links would be cool.
wjs018@ani.social 8 months ago
I just tried out saucenao for a handful of visual posts from both communities and nothing was found. Do you have code published anywhere? I would need to figure out how to interface with lemmy to listen in on comments before I could make a links bot. I am not a dev by trade, so I usually heavily rely on existing code as a starting point.
MentalEdge@sopuli.xyz 8 months ago
My github is here: github.com/CTalvio
But I’ve published nothing of my dabbling in lemmy stuff yet, as I’ve been re-learning python as I go in order to get into it. Looking into it, trace.moe or whatanime.org might be better suited.
To interact with Lemmy, I’m using this: github.com/db0/pythorhead
wjs018@ani.social 8 months ago
Ok, that is what I am using as well for creating posts. Thanks for the hard work!