phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

Local posts support for other fediverse backends

Open Steffo99 opened this issue 1 year ago • 7 comments

From @graue in https://github.com/cheeaun/phanpy/pull/657#issuecomment-2348017219

Steffo99 avatar Sep 13 '24 14:09 Steffo99

GotoSocial is adding these as well. Technically, we've had them for a while, but with the upcoming 0.17 release, they'll be using the same local_only post parameter as Hometown.

VyrCossont avatar Sep 17 '24 00:09 VyrCossont

Also referenced in: https://github.com/superseriousbusiness/gotosocial/issues/3309?notification_referrer_id=NT_kwDOABeDFbMxMjQyNzcyMTk0MjoxNTQwODg1#issuecomment-2354345949

Steffo99 avatar Sep 17 '24 01:09 Steffo99

In case you're curious for UI reasons (not that this is necessarily the best design) this is how Glitch handles it:

image

So you can have 'Local-Only' Public posts, Local-Only Unlisted posts, Local-Only Followers Only posts.

sgrigson avatar Sep 17 '24 02:09 sgrigson

Here's how it's presented in Hometown. Essentially identical to Glitch.

Screenshot from 2024-09-13 02-27-43

graue avatar Sep 17 '24 09:09 graue

@sgrigson @graue Thanks for the screenshots!

Steffo99 avatar Sep 17 '24 13:09 Steffo99

@Steffo99 Got a PR for GoToSocial here:

https://github.com/cheeaun/phanpy/pull/1047

sgrigson avatar Feb 05 '25 07:02 sgrigson

As mentioned in the PR, this method would work seamlessly for Mastodon-Hometown as well, as Hometown does local-only posts the same way.

This PR only focused on adding the functionality for GTS, however.

sgrigson avatar Feb 05 '25 15:02 sgrigson