Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
I don't think there's a way of doing this automatically at the moment.
With Lemmy's API you could set up a bot that takes care of listing all the local communities on a remote server and then searching them from yours, which would make them appear in your search results.
But if you want the publications of this remote community to federate with your server, you need to have a local user subscribed to it.
I'm working on a Rust API wrapper around the existing common API to make it easier to use. Implemented the calls that could let someone do this exact thing at scale last night.
It's nowhere near ready for production and is still missing a lot of basic API functionality even for a simple bot, but I think it'll be ready to publicly release in an alpha state within the next couple days.
This sounds like a great idea
That's neat. Is the idea that the bot user would enumerate and then subscribe to the communities found through the Lemmy API?
Pretty much, that would force federation. Though I don't think users in the other community would see your communities until someone from there searched one of yours.
An idea I have is giving small communities an option to run the bot on their instance, and it would add them to a list. Then, communities voluntarily participating in that list could auto-populate each other's communities through the bot. I could see spammers abusing something like this to try and flood feeds with garbage content until they're defederated though, especially on instances with open registration, so there is a downside. But that's something the community of proper users will need to be prepared to fight down the road.
Yeah, that's a slippery slope. I think that federating to receive content from an instance is fundamentally different than making your content show up on a instance that didn't ask for it. I definitely see the value your implementation would bring to new/single-user instance to populate the feed. Good luck!
If you do happen to release an alpha publicly, please do be sure to post it somewhere here - I'd love to take a look at it!
Ah, so someone needs to be actually subscribed to a community for their content to show up in All?
Alright I guess I'll have to write a simple Bot that can do that for me then
If you're comfortable with Python, you can try this out: Lemmy.py
I'll give it a shot :) If I manage to make something useful I'll share it
I also run a self hosted instance so I would be interested in a bot that stays subscribed to communities I want "synced" into my instance without me also being subscribed
I'd like something like this too, if you get somewhere please let me know!
My first thought was also to make a bot that does this, give it a list of servers and it subscribes to all communities on those servers.
Perhaps a subscriber limit, not subscribing to communities with less than X users might be useful. Not sure if that's necessary though.
Haven't gotten around to it yet, but I think the Lemmy API has everything needed to do that. If you want a second pair of eyes on the code, reach out!