OpenHospitalityNetwork / ohn-solid

[deprecated, see https://github.com/solidcouch/ instead] A hospitality exchange platform for bicycle touring community where members own their data and which can be connected with other similar communities in the decentralized hospex network.
https://solid.openhospitality.network/
MIT License
7 stars 2 forks source link

Federating roof-and-bed requests over ActivityPub #20

Open Houkime opened 1 year ago

Houkime commented 1 year ago

... which can largely be done via piggybacking on public infrastructure.

Reading requests

Any mastodon server has an api endpoint like this

https://mastodon.social/api/v1/timelines/tag/cats

If there are posts on Fedi (Mastodon or not!) with #cats hashtag, they will be in this feed provided that at least one mastodon.social user was following to the source of this post, or boosted it, or followed someone who boosted. Polling two or three servers should get one a good percentage of all posts tagged with #cats For roof-and-bed, we can try using some new tag like #SleepyBikeNeedsRest. We will poll for this tag in the app or frontend, filter locally for posts that comply with some criteria (like, which include a location which is nearby), and that's it. Humans can write requests from their Mastodon, Pleroma, Misskey and whatnot by hand and they will be visible to sleepybike users, provided they comply.

Posting requests

If we want posts to be authored by a Solid account and retranslated to the fediverse, we have options: