The now banned Padded Person of LemmyNSFW made a SauceNaoBot for Lemmy: https://lemmynsfw.com/post/97671
https://github.com/LemmySauceNao/LemmySauceNaoBot

No idea if it’ll be maintained anymore, but would be QoL upgrade since it’d take the burden off the user to provide sauce (and not everyone does).

Since this is not my code, I am wondering if this should/could be implemented on Burggit by admins, or by a user?

  • dejiko@burggit.moe
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I got it working (and ran it on my own account against my own posts.) I meant to do it last weekend, but I got caught up in some other open source work. The main issues for me were some dotnet 6.0 compatibility issues (i ran it on Linux): I had to adjust project references, move the saucenao bot code into a subdirectory to avoid .net assembly issues, and i made it so the PersonId of the bot is no longer hardcoded. I’ll make a fork of the original bot and post it somewhere. It’ll run with the stock dotnet command. We can then look into writing something less awful…

      • dejiko@burggit.moe
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Busier weekend than anticipated, but I didn’t want to push it till next one, so here it is, pretty unpolished. https://gitgud.io/chokora/lemmysaucenao

        I imagine the fastest way to throw it onto a server would be to dotnet publish it as a self-contained bin. Could also be put into a container but it has that weird thing where all of the inputs and outputs are files next to the executable still, which would make that annoying anyways.

        The general gist of the way it works seems to be that you can have it as a bot user, and communities can “opt-in” to it by adding the bot user as a moderator on their communities.