Yarn

Recent twts in reply to #fovxkya

@prologic@twtxt.net This patch workflow looks complicated for no reason to me, it also leave everything to a maintainer to handle privately before touching the public repo.

Maybe a branch based approach like the one used in GitHub/Lab/tea is simpler but still doable? Maybe as part for legit fork?

⤋ Read More

@prologic@twtxt.net ok, for interface what do you mean exactly? Are you talking about editing the repo?

About the web interface, I’d suggest to use REST API as the main interface regardless of where it’s built, so you can use them both on client and server side with the same data structure and available actions.

For the client side of any external scripting or custom web clients you have pure data to work with, if on the server side you have the same structs to build the HTML.

This helps us avoid having to work on both in parallel like with Yarn.social and leaving one side behind the other.

⤋ Read More

@prologic@twtxt.net exactly, exposed as a struct and functions (for actions) in a dedicated layer, then the API would have GET from structs and POST for functions, on server you render html the same way, structs in templates and POST for actions.

A way to have them seamlessly would be to handle the same page with content-type but maybe it’s an overkill for this kind of project.

⤋ Read More

Participate

Login to join in on this yarn.