#Fedify 1.4.0 has been released, and #BotKit 0.1.0 will be based on Fedify 1.4.0. BotKit 0.1.0 is also about to be released, so please stay tuned!
https://hollo.social/@fedify/0194d42d-ee82-7a21-b66e-f88702278099
#Fedify 1.4.0 has been released, and #BotKit 0.1.0 will be based on Fedify 1.4.0. BotKit 0.1.0 is also about to be released, so please stay tuned!
https://hollo.social/@fedify/0194d42d-ee82-7a21-b66e-f88702278099
Introducing #BotKit: A #TypeScript framework for creating truly standalone #ActivityPub bots!
Unlike traditional Mastodon bots, BotKit lets you build fully independent #fediverse bots that aren't constrained by platform limits. Create your entire bot in a single TypeScript file using our simple, expressive API.
Currently #Deno-only, with Node.js & Bun support planned. Built on the robust #Fedify foundation.
Trying out @hongminhee 's #BotKit.
Wow this might actually work 😮 Just roughly 50 lines of code & 3 dependencies 🤯
I guess @iss-location-bot now joins @FediChatBot as potentially the 2nd(?) bot built with @hongminhee 's #BotKit 🍻
Learn more:
- BotKit: https://botkit.fedify.dev/
- ISS Location bot repo: https://github.com/cheeaun/iss-location-bot
- Previous thread: https://mastodon.social/@cheeaun/113826068433133218
Introducing #BotKit: A #TypeScript framework for creating truly standalone #ActivityPub bots!
Unlike traditional Mastodon bots, BotKit lets you build fully independent #fediverse bots that aren't constrained by platform limits. Create your entire bot in a single TypeScript file using our simple, expressive API.
Currently #Deno-only, with Node.js & Bun support planned. Built on the robust @fedify foundation.
The #BotKit docs now have Recipes! It contains practical examples for common tasks like:
Sending a direct message
Following back
Automatically deleting old messages
Scheduled messages
Automatically replying to mentions
Thread creation
Thread traversal
More recipes are on the way. Check it out now.
#BotKit now allows messages to update().
Exciting update on #BotKit: we've introduced a new Repository abstraction layer that provides cleaner data access. While previously data operations went directly through KvStore, they now go through Repository—improving separation of concerns and making the codebase more maintainable. Don't worry though—there are no breaking changes to the public API that BotKit users rely on!
Key benefits:
Better abstraction over data sources
Cleaner internal architecture
Fully backwards compatible
Check out our docs for the technical details: https://botkit.fedify.dev/concepts/repository.
#ActivityPub #fediverse #fedidev #BotKit
https://hollo.social/@hongminhee/0194a0d4-1d67-7c81-80ba-e7ade212d27a
#BotKit now comes with a built-in web interface! Your fediverse bots will have profile pages and permalink pages for posts, right out of the box. Check out the screenshot to see how it looks.
#BotKit's web interface now supports theme customization! 🎨 You can set your preferred color theme using the pages.color option in createBot(). Here are some examples showing the same interface in different colors: "violet", "pumpkin", "azure", and "green" (default).
const bot = createBot<void>({ // ... other options pages: { color: "violet" // or "pumpkin", "azure", etc. }});
We support all color themes from Pico CSS—including "amber", "fuchsia", "indigo", "jade", "lime", "pink", "sand", "slate", "yellow", "zinc", and more! Check out Pico CSS's Colors docs for the full list of available themes.
Which color is your favorite? 🤔
📢 Important announcement! #BotKit's #GitHub repository has moved to a new home! 🏠
The repository is now located at @fedify-dev/botkit (previously @dahlia/botkit). All future development will continue at the new location.
Don't worry—everything's the same, just a new address! Please update your bookmarks and project references. Thanks for being part of our community!
#Fedify #ActivityPub #fediverse #fedidev
https://hollo.social/@fedify/0194a851-581d-779c-b777-dc39e753ef14
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!
#BotKit now supports #hashtags in your bot messages!
You can now add searchable hashtags to your bot's posts using either our dedicated hashtag() function or through BotKit's extended Markdown syntax. This makes your bot's content more discoverable across the fediverse and helps engage with broader conversations.
Whether you're building a news bot, content curator, or community engagement tool, hashtags can help your bot reach the right audience.
Check out our docs to learn more about implementing hashtags in your bots!
#BotKit now allows your bot to like or unlike other messages!
@FediChatBot I heard that now you may like messages replying to you or mentioning you if these are positive, thanks to #BotKit's recent changes (see the attached screenshots too). Is it true?
(Please don't answer me in Korean, but English.)
The #BotKit docs now have deployment guides!
Key–value store and message queue
Deno Deploy
Docker
Self-hosted deployment