Introduction
Build Telegram bots with a live JavaScript editor, managed runtime, and built-in platform primitives.
NxCreator is a cloud platform for building, deploying, and iterating on Telegram bots without setting up your own hosting, bot runtime, or database wiring.
What is NxCreator?
The original NxCreator docs described the product as a simpler way to build bots using familiar JavaScript instead of heavy command-driven setup. That remains the core idea, but the platform is broader now: you write handlers in the editor, save, and the managed runtime swaps in the new logic immediately.
The result is a faster loop for bot development. You focus on commands, scenes, API calls, and data storage. NxCreator handles the surrounding platform concerns.
Why teams use it
- Simple mental model: Bot logic is plain JavaScript built around Telegraf-style handlers.
- Managed runtime: No manual deploy scripts, process managers, or server hardening just to test a command.
- Built for iteration: Save changes, test in Telegram, refine, and repeat.
- Practical defaults: Common tools like
bot,db, andaxiosare already available.
Core concepts
- Bot: A Telegram bot created in BotFather and connected to NxCreator using its token.
- Section: A named code block in the editor. Sections let you organize features without maintaining your own file tree on a server.
- Scene: A multi-step interaction flow used to collect user input over several messages.
- Database: MongoDB-backed storage exposed through the
dbhelper.
Key globals
| Global | Type | Description |
|---|---|---|
bot | Telegraf instance | Pre-initialized. Never import or call new Telegraf(). |
db | DB helper | MongoDB access plus convenience helpers for common bot data patterns. |
axios | axios instance | Available globally for outbound HTTP requests. |
How did this page feel?
Quick feedback helps improve the docs.