Salta al contenuto principale


I've been thinking about the demise of 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 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:

github.com/toddsundsted/ktiste…

There are a couple example shell scripts here:

https://github.com/toddsundsted/ktistec/commit/4982925a...

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

reshared this

in reply to Todd Sundsted

Very nice.

I'm looking for a personal instance, so this is welcome.

Suggestion. As I test personal Fedi software, a really useful, and rarely included feature is import from mastodon, which really helps in seeding a server.

in reply to MikeK

thanks!

export your history from mastodon and import into ktistec?

in reply to lachlan slowly taming rust

... but I also understand why. Thank you for giving them a place to thrive for a long while.
in reply to lachlan slowly taming rust

botsin.space wasn't my instance, but i do agree with you that it will be missed!