view the rest of the comments
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.
-
No spam.
-
Posts are to be related to self-hosting.
-
Don't duplicate the full text of your blog or readme if you're providing a link.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.
-
AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.
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!
I'm still learning the API, but if you wanted to build your own community crawler, you could do something like this:
/api/v3/siteagainst your own and look at thefederated_instances.linkedkey and query each of those. If your federation list is small, you could call that API endpoint for another instance, such aslemmy.mlorbeehaw.orgto get theirs.{domain}/api/v3/community/list?type_=Localto get a JSON list of its local communitiesYou probably don't want to crawl and subscribe to every community on every instance. That would cause a lot of unnecessary traffic for both you and the instances you're subscribed to.
To quickly make a remote community "known" to your server, you can massage the Lemmy-UI's search endpoint to make it work a little better.
https://{your-instance-url}/search/q/[!community@domain.tld](/c/community@domain.tld)/type/All/sort/TopAll/listing_type/undefined/community_id/0/creator_id/0/page/1Replacing
[!community@domain.tld](/c/community@domain.tld)with the remote community address you want. Can be in either[!community@domain.tld](/c/community@domain.tld)orhttps://domain.tld/c/communityformats - both will work. Calling the search page that way will wait until there is a result before rendering rather than showing "no results" and making you click search two or three times until it appears. Same process on the backend, just cleaner in the front.You can do that through the backend API similarly, but you'd have to put your JWT in an
authURL param which I wouldn't suggest against the instance's public URL.Dove into the API last night to see how difficult it would be to use the REST API to create something resembling RES for old.reddit.com. That's about as far as I got before life got in the way, so hopefully that's useful for someone.
Wow, just wow. Thanks for the ideas... Guess I need to familiarize/play around a little bit...