Skip to content

CosmicRaptor/lemmeme

Repository files navigation

lemmeme

A Discord Bot which fetches memes from lemmy! Made with discord.py.

Key features

  • Caches memes every 15 minutes from lemmy into RAM, no disk writes involved.
  • Low memory footprint, and low web queries to lemmy.
  • Uses the lemmy RSS feed for fetching memes, no login required.

Self hosting

  • Get Docker
  • Clone this repository.
  • Set your bot's token in token.env
  • Run docker-compose up -d to build and run the bot's container.

Adding custom meme upstreams

Screenshot of the RSS feed button for lemmy

  • Copy the URL from the RSS feed button(the little button that looks like a WiFi icon). Example: https://programming.dev/feeds/c/programmer_humor.xml?sort=Active
  • Remove the sort algorithm from the URL, and paste it into the config.json. For example in this case you will paste https://programming.dev/feeds/c/programmer_humor.xml?sort=

Roadmap:

  • Add a simple way for bot administrators to add custom meme upstreams.
  • Fix posts without images appearing in the meme command.
  • Improve readability of the code.

About

A Discord Bot which fetches memes from lemmy!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published