↳
In-reply-to
»
Learn to use email with git! Patch Workflows - Ry’s Git Tutorial - RyPress -- Another good blog post on working with Git patches via Email as well as applying them. -- The key point (I think) is that you need to grab the entire contents of email email in order in order to pipe the contents into
⤋ Read More
git am -
-- Hmmm 🤔 -- I think we can do better than this...
@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.