Mastodon์ด๋‚˜ Misskey ์–ด์นด์šดํŠธ ์—†์ด ็จ็ซ‹็š„(๋…๋ฆฝ์ )์ธ ActivityPub ๋ด‡์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ํ”„๋ ˆ์ž„์›Œํฌ์ธ BotKit์ด 0.1.0 ๋ฒ„์ „์„ ๋ฆด๋ฆฌ์Šค ํ–ˆ์Šต๋‹ˆ๋‹ค!

https://hollo.social/@botkit/0194dc00-9f3c-7fc4-a25f-3645a5966930

hollo.social

๐ŸŽ‰ Announcing [BotKit 0.1.0](hโ€ฆ

๐ŸŽ‰ Announcing [BotKit 0.1.0](https://jsr.io/@fedify/botkit@0.1.0): A new framework for creating ActivityPub bots! We're thrilled to announce the initial release of #BotKit, a #TypeScript framework that makes creating standalone #ActivityPub bots simpler than ever before. With BotKit, you can create a complete fediverse bot in just a single TypeScript file! Key features: - ๐Ÿ”‹ Standalone bot creationโ€”no need for a Mastodon/Misskey account - ๐Ÿงฉ Simple, developer-friendly API - ๐Ÿš€ Easy deployment on [Deno Deploy](https://botkit.fedify.dev/deploy/deno-deploy), [Fly.io](https://botkit.fedify.dev/deploy/docker#deploying-to-fly-io), [Railway](https://botkit.fedify.dev/deploy/docker#deploying-to-railway), or [your own server](https://botkit.fedify.dev/deploy/self-hosting) - :fedify: Powered by @fedify@hollo.social for robust ActivityPub protocol handling Getting started is as simple as: ``` deno add jsr:@fedify/botkit@^0.1.0 ``` Here's a quick example of a weather bot: ``` const kv = await Deno.openKv(); const bot = createBot<void>({ username: "weatherbot", name: "Seoul Weather Bot", summary: text`I post daily weather updates for Seoul!`, kv: new DenoKvStore(kv), queue: new DenoKvMessageQueue(kv), }); // Reply to mentions bot.onMention = async (session, message) => { await message.reply(text`Current temperature in Seoul is 18ยฐC!`); }; // Post scheduled updates const session = bot.getSession("https://weather.example.com"); setInterval(async () => { await session.publish( text`Seoul Weather Update ๐ŸŒก๏ธ Current: 18ยฐC Humidity: 65% Forecast: Clear skies โ˜€๏ธ` ); }, 1000 * 60 * 60); // Hourly updates ``` While BotKit currently supports #Deno, we're working on bringing Node.js and Bun support in future releases. Ready to create your first fediverse bot? Check out our docs at <https://botkit.fedify.dev/> to get started! ๐Ÿš€ #fedidev

@botkit@hollo.social

๐ŸŽ‰ Announcing BotKit 0.1.0: A new framework for creating ActivityPub bots!

We're thrilled to announce the initial release of , a framework that makes creating standalone bots simpler than ever before. With BotKit, you can create a complete fediverse bot in just a single TypeScript file!

Key features:

  • ๐Ÿ”‹ Standalone bot creationโ€”no need for a Mastodon/Misskey account
  • ๐Ÿงฉ Simple, developer-friendly API
  • ๐Ÿš€ Easy deployment on Deno Deploy, Fly.io, Railway, or your own server
  • :fedify: Powered by @fedify for robust ActivityPub protocol handling

Getting started is as simple as:

deno add jsr:@fedify/botkit@^0.1.0

Here's a quick example of a weather bot:

const kv = await Deno.openKv();

const bot = createBot<void>({
  username: "weatherbot",
  name: "Seoul Weather Bot",
  summary: text`I post daily weather updates for Seoul!`,
  kv: new DenoKvStore(kv),
  queue: new DenoKvMessageQueue(kv),
});

// Reply to mentions
bot.onMention = async (session, message) => {
  await message.reply(text`Current temperature in Seoul is 18ยฐC!`);
};

// Post scheduled updates
const session = bot.getSession("https://weather.example.com");
setInterval(async () => {
  await session.publish(
    text`Seoul Weather Update ๐ŸŒก๏ธ
    Current: 18ยฐC
    Humidity: 65%
    Forecast: Clear skies โ˜€๏ธ`
  );
}, 1000 * 60 * 60); // Hourly updates

While BotKit currently supports , we're working on bringing Node.js and Bun support in future releases.

Ready to create your first fediverse bot? Check out our docs at https://botkit.fedify.dev/ to get started! ๐Ÿš€

botkit.fedify.dev

BotKit by Fedify

A framework for creating your ActivityPub bots

1 reaction with ๐ŸŽ‰