Skip Navigation
lemmy_dev

Lemmy Bots and Tools

  • Lemmy Webhook - add webhook support to your Lemmy instance

    Hi there!

    Since the last time the LemmyWebhook package gained quite a few new capabilities so I've decided it's time for another post.

    ---

    Quick intro to the package: It adds support for webhooks to Lemmy, meaning you can get notified of events to automatically react to, instead of having to poll for everything, often using multiple http requests. Everything is done in a quite efficient way which avoids hitting your database as much as possible and if it does, it only uses queries on primary key. You can also (optionally) make it available to other users who can then run their bots on your instance only on the permissions you allow them, meaning if you only grant them access to post events, they don't also get access to new user events.

    ---

    So, what's new?

    • When you listen for an update event, you get the previous version of data in addition to the current one, meaning you can directly compare what has changed
    • New function for getting parent comment id have been added, with this you can for example detect if someone is replying to your bot
    • You can now listen for community subscribe/unsubscribe event

    ---

    As usual, let me know what you think, feel free to offer suggestions or ask questions.

    2
  • The Mistral AI bot here on Lemmy now remembers context

    I’ve updated @[email protected] to remember the whole tree of comments when replying to you, so it can do follow-up responses. You still have to mention it on every message, though. Example in the comments.

    12
  • 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
  • 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: [email protected] > >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.

    0
  • Lemmy redirect service - now with support for post links

    Quite some time ago I've posted about the tool, back then it only supported linking to communities, now it supports users and posts as well.

    So what is this?

    This is a service that's great for linking to Lemmy posts/users/communities in an instance-agnostic way.

    What's the problem?

    When you link to a community (user, post) using its URL, the users are taken to your instance instead of their own.

    With this tool, you can wrap them in a lemmyverse.link link that offers them to set their home instance (or ignore it and go straight to the user/community/post).

    Some examples

    • https://lemmyverse.link/c/[email protected] - a link to community for announcements of my instance
    • https://lemmyverse.link/u/[email protected] - a link to my Lemmy profile
    • https://lemmyverse.link/lemmings.world/post/1676591 - link to a new user's guide I've written recently

    Note that some of those problems have a solution when you're linking to content in Lemmy, for example the community can be linked like this: [email protected] and almost all clients support it. The 2nd link can be handled like this: @[email protected] - this format is notably not supported by the default Lemmy UI. To my knowledge, the 3rd link currently doesn't have any widespread equivalent solution (though some apps may support handling such cases). But without a tool like this one, you can't comfortably link to Lemmy content from outside of Lemmy (like in an article, blog post etc.)

    On the homepage you will find a generator where you can simply paste the URL and it will generate a link for you.

    > You can also set 3rd party frontends as your target instance, for example a.lemmings.world for Alexandrite hosted on Lemmings.world or photon.lemmy.world hosted on Lemmy.world.

    > You can also access the tool at https://threadiverse.link

    1
  • rikudou Rikudou_Sage @lemmings.world

    Lemmy Schedule - app for scheduling posts and getting notified of new posts

    My Lemmy Schedule app now includes the option to get notified of new posts in a specific community!

    In case you haven't heard about the app before, here's what other things it can do:

    • schedule a post and post it to multiple communities
      • you can upload an image as well and choose between uploading to your Lemmy instance or to Imgur
    • create a recurring post that gets posted at a specific date and time (especially useful for daily/weekly/monthly/end-of-month threads)
    • schedule pinning and unpinning of posts (instance and community)
      • the pinning and unpinning can be specified as part of creating a post
    • the aforementioned notifications about unread posts from a specific community (useful for mods)
      • can be also set using a recurring schedule, so you can get the report daily/weekly/monthly etc.

    To learn more, visit the [email protected] community.

    P.S. It's open source and can be self-hosted using docker!

    0
  • RemindMe Bot Version 1.4! Back online after a couple months

    github.com Release Version 1.4.0: Bot Guidelines and Allowlists · PangoraWeb/remindme-bot

    This is an update to the bot to make it follow the lemmy.world bot guidelines. Included is Defaulting to an allowlist for communities instead of federating with everything by default. Community mo...

    Release Version 1.4.0: Bot Guidelines and Allowlists · PangoraWeb/remindme-bot

    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 @[email protected] 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

    6
  • Eternity v0.1.0 released!

    codeberg.org Eternity

    A Lemmy client forked from the Infinity for Reddit project

    Eternity

    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!

    0
  • 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 > --- > > ! > ! >

    1
  • 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

    0
  • 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 [email protected] will be our new gathering space, I'd like to let you know that the original [email protected] 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! 🚀🌌

    0
  • Some stats of my AutoTLDR bot

    I hope this is allowed, if not, I'll delete the post, I just wanted to share some stats of my bot because I'm quite excited about them.

    ---

    ---------- --------- ----------- ------------------------- ------------------------- ------------------------ Comments Upvotes Downvotes Negative comments count Positive comments count Neutral comments count ---------- --------- ----------- ------------------------- ------------------------- ------------------------ 2769 13734 426 0 2769 0 ---------- --------- ----------- ------------------------- ------------------------- ------------------------

    Note that the bots default upvote is not considered for the stats. Positive comments are those where there's more upvotes than downvotes, neutral ones are those where downvotes and upvotes are the same and negative are when the comment has more downvotes than upvotes.

    4
  • 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! 💙

    0
  • Why can't my bot see the posts in my community?

    Hi folks, so glad this channel is here.

    Recently, I:

    • Created a community called fullmoviesonyoutube on lemm.ee
    • Decided I wanted to write a bot to post helpful comments when people post movies there.
    • Created another community called fullmoviesbottesting.
    • Created a user on lemm.ee called fullmoviesbot
    • Wrote and tested the bot from my PC using the lemmy-bot as a starting point, pointing it at that 'fullmoviesbottesting' community, until I was finally pretty happy with it.
    • Updated the bot's code so the federation - allowlist points to 'fullmoviesonyoutube' on the same lemm.ee instance.
    • Ran the bot, created a post with my personal lemmy account.... and nothing happened.

    The bot is not creating comments in the new channel. It's like it doesn't see posts created by any other users.

    Is there something I need to do to get my bot to recognize posts from other users in the new channel?

    I did a test where I logged into lemm.ee in my browser with the bot's user, and created a post and the bot created a comment on that post, but for some reason, that bot-created post doesn't show up in the community. This is that "orphaned" post: https://lemm.ee/post/2896238

    I guess another way to ask this - what are the rules for bot's when it comes to creating comments on other user's posts?

    EDIT --- Here's the full code: https://controlc.com/dd54eae6

    (it's rough - don't judge me) Thanks!

    4
  • I created an AutoTLDR bot

    github.com GitHub - RikudouSage/LemmyAutoTldrBot

    Contribute to RikudouSage/LemmyAutoTldrBot development by creating an account on GitHub.

    GitHub - RikudouSage/LemmyAutoTldrBot

    You can find it here. Source code in the link.

    2
  • How to get user id from LemmyHttp.login?

    I have tried to decode jwt, but sub field refers to completely different user

    2
  • Community Link Fixer updated

    I've updated the bot and added the possibility of translating hardcoded links (like this one: https://lemmy.world/post/2355178 or this one: https://lemmy.world/comment/1863672) to posts/comments with links from your instance when you mention him. I'll show an example in comments.

    18
  • I updated the PHP api client to work with 0.18.3

    github.com GitHub - RikudouSage/LemmyApi

    Contribute to RikudouSage/LemmyApi development by creating an account on GitHub.

    GitHub - RikudouSage/LemmyApi

    It now supports 0.18.3 and contrary to previous releases it supports unauthenticated requests where it makes sense.

    https://github.com/RikudouSage/LemmyApi/

    2
  • github.com GitHub - CosmicRaptor/lemmeme: A Discord Bot which fetches memes from lemmy!

    A Discord Bot which fetches memes from lemmy! Contribute to CosmicRaptor/lemmeme development by creating an account on GitHub.

    GitHub - CosmicRaptor/lemmeme: A Discord Bot which fetches memes from lemmy!

    I created a discord bot which gets memes from lemmy RSS feeds and posts them to discord. I'm still learning, please suggest improvements/features!

    0
  • [Request] User Backup and Migration Tool

    Lemmy devs, please share if you built any tool that backup a single user's Lemmy account, settings, subscriptions - then can migrate or restore the account as new into other instance. This tool will be used by the user themselves, not by the instance admin.

    Can we migrate a user's post and comments to another instance? Maybe like a bulk posting as new posts.

    4
  • 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.

    0
  • Consolidation bot: creating a community that consolidates / reposts Lemmy communities

    Consolidation is a big requested feature. Well, we can do that today with bots. Instead of Reddit-reposting bots, lets use Lemmy-bots to repost and consolidate Lemmy communities together.

    EDIT: The community will need to be moderator only, the bot should be a moderator. Posts/comments should be mapped to the original topic. I think the only feature needed from Lemmy-developers is some way to globally link to a topic? But we can kind of work around that issue by making a consolidation-bot / consolidation-community be server-specific?

    5
  • I want to start creating bots for Lemmy, but have a couple of questions about iterating through posts, comments, repports...

    I'm new to lemmy, only been here a few days, but I have already ported over one of my reddit bots to Lemmy and it was really easy, like orders of magnitude easier than it was to get my first reddit bot working.

    There are lots of wrappers available and I am researching everything to figure out how best to proceed with a more serious bot. Most of my scripts for reddit were moderation tools. Lemmy doesn't seem large enough to need a lot of moderation yet, but I still want to get to work creating things because it's fun.

    I'm finding documentation scarce in some cases so I just wanted to pose a question here. On reddit, if I want to look at posts (or comments, reports, modqueue, and so on) I iterate through a listing and then narrow my search based on what type of post I need.

    Does Lemmy use listings, or how do you process posts/comments in the same fashion as you'd do over there?

    I haven't had to take any mod actions yet because I don't have any reports, so I haven't really explored any of the mod actions via the api.

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

    github.com GitHub - Ategon/Lemmy-Score-Bot: A lemmy bot that detects when posts reach an upvote total

    A lemmy bot that detects when posts reach an upvote total - GitHub - Ategon/Lemmy-Score-Bot: A lemmy bot that detects when posts reach an upvote total

    GitHub - Ategon/Lemmy-Score-Bot: A lemmy bot that detects when posts reach an upvote total

    Bot I made for the [email protected] 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

    2
  • Potential methodology: .mp4 renderer bot?

    So I've got this dumb idea, but who knows, maybe it will work?

    Lemmy seems to support uploading <video> content, and .mp4 seems to be universally supported on modern web-browsers (phone, Windows, Linux, and Mac).

    There's a number of animations that can be described in textual form: Chess puzzles, Go puzzles, and other boardgames. Or video game strategies (Age of Empires 2 build orders. Starcraft). Factorio designs, etc. etc.

    For example, in the game of Tetris, strong players would help teach the game to newer players through the use of Fumens. This particular Fumen is represented by the base64-encoded data: v115@BhilFeAtglR4Beg0RpBtR4Ceg0RpAtzhAeh0JeAgWW?AURVSASYNuEw488AQr78AwKY5DkoBAAvhBtsuAAlsBzgQ4I?eR4CeRpwhBeglQ4CeRpwhAeAtglFewhBthlEewhAtKeAAPX?AS1STAS4kcDnoo2AMoo2AQieeEFcxCA, which could theoretically turn into a .mp4 animation describing the different positions of the game of Tetris.

    So if a strong Tetris player wanted to discuss a Tetris position, they'd enter Fumen (Javascript), create the rendering, and then call the bot with (!fumen2mp4 v115@BhilFeAtg...), and then the bot would reply by uploading a .mp4 of the Fumen positions, to allow different Tetris players to communicate about the game.

    I recognize that's a lot more work than a typical bot, but hey, lets exchange some of the more "difficult" ideas that might be worth working on.

    -----------

    Again: many games require this kind of visualization to have good discussions. Tetris is one obvious example, but so does Chess, Go, maybe Settlers of Catan, Magic the Gathering, and more.

    0
  • 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: @[email protected] 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 ---
    3
  • The RemindMe Bot! A lemmy bot that reminds you after an amount of time

    github.com GitHub - Ategon/Lemmy-RemindMe-Bot: A lemmy bot that reminds you after an amount of time

    A lemmy bot that reminds you after an amount of time - GitHub - Ategon/Lemmy-RemindMe-Bot: A lemmy bot that reminds you after an amount of time

    GitHub - Ategon/Lemmy-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 @[email protected] 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

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

    github.com GitHub - Ategon/Lemmy-Guardian-Bot: A lemmy bot that deletes posts and comments that contain blacklisted links

    A lemmy bot that deletes posts and comments that contain blacklisted links - GitHub - Ategon/Lemmy-Guardian-Bot: A lemmy bot that deletes posts and comments that contain blacklisted links

    GitHub - Ategon/Lemmy-Guardian-Bot: A lemmy bot that deletes posts and comments that contain 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

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

    github.com Release Mega Bot Version 2.0.0 - Ease of use · Ategon/Lemmy-Mega-Bot

    Due to the recent popularity of the mega bot and people setting it up for themselves I've reworked the code to make it a bit easier to set up. (especially if you don't have prior coding knowledge) ...

    Release Mega Bot Version 2.0.0 - Ease of use · Ategon/Lemmy-Mega-Bot

    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 [email protected] [email protected] and [email protected] 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
    0
  • Regex for lemmy spoilers

    Through trial and errors, I've created regex for lemmy spoilers:

    /:::\sspoiler\s+(?<title>.+)\n(?<body>[\s\S]+?)\n:::/g

    link to regex101.com with explanation

    1
  • 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.

    0
  • Lemmy ChatGPT bot that replies to your comments - by @[email protected]

    lemmy.world I created a Lemmy ChatGPT bot that replies to your comments - Lemmy.world

    Example in comments, it doesn’t reply to posts directly. Basically, you mention it like this: @[email protected] [https://lemmings.world/u/ChatGPT] and it replies. Edit: Added details on how to use

    0
  • Alternative front end UI for Lemmy (looks like old.reddit)

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

    > Discovered from this Hacker News post: > - https://news.ycombinator.com/item?id=36610884

    0
1 Active user