Make creative online bots that anyone in the fediverse can follow! This project is under active development and contributions and feature suggestions are welcome.
You can log into the admin panel by going to /admin
and logging in using the password set inside your .env
file. This will allow you to delete your bot's posts one by one. (Multi-post deletion is coming!)
- Update your bot's main script in
bot/script.js
. - Set up your bot's schedule in
server.js
.
(new CronJob(cronSchedules.EVERY_SIX_HOURS, () => {bot.script()})).start();
See helpers/cron-schedules.js
for common schedules, or the cron package documentation at https://www.npmjs.com/package/cron to create your own.
You can update the style files inside src/styles
. You can use sass, it will be compiled using node-sass-middleware. Update the scripts inside src/scripts
.
You can use ES6, you script files will be compiled using express-babelify-middleware. All templates are inside the views
folder and use handlebars.js.
- ActivityPub documentation (github.com)
- How to implement a basic ActivityPub server (blog.joinmastodon.org)
- What is necessary for Mastodon to be able to fetch my profile and a list of posts from my blog? (github.com)
- express-activitypub (github.com)