Join Nostr
2024-10-31 21:25:51 UTC

Todd Sundsted on Nostr: I've been thinking about the [demise of botsin.space]( ). Running a site for bots is ...

I've been thinking about the [demise of botsin.space](https://muffinlabs.com/posts/2024/10/29/10-29-rip-botsin-space/ ). Running a site for bots is hard (and expensive) but writing and running an ActivityPub-based bot should be easy.

To prove this was the case I added experimental support for bots/automations to [Ktistec](https://github.com/toddsundsted/ktistec ) in the form of scripts that the server periodically runs. These scripts can be in a programming language of your choice. The server provides credentials for its API in the process environment (if you can use curl you can publish posts), simple interaction happens via stdin/stdout/stderr, and the complexity of using ActivityPub is abstracted away.

The code is only available on the following branch for the moment:

    https://github.com/toddsundsted/ktistec/commits/run-scripts/

There are a couple example shell scripts here:

    [https://github.com/toddsundsted/ktistec/commit/4982925a...](https://github.com/toddsundsted/ktistec/commit/4982925a62be587d0ffaa5b726408aaf14e6a097 )

I have a few enhancements in mind, but it's already proven useful as a means to periodically log data from my server host, and I'll use it, when finished, to publish release notes.

#ktistec #activitypub #fediverse #bots