EDIT: As pointed out by @[email protected] in this comment, communities set to local are not viewable by guests. TIL!
This makes this whole idea redundant, since it solves the issue perfectly.
I wish Lemmy had better documentation 😬
Thanks again to Styrocrow for taking the time to explain this to me!
I’m seriously thinking of creating an API gateway that would drop API requests to privated communities (that we may choose) coming from guest users. This could potentially take me 1-2 weeks of development since i regrettably still have a day job that i need to attend to.
Since Lemmy development is somewhat erratic and we can’t really rely on developers to release lemmy 1.0 in a timely manner, i was thinking of just DIY’ing a custom solution for this instance only.
I would not normally suggest this solution, as it means basically swimming “against the current” of how lemmy works internally and potentially delivering a bad user experience to lurkers, but since the consensus in our userbase seems to be that privacy and opsec should be our number one priority, i think that beating around the bush with this problem is only going to generate pain and discomfort for everyone down the line.
Please vote on the strawpoll if this focus seems reasonable to you, even if it means pushing other features / fixes back for the meantime (Self ban feature, auto purge posts by request, web ui fixes)…
Thanks for your participation!



are you talking about the lemmy source code? 🤣
i was just looking at fetch requests this page makes, its a mess
ok it seems requests to the actual api like /list and /post do send a “authorization” header so like
Yep, basically. Thing is, some request would successfully pass and some would fail. Some frontends will 100% display errored stated for guests whenever they try to navigate to private communities.
surely frontend can handle failed requests, idk just return 404 and is good
yeah. it will probably not crash but some behavior produced by the API gateway will not be expected by the frontends.
im trying to find docs for the api but cant find a list of endpoints, i did find that although the quests this page makes uses the v3 api, the most up to date lemmy code has an api v4, always annoying
We use the v3 api. Confusingly enough, the v4 api is only for lemmy 1.0, which is in alpha…
any idea where the v3 docs are? only found v4