Skip Navigation

Lemmy Bots and Tools

Members
0
Posts
31
Created
3 yr. ago

Welcome to the programming.dev lemmy development community! This is a place to discuss and show off bots, tools, front ends, etc. you're making that relate to lemmy

Theres another version of this community over at lemm.ee if you want to subscribe to that one as well

Icon base by DarkZaitzev under CC BY 3.0 with modifications to add a gradient

🌉 bridged from !lemmy_dev@programming.dev by Tidepool

Lemmy Handshake - Beta release

cross-posted from: https://sh.itjust.works/post/3365629

The app that synchronizes multiple lemmy accounts so you can migrate and keep backup accounts across instances, it's opensource and free, currently working in android and windows. It's in homologation now and anyone can test, any feedbacks are welcome as always. If you find any bugs please report Github Source ———

Download now

——— image image

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?

RemindMe Bot Version 1.4! Back online after a couple months

Hey everyone! I recently finished up the remindme bot 1.4 update to make it comply with the lemmy.world bot guidelines The bot now functions using an allowlist so if you want it to work in your community make sure to open up a federation request issue on the repository This bot aims to give people an easy way to remind themselves about an event on the fediverse. For example if theres something releasing in a couple months people can set a reminder using @RemindMe@programming.dev 2 months and they will get a reply to that message 2 months from then reminding them about it so they can check it out. (reminders are handled by replies so that it functions in kbin communities, and so that users from platforms such as mastodon can also use it in the communities) Bot is fully open source so feel free to make pull requests with new features if you want or customize it to adapt it for your community if you want to self host. Hope you enjoy it :) More bots on the way as I go through and update them all (p.s. the bot works in all programming.dev communities so you can test it out here) Repository: https://github.com/PangoraWeb/remindme-bot Matrix Space for Pangora: https://matrix.to/#/#pangora:matrix.org

github.com

Infinity for Lemmy has been renamed to Eternity

cross-posted from: https://lemmy.toldi.eu/post/66974

Hello everyone! I'm excited to bring some news to our wonderful community today. After an engaging voting process on the voting thread, we as a community have decided to change the name from Infinity for Lemmy to Eternity. 🎉 I am grateful to everyone who participated and voiced their opinions. It was great to see so much involvement! While !eternityapp@lemdro.id will be our new gathering space, I'd like to let you know that the original !infinityforlemmy@lemdro.id won't be closing its doors immediately. This way, everyone has enough time to transition comfortably and get accustomed to our new home. Lastly, remember, while names may change, our spirit and camaraderie remain eternal. I cherish our roots with "Infinity for Reddit" and am excited about the journey ahead in "Eternity". Let's collaborate, share, and continue building on this vibrant community. Have fun and see you all in Eternity! 🚀🌌

The RemindMe Bot! A lemmy bot that reminds you after an amount of time

Im currently hosting this bot here on programming.dev and have it set to federate with everything programming.dev does so you dont need to self host To trigger the bot just tag @RemindMe@programming.dev at the start of your comment and then put the amount of time you want to be reminded in • Supports everything from seconds to years up to a maximum of 10 years • Supports other activitypub platforms as long as they can make a message in lemmy (ex. mastodon) If you have any improvements or suggestions feel free to make an issue/pull request in the repo Edit: Now works based on keywords so you can summon it with !remindme instead of a full ping See edit 4 Edit 2: Kbin seems to break it if your comment doesnt have language set to english. Not something I can fix, kbin is going to have to See edit 3 Edit 3: Ive fixed the kbin bug for all communities in the instance. No promises if it doesnt respond in a non programming.dev instance though as their language settings may be different and block replies to your comments Edit 4: The bot is temporarily offline so I can make it follow the lemmy.world bot guidelines

github.com

Lemmy World: Rules of Use for Bots

cross-posted from: https://lemmy.world/post/1860512

