When I started the work on ActivityPub projects I fully embraced Maslow's Hammer adage.
-
When I started the work on ActivityPub projects I fully embraced Maslow's Hammer adage. I wanted as much as possible in my services to go through the #ActivityPub vocabulary and I fully embraced the client to server API.
But there are elements of a web application that require custom functionality no matter what, say changing a password. So for those I just added the capability of running commands through ssh.
-
? [[global:guest]] crossposted this topic to General Discussion
-
When I started the work on ActivityPub projects I fully embraced Maslow's Hammer adage. I wanted as much as possible in my services to go through the #ActivityPub vocabulary and I fully embraced the client to server API.
But there are elements of a web application that require custom functionality no matter what, say changing a password. So for those I just added the capability of running commands through ssh.
@mariusor I’d love to hear more about this!
-
@mariusor I’d love to hear more about this!
@toddsundsted I got inspired by the Stegodon project, which uses some Go specific libraries that merge TUI libraries on top of an SSH server.
What I did was to extract the CLI commands available to my server and allow execution through that interface.
-
@toddsundsted I got inspired by the Stegodon project, which uses some Go specific libraries that merge TUI libraries on top of an SSH server.
What I did was to extract the CLI commands available to my server and allow execution through that interface.
@toddsundsted as a user you login with your ActivityPub actor ID as a user, and your pw (if you have one) or your actor's private key (which you obtained somehow, it's not clear yet how that's going to work in real scenarios).
In interactive mode you get a TUI to see your actor and its collections, and non-interactively you can execute the said commands.
-
@toddsundsted as a user you login with your ActivityPub actor ID as a user, and your pw (if you have one) or your actor's private key (which you obtained somehow, it's not clear yet how that's going to work in real scenarios).
In interactive mode you get a TUI to see your actor and its collections, and non-interactively you can execute the said commands.
@mariusor okay this is intriguing
-
@mariusor okay this is intriguing
@toddsundsted eh... for an admin interface it has a better UX than having to ssh to a machine where the service is already running and deal with executing commands in a container or whatnot, but for actual end-users it's probably far from ideal.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login