Re: Show: apchk.cgi - a Webfinger => ActivityPub Resolver and Checker

Hi Marcus,

> Just for the hack, I put together a *webfinger* bash script using bash,
> > curl, and jq.
>
> That should be circulated more! I wondered, if that would be preferable
> for the blog post, but went with the heavier toolchain approach to get
> stricter validation.
>

okay, I was a bit unsure about putting it in the public domain, but saw
this post and thought I should publish it.


> > I also have TypeScript Node.js client and server versions.
> >
> > Also am working on an http-signatures in bash too and accompanying
> > TypeScript Node.js client and server.
>
> That's wonderful! Once I explored signatures in order to send likes:
> https://codeberg.org/mro/activitypub/src/branch/master/like.sh


Oh, cool, that's really useful, thanks, nice code, makes it look simple. We
should be able to get something standards compatible with full validation.

Bash is far more expressive than I thought, you can even implement a web
server in it, and its neat :-

https://dev.to/leandronsp/building-a-web-server-in-bash-part-iii-login-a03

To have sh examples can be really instructive, you clearly see what's
> really going on.
>

Yes, it's very instructive, and "programming language independent",
although it's not.


> Can you share more of them?
>

I just wrote it a week ago and released it. I was heading for a
`note` command similar to *nix `mail`, but a whole suite of
command isomorphic to ActivityPub/Streams would be great.


> Marcus
>
>

-- 
Aaron Gray - @AaronNGray@fosstodon.org

Independent Open Source Software Engineer, Computer Language Researcher,
Information Theorist, and Computer Scientist.

Received on Tuesday, 19 March 2024 09:57:22 UTC