As we see more and more bots on Lemmy World every day, it’s about time we publish a set of rules for bots and bot-owners. So here goes: • Bots shall not be used for any kind of advertising. • The bot accounts must be clearly marked as a bot. • The owner of the bot and contact details must be mentioned in the bot’s bio. • Bots are only allowed to post in communities they have the explicit permission from the community’s owners to do so. • Bots from other instances that post in Lemmy World communities must follow the same rules. • Bots shall not just be posting Reddit content. • Bots shall not be “spammy”, as in multiple posts per minute. • Breaking any of these rules will result in a ban for the Bot and, if required, its owner. • Commands must use the bots mention as prefix, and not a text prefix like !help These rules will be updated when needed.

List of Active Lemmy Bots + Sources

Heres a list of lemmy bots that you can find! If you have any to add feel free to add a reply and mention them ———

Global Bots (active in most instances)

——— • ⌛ RemindMe (programming.dev) - A reminder bot that triggers off of both mentions and keywords to catch people trying to use the reddit bot syntax. • Written in JavaScript • Self-Hostable (without keywords) • Source: https://github.com/Ategon/Lemmy-RemindMe-Bot • Example: !remindme in 5 years ——— • ⌛ remindme (lemmy.icyserver.eu) - A reminder bot that triggers off of mentions. • Written in Rust • Self-Hostable • Source: https://github.com/iceHtwoO/lemmyremindyou • Example: @remindme@lemmy.icyserver.eu 5 years ——— • 🔗 CommunityLinkFixerBot (lemmings.world) - A bot that responds with fixed links to communities when a regular community link is posted so people dont have to leave their instance ——— • 🔗 PipedLinkBot (feddit.rocks) - A bot that posts piped links to videos when a youtube link is posted • Written in TypeScript • Source: https://github.com/TeamPiped/lemmy-piped-link-bot ———

Programming.Dev Bots (active in certain communities in programming.dev)

——— • 📣 Mega - An rss feed bot that auto posts new posts that get added to the rss feed • Written in JavaScript • Self-Hostable • Source: https://github.com/Ategon/Lemmy-Mega-Bot ——— • 💬 Frank - A bot that auto makes premade posts at specified intervals. For example for weekly discussions • Written in JavaScript • Self-Hostable • Source: https://github.com/Ategon/Lemmy-Frank-Bot ——— • 🛡️ Guardian - A bot that automatically deletes post and comments with disallowed links • Written in JavaScript • Self-Hostable • Source: https://github.com/Ategon/Lemmy-Guardian-Bot ——— • 🤖 AutoTLDR - A bot that creates a summary of a post, comment, or link when mentioned ——— • 🔺 Score Bot - A bot that detects when a post got a certain amount of upvotes and then makes a reply on it • Written in JavaScript • Self-Hostable • Source: https://github.com/Ategon/Lemmy-Score-Bot ———

feddit.nl Bots (active in certain communities in feddit.nl)

——— • 📈 tcbot - A bot that shows currently trending communities ———

The Guardian Bot: A lemmy bot that deletes messages containing blacklisted links

This is a bot I made for the programming books community here on programming.dev to prevent pirating but can be adapted to any community.

It has functionality for both a whitelist and a blacklist and has templates so you can share ban lists between communities. It also detects in both posts and comments

Since it deals with deleting messages it needs mod permissions in communities you want to use it for

Feel free to dm me if you need some help with getting it set up

github.com

Eternity v0.1.0 released!

cross-posted from: https://lemmy.toldi.eu/post/69308

Hello everyone! I've just released the first version of Eternity (after changing the name from Infinity for Lemmy). It's been long overdue, but I wanted to finish a few features before this update. This release includes various fixes and new features, such as: • Blocking users/communities • List blocked users/communities • Separate up/down votes (can be disabled in the settings) • Private messages • Content reporting • New themes (including a new default one!) • Fixed various crashes. And a huge thank you to everyone who provided feedback, translated the app, or contributed in any form during the testing phases of this release. Your insights and suggestions were invaluable in making Eternity better for all users. I'll continue to gather feedback and make improvements in the coming updates, so please don't hesitate to reach out with any further thoughts or issues you might encounter. Your support and engagement mean the world to me! Happy browsing!

codeberg.org

Raccoon for Lemmy is now available for testing on Google PlayStore

Crossposting what I found in another community, original text below:

