Skip Navigation

So, how does one create a Lemmy bot?

How does one make a Lemmy bot? A couple of communities I moderate could benefit from a bot to post regular threads based on a template or respond to comments which contain key phrases.

How and where are Lemmy bots hosted? What language are they written in? I have some basic coding experience with Python/Bash/C++, but am not sure where to start when it comes to something like this.

Are there any good step-by-step guides for building a Lemmy bot?

9
9 comments
  • I'm not sure which is the best or most active, but there are several open source Lemmy bots you could check out to get an idea, or just use an existing one or fork it. This one for instance, lemmy-bot

  • Theres a lot of different frameworks to use for creating them

    The most popular one is lemmy-bot which uses js (and has descriptions for how to use it on the page)

    Theres also one in python though here with a couple examples in its repo

  • I personally use php and host them on AWS serverless, it costs almost nothing.

    Edit: Consider checking out https://schedule.lemmings.world for regular thread posting.

    • That's a bit of an advanced methodology.

      @[email protected] Don't feel overwhelmed if this one is a bit over your head when looking at the details of it's implementation.

      @[email protected] when visiting https://schedule.lemmings.world/, being greeted immediately by a third party asking for your login information is a bit jarring and requires trust. Maybe consider a landing page that has some more information about what's going on and a link to the git repo could be helpful.

      • Perhaps you're right, on the other hand I stopped caring after about the 5th time someone accused me of trying to steal their precious credentials.

        I know better use of my time than convincing people that no, I'm not stealing anything, it's just Lemmy devs being incompetent and not having any other way for 3rd parties to authenticate.

9 comments