17
submitted 9 months ago* (last edited 9 months ago) by MentalEdge@sopuli.xyz to c/meta@ani.social

Hello!

I've made a simple source bot and named it Soutaku. The account is @saucechan@ani.social. It can be summoned with a mention, either by the author of a post in the post body itself, or anyone in the comments.

Consider this a beta, functionality is extremely simple so there's not a lot that can go wrong, but I've also not done much testing.

Mentions should work reliably, and make the bot respond no matter what. But Soutaku will also attempt to detect posts that do not include source or artist credit, and comment on these automatically.

Only images linked in the post URL currently work, so trying to summon the bot to find the source for images embedded in the post body or in a comment, won't work. For now.

I have whitelisted Soutaku for the following communities, feel free to contact me if you'd like any additional communities added.

top 22 comments
sorted by: hot top controversial new old
[-] MentalEdge@sopuli.xyz 6 points 9 months ago* (last edited 9 months ago)

Pinging some peeps to whom this might be of interest: @toes@ani.social @hitagi@ani.social @wjs018@ani.social @joshmoe@ani.social

[-] hitagi@ani.social 4 points 9 months ago

This is great! Thank you for making this!

[-] wjs018@ani.social 4 points 9 months ago* (last edited 9 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 (AniList even has an api endpoint for searching by title as well as retrieving associated links), 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 3 points 9 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 1 points 9 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 3 points 9 months ago

My github is here: https://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: https://github.com/db0/pythorhead

[-] wjs018@ani.social 2 points 9 months ago

Ok, that is what I am using as well for creating posts. Thanks for the hard work!

[-] MentalEdge@sopuli.xyz 2 points 9 months ago* (last edited 9 months ago)

Then you are familiar.

Mentions are the easiest thing to implement, as you can pull unreads and mark them read as you go, and thereby do away with the issue of only responding to new items, and only doing so once.

But you can also use the comment.list endpoint to just pull a feed of comments the same way you would a list of posts. But comments can't be marked read, so you'll need to have the bot keep track of what it has already processed.

[-] TokyoCaramel@ani.social 2 points 9 months ago

Thank you for your hard work! I've been lurking here a while and see you're contributing so much content, awesome ๐Ÿ˜„

[-] MentalEdge@sopuli.xyz 2 points 9 months ago

Thank you for the appreciation!

If you're a fan of trigger/dungeon meshi, join me and others over on !dungeonmeshi@ani.social for a more interactive community than the moe art ones.

[-] TokyoCaramel@ani.social 2 points 9 months ago

I like what I've seen so far of Dungeon Meshi / Delicious in Dungeon, 4 eps or so. Marcille's reactions are priceless! Subbed ๐Ÿ˜„

[-] MentalEdge@sopuli.xyz 2 points 9 months ago* (last edited 9 months ago)

I've already posted some character sheets from the manga, so check those out. I'll be posting more as they turn into no-longer-spoilers.

I also just started posting the "monster tidbits" pages. These are great sources of extra lore in addition to the main story.

And the Marcilleposts will continue until morale improves.

[-] JoShmoe@ani.social 1 points 9 months ago

I would like to create a community focused on Spaceship Art. Is that okay here?

[-] MentalEdge@sopuli.xyz 1 points 9 months ago

I think that would technically be against ani.social's rules.

But you should be asking hitagi in a DM.

Also, there is already !imaginarystarships@lemmy.world. Soutaku could work there as well, as it already does on other off-instance communities, as long as the mods of the community agree to it.

[-] JoShmoe@ani.social 1 points 9 months ago

That's crazy. I remember subscribing, but I don't get any posts from them.

[-] MentalEdge@sopuli.xyz 2 points 9 months ago

TBF, posts haven't been frequent recently, but you could start to contribute and bring it alive. You'd be going out to 1.4k subscribers happy to see content again.

[-] JoShmoe@ani.social 3 points 9 months ago

Yeah I noticed they only get posts once a month. I'm preparing on doing the same thing for that community as here. A bunch of content directly related to a single artist, every now and then.

[-] JoShmoe@ani.social 1 points 9 months ago

Is there a tsundere thread?

[-] MentalEdge@sopuli.xyz 1 points 9 months ago
[-] JoShmoe@ani.social 1 points 9 months ago

Is there a thread to post images directly related to the concept of a Tsundere?

[-] MentalEdge@sopuli.xyz 1 points 9 months ago* (last edited 9 months ago)

Do you mean community? And no, not that I know.

[-] JoShmoe@ani.social 1 points 9 months ago

Oh right, they're called communities. my bad

this post was submitted on 01 Feb 2024
17 points (100.0% liked)

AniSocial Meta

273 readers
2 users here now

Welcome to the AniSocial Lemmy community!

This is a space for meta discussions about our instance and ways to improve our community. Share your ideas, feedback, suggestions, and questions with us here.

Important announcements may also be found here.


Rules

  1. All posts must be related to the AniSocial website.

  2. Be kind and respectful to one another.

  3. Do not impersonate another person or entity.

  4. Do not create announcement posts if you are not an admin.


Helpful links

founded 1 year ago
MODERATORS