One liner for posting a mastodon status from command-line (you need to get a token from preferences/development and put it in a file called `token`):

curl -H "Authorization: Bearer $(cat token)" botsin.space/api/v1/statuses --verbose -F status="I like cheese"

I found this API nina.api.bund.dev/ to the German national alert system - a bit too late to see what it looked like on the annual test.

But I wonder how often I'm meant to poll it without making anyone mad?

The cache headers say the alert list is valid for 10 years, which is probably wrong, given that official apps talk of alerts within 1 minute.

I have all these network connected RGB LEDs, you see, with the emphasis in this case on the R component.

benc's personal instance

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!