Because #BotsInSpace is shutting down () I'm looking for a new home for my bots.
-
-
-
@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
-
@Edent @bot (I have a testbed in action at https://greg-kennedy.com/phpAP but none of these are actually posting much of anything)
see also @TestAccount
-
Pete Prodoehl 🍕replied to Terence Eden last edited by
@Edent Thank you!! I need to try this...
-
-
-
Terence Edenreplied to Philippa Cowderoy last edited by
-
@Edent
If I use a "See more posts on bot.viii.fi" or "Open original page" link on its profile page on my instance, I get what looks like raw json. Could that redirect to the root page instead? -
@cwilcox808 please raise it as an issue on GitLab so I can keep track of it.
Thanks.