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
GitHub - toddsundsted/ktistec: Single user ActivityPub (www.w3.org/TR/activitypub/) server.
Single user ActivityPub (https://www.w3.org/TR/activitypub/) server. - toddsundsted/ktistecGitHub
reshared this
MikeK
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.
Todd Sundsted
in reply to MikeK • • •thanks!
export your history from mastodon and import into ktistec?
lachlan slowly taming rust
in reply to Todd Sundsted • • •lachlan slowly taming rust
in reply to lachlan slowly taming rust • • •Todd Sundsted
in reply to lachlan slowly taming rust • • •