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?
NxCreator is designed to be approachable for beginners and fast for experienced developers. You write bot logic in plain JavaScript using a handler-based approach — the same pattern used by Telegraf, one of the most popular Telegram bot libraries. Save your code and the platform immediately applies the changes to your running bot.
The result is a tight loop: write a handler, save, test in Telegram, refine. You focus on commands, scenes, API calls, and data storage. NxCreator handles hosting, the runtime, and the Telegram connection layer.
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. |