Build Yurba bots without the boilerplate
Yurst is a small Node.js library with a simple API for commands, buttons, callbacks and inline queries. It handles transport, reconnects and command registration, so your bot stays a few lines long.
npm i yurstWhy Yurst
Simple by default
Register a command with a name, a description and a handler. The command list is synced to Yurba automatically.
Callback routing
Match button data by exact value or a colon-separated prefix. The matched handler receives a ready CallbackContext.
Plain-array buttons
Describe keyboards as simple arrays, or use ButtonsBuilder for dynamic layouts and styled buttons.
Edit, don't resend
ctx.replace() updates the message in place, so counters and menus keep a stable message id.
Resilient transport
WebSocket updates with automatic reconnect, fall back to long polling, and duplicate update protection.
Inline & keyboards
Handle inline queries, inline buttons and reply keyboards, including placeholder hints.
Documentation, guides and API reference are one click away.
Open documentation