Because #BotsInSpace is shutting down () I'm looking for a new home for my bots.
-
Stefan Bohacekreplied to Julian Fietkau last edited by
-
@stefan There's a £20 tier with unlimited accounts (I may end up halving that soon), or £4.50 for five - might need to tweak the amounts a bit. Alternatively, a custom amount should be able to be entered on the £4.50 or £1 tiers - I'm sure we can work something out
-
-
@arch Nice!
Well I am still thinking about what makes the most sense for me, but will definitely keep this in mind, thank you!
In the meantime, I added a link to your post to https://botwiki.org/resources/fediverse-bots/#bot-instances, if that's alright. (Or let me know if there's a better page to link to.)
-
Are you thinking of a general purpose server separate from bots (central, bots talk to you, you distribute)?
Or a server that anyone can embed inside or next to their individual bots (people add it to their bot, hosting along wherever their bots run already, bring your own subdomain, decentral, ~1 author's bots per server)
-
@krinkle @stefan
The latter.
A single file that you put on a subdomain like trainbot.example.comSo your bot is @[email protected]
-
OK! Want to self-host your own bots now #BotsInSpace is going away?
I've made the *simplest* possible server just for you!
Terence Eden / ActivityBot · GitLab
A single PHP file which acts as a basic ActivityPub bot server.
GitLab (gitlab.com)
Upload two files to your server (index.php and .htaccess), fill in a couple of details, and… that's it!
This is designed for write-only bots. It isn't interactive, it won't store or reply to messages sent to it, but it will post hashtags, links, mentions, and images.
You can see the sample bot @bot
Feedback very welcome!
-
-
-
@Edent doesn't set content warning? come on ...
-
-
@fyrfli pull requests welcome.
-
-
Philippa Cowderoyreplied to Terence Eden last edited by
@Edent @bot https://bot.viii.fi/bot gives me raw JSON at the mo, which definitely clashes with other servers' expectations about handing me a link
-
@Edent @bot with your context (see: you made it), how easy do you think it would be to modify the php file to allow multiple bots on one server
ie @[email protected] and @[email protected]
I will accept "go and look at the php file yourself and figure it out" as an acceptable answer :]
-
@alifeee it is explicitly designed for one bot per script. You can deploy it to a hundred different subdomains though.
-
@Marcus you should be able to search for the bot and see all its posts.
There's a very basic web ui at https://bot.viii.fi/ -
@Edent yes :]
I'm thinking of using it soon... I might write an nginx server block and make a PR to give people options, too :]
-
Gregreplied to Terence Eden last edited by [email protected]
@Edent @bot oh this is really cool! I did a PHP version as well but it's more files haha
GitHub - greg-kennedy/phpActivityPub: Simple, post-only ActivityPub implementation in PHP
Simple, post-only ActivityPub implementation in PHP - greg-kennedy/phpActivityPub
GitHub (github.com)
it's sort of the PHP version of dariusk's minimal node one https://github.com/dariusk/express-activitypub
supports multiple bots, you create one through its "admin" interface and it gives you an API key, which you then include in cURL calls to let the "bot" make posts