Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
A framework for creating ActivityPub bots
An event handler invoked when a follow request the bot sent is accepted.
An event handler for a follow request to the bot.
A repository for storing bot data using a key-value store.
An event handler for a like of a message.
A repository for storing bot data in memory. This repository is not persistent and is only suitable for testing or development.
An event handler for a message mentioned to the bot.
An event handler for a message shown to the bot's timeline. To listen to this event, your bot needs to follow others first.
An event handler invoked when a follow request the bot sent is rejected.
An event handler for a reply to the bot.
An event handler for an unfollow event from the bot.
An event handler for undoing a like of a message.
A definition of a custom emoji. It can be either a remote image URL or a local image file.
A deferred Emoji (provided by Fedify), which is a function that
takes a Session and returns an Emoji. This is useful for
creating emojis that depend on the session data.
A branded type for a single emoji character (more exactly, a single Unicode grapheme cluster of emoji). This is used to represent a single emoji in a string format. It is not a full-fledged emoji object, but rather a string that is guaranteed to be a single emoji.
A tagged template literal function that creates an Emoji from
a string. It is a simple wrapper around the String.raw function,
but it also checks if the resulting string is a valid emoji.
A type guard that checks if a value is a single emoji character.
An event handler invoked when a follow request the bot sent is accepted.
An event handler for a follow request to the bot.
An event handler for a like of a message.
An event handler for a message mentioned to the bot.
An event handler for a message shown to the bot's timeline. To listen to this event, your bot needs to follow others first.
An event handler invoked when a follow request the bot sent is rejected.
An event handler for a reply to the bot.
An event handler for an unfollow event from the bot.
An event handler for undoing a like of a message.
Applies <code> tag to a text. You can use this function to create
a CodeText tree.
A text tree that renders a inline code. You normally don't need to instantiate this directly; use the code function instead.
Renders a custom emoji. You can use this function to create a CustomEmojiText tree.
A text tree that renders a custom emoji. You normally don't need to instantiate this directly; use the customEmoji function instead.
Applies <em> tag to a text. You can use this function to create an
EmText tree.
A text tree that renders an <em> text. You normally don't need to
instantiate this directly; use the em function instead.
Creates a hashtag. You can use this function to create a HashtagText tree.
A text tree that renders a hashtag. You normally don't need to instantiate this directly; use the hashtag function instead.
Creates a link to the given href with the label. You can use this
function to create a LinkText tree.
A text tree that renders a link. You normally don't need to instantiate this directly; use the link function instead.
Renders a Markdown text. You can use this function to create
a MarkdownText tree. The mentions in the Markdown text
will be rendered as links unless the mentions option is set to
false.
A text tree that renders a Markdown text. You normally don't need to instantiate this directly; use the markdown function instead.
Mentions an actor by its fediverse handle. You can use this function to create a MentionText tree. The label of the mention will be the same as the handle.
Checks if a given actor is mentioned in a text.
A text tree that renders a mention. You normally don't need to instantiate this directly; use the mention function instead.
A function that creates a PlainText tree. It only does two simple things:
Applies <strong> tag to a text. You can use this function to create a
StrongText tree.
A text tree that renders a <strong> text. You normally don't need to
instantiate this directly; use the strong function instead.
A text tree that renders a template string with values. You normally don't need to instantiate this directly; use the text function instead.
A tree structure representing a text with formatting. It does not only render the text but also extract tags (e.g., mentions) from it.