If you’d like to test it download it here GitHub repo releases Try it out & feel free to report any bugs. Testing aims to eliminate bugs and enhance user experience before app hits the market. Should you have any questions post it below, on Github or send an email: diego.beraldin+raccoon4lemmy@gmail.com App includes mod tools. Happy testing! In case you are interested and willing to participate, drop the dev a direct message or email above. Since Google allows only to access closed tests, they need to add the email address you use in Google Play to the tester group.

Voyager released to the App Store!

cross-posted from: https://lemmy.world/post/2807814

It's taken a lot of hard work and I'm excited to announce that Voyager is now on the Apple App Store! If you have time, download the app and consider leaving a review! This helps Voyager gain visibility and legitimacy.

Get the App!

https://apps.apple.com/us/app/voyager-for-lemmy/id6451429762

Can I continue to use the PWA?

Of course! The PWA is self-hostable, hackable, and receives updates quicker. However, it doesn't have access to certain native APIs that the native app takes advantage of.

Can I continue to use the Test Flight beta?

Yes, but I recommend switching to the App Store release if you aren't actively involved in testing. It's a more stable release :) Get the App: https://apps.apple.com/us/app/voyager-for-lemmy/id6451429762 Enjoy! 💙

Score Bot: A lemmy bot that detects when posts reach an upvote total

Bot I made for the !community_request@programming.dev community to notify me when a post got a large amount of upvotes so I can make the requested community. Can be adapted for different cases if you want to ping someone, give a congratulations message, etc. If you have any feature requests feel free to throw them into the issues tab in the repo

github.com

Awesome GitHub list of useful apps, tools and websites for Lemmy: dbeley/awesome-lemmy

cross-posted from: https://programming.dev/post/371748

If you're familiar with the topic of awesome lists on GitHub, then you should know that there is a community driven list just for Lemmy, including a convenient aggregation of links to instances, alternative front-ends, mobile apps, libraries, tools, guides, etc.

github.com

Connect 1.0.141 Released

cross-posted from: https://lemmy.ca/post/3660150

Hi, I've just been responding to feedback and implementing suggestions and release 141 is just that. Large new features are in-app release notes, customization for comment long-press actions, and community filters. Alongside a dozen smaller fixes, additions, and optimizations.

Added

• Added hex input to colour pickers • Added setting to change comment long press action • Added option to hide nsfw in main feeds but not inside communities (note currently only applies to 'hide') • Added sign up button on sign in page • Added sticky sort (remembers changes to sort) • Added community filters (filters posts from communities whose name matches a filter) • Added setting to control notification time Interval (10S to 12H) • Added share and hide to comment swipe actions • Added release notes to app startup • Added setting to control release notes

Fixed

• Fixed table markdown in some scenarios • Fixed the exit confirmation not showing when the left drawer was disabled • Fixed issue with jumping to parent comment being offset in comment navigator • Fixed draft comments loading the wrong comment while editing when you have multiple comments • Fixed 'View full post' modal not disappearing on click • Fixed theme setting not persisting • Some optimizations to how posts are laid out, scrolling should feel smoother • Small logo tweak Thank you everyone for all of the support and suggestions, please keep them coming and we'll continue to make Connect the best app for browsing Lemmy!

Links:

• Google play • you can support me here -kuroneko

Programming.dev bot guidelines

With lemmy.world having published their own set of bot guidelines I figured I should make some here as well to get some parity The rules are less strict than lemmy.worlds rules within the confines of programming.dev but for communities in instances outside programming.dev default to the lemmy.world rules unless told otherwise

Bot Guidelines:

1. Mark Bots as Bots Bot accounts should be marked that they are a bot using the checkbox in the user settings. This includes any automation in an account (if you automate part of your personal account, put what the automation is in your bio so people know) 2. Put contact info The owner of the bot and some way to contact them must be in the bot's bio (unless its an automated personal account, in that case the account itself it the way to contact) 3. Use mentions as prefix If a bot has commands it should use its mention as a prefix. (This will allow different bots to use the same commands without interfering with each other) 4. Dont spam Bots should not spam posts or comments. (If a bot command has been used its fine to do a response but dont drown out non bot posts in the local new sort.) Certain cases are unavoidable such as if you want to get a bot posting weekly threads in different communities at the same time but in those cases please contact me first to get it approved 5. Allow mods to opt in Bots participating in a community should be opt in so communities can choose what bots they want. If you want a bot to be allowed in a community please contact the moderators of that community first. EXCEPTION: If a bot is deemed to be a well behaving bot that brings net good to the instance it can override this rule as long as it has been approved by an admin. This can include things such as a tldr bot, remindme bot, link fixer bot, piped link converter bot, etc. If a bot has overriden rule 5 with this exception community moderators should still be able to opt out of the bot These rules should bring us up to parity with lemmy.world along with allowing a bit more leeway within the instance since there has been some nice bots getting made that I dont want unfairly punished If you have a bot you want whitelisted for the entire instance for the rule 5 exception feel free to dm me here or on matrix And if anyone has any suggestions for changes to these rules feel free to comment them. They can be adjusted as needed if any issues with them come up

Would a single-user self-hosted frontend for interacting with Fediverse apps be feasible?

Hello!

While discussing about privacy on Lemmy and in the Fediverse, I've stumbled upon an idea that would solve some of the issues inherent to the fact that you need to have a home instance, that is under control of someone you have to trust. But my knowledge about ActivityPub is lacking, and I'm not sure if something like this would be possible or not. Also - it possible that something like that already exists, but I didn't manage to find anything.

So, would it be possible to create a Fediverse/ActivityPub app that is just a self-hosted frontend for interacting with other apps, such as Lemmy or Mastodon, that only hosts your own personal data related to your account, but not the content you post to other instances?

The main thing I'm unsure with is how Fediverse works in this regard - who hosts the content. If my home instance is programming.dev, and I create a Post or a Comment on lemmy.ml, who is the source of truth for that post? Does the content get saved on my home instance, and Lemmy.ml only gets an ID that it queries if an user requests it, or do I send the content to Lemmy.ml to live on their server?

Depending on this, it would make such a self-hosted app easier or harder. If the content lives on the instance I post it to, it would mean that you can create a fediverse app that only stores your personal user information and DMs, and you don't have to deal with serving your posts to others - because they live on the other instance you posted it to. Then all that would be left is to create an UI for displaying and querying content from other instances, and you have a way how to interact with the Fediverse without risking any of your personal private data.

On the other hand, if the content would have to live on my instance, I would have to deal with serving it to whoever requests it, which would make it a lot harder to self-host.

I kind of hope it's the first option, because then it would allow for public communities of content-only servers while also letting users have their own personal-data only instances that allows them to interact with the rest. And I really like that idea, because it would allow you to for example have reliable E2E for messages, since you have the code that generates and stores the private certificate under absolute control, and only need to share your private key with others.

In general, it seems like a great solution to many privacy problems on the Fediverse, and if something like that would be possible (without having to serve the content, because then it may get too resource-intensive for a regular user), I would definitely try to come up with such a solution.

And now that I think about it - if you actually have to host the content, then it maybe be possible to create a combination of user-data / content servers, where you select a public community run content server to host your data, and have the personal user-data server self-hosted. And if a request comes to your user-data server for content, you just redirect it to the community-ran server. But that's just brainstorming.

The lemmy rss feed bot has been updated to handle V0.18

The bot api got updated so updated my rss feed bot to V0.18 as well It auto posts new things from rss feeds into communities. I currently have it set up in !godot@programming.dev !unity@programming.dev and !unreal_engine@programming.dev posting official news from the engines and some other people are using it as well (one having adapted it to post news from their city) If you want to set it up and are having issues feel free to ask me about it. In this update theres also some other things about the bot that have changed • Data is now pulled from a yaml file so its easier to deal with as opposed to digging through the javascript code in order to change stuff • Important values such as how long the bot will wait before checking for new posts have been parameterized • You can now post things that are in two rss feeds or in one rss feed but not another if you want to filter posts down a bit more • You can set a date cutoff for how long ago you want to backpost posts from

github.com