Are you interested in creating bots for the #fediverse? Meet #BotKit, a #TypeScript framework that makes bot development easier than ever!
Key Features:
True Independence
Create standalone #ActivityPub bots
No need for a Mastodon or Misskey account
Free from platform-specific limitations
Simple and Intuitive API
Create a complete bot in a single TypeScript file
Intuitive event handlers for mentions, follows, and messages
Rich text formatting with Markdown support
Modern Deployment
Deploy on Deno Deploy, Fly.io, Railway, or any virtual server
Minimal dependencies
Designed for modern cloud platforms
Enterprise-Ready Foundation
Built on Fedify, a rock-solid ActivityPub framework
Seamless federation with Mastodon, Misskey, and other platforms
Robust compatibility across the fediverse
Developer Experience
Full TypeScript support with great IDE integration
Comprehensive documentation
Built-in testing utilities
Here's a quick example of how simple it is to create a bot:
import { createBot, mention, text } from "@fedify/botkit";const bot = createBot<void>({ username: "greetbot", name: "Greet Bot", summary: text`A friendly bot that greets people!`, // ... configuration ...});// Respond to mentionsbot.onMention = async (session, message) => { await message.reply(text`Hi, ${message.actor}! Thanks for saying hello!`);};export default bot;
Getting Started:
Install #Deno
Run: deno add jsr:@fedify/botkit@^0.1.0-dev
Create your bot with just a few lines of code
Check out our documentation at https://botkit.fedify.dev/ to learn more!