Skip to content

TELEGRAM

No. 004821

ToEveryone who messages your bot

FromYour bot, on nodejshost

YOUR BOT ANSWERS STOPALL NIGHT STOP

A telegram always arrives. Your Telegram bot should too: host your grammY or Telegraf bot here and it answers at 3am, with no webhook, no public URL and no server to keep awake.

Send my bot online

From $3.40/month · cancel any time

nodejshost03:12

Live chat, printed as it happens

  1. /start

  2. Hi Noa! What can I help you with?

    Where is my order?Opening hours
  3. Where is my order?

  4. Order #4821 left our warehouse this morning. It reaches you tomorrow, 10:00 to 14:00.

No webhook. No public URL.

Your bot keeps asking Telegram for new messages (long polling), which grammY and Telegraf do by default. Nothing has to reach in, so there is nothing to expose, certify or configure.

Telegram
getUpdates?3 new messages
Your bot
  • Works out of the box with bot.start() and bot.launch()
  • No certificate, domain or open port
  • Replies leave the moment they're ready

From BotFather to online

  1. Form 1

    Get your token

    @BotFather → /newbot
    7012345678:AAH•••••

    Message @BotFather, create the bot, copy its token.

    Delivered
  2. Form 2

    Paste it, add your code

    BOT_TOKEN = ••••••••
    package.json

    BOT_TOKEN goes in Environment, hidden. Upload your project or connect GitHub.

    Delivered
  3. Form 3

    Press Start

    ▶ npm start
    @SupportDeskBot is running

    It installs, starts polling and answers. That's all of it.

    Delivered

Your package.json, run as is

Your package.json already says how your bot runs, so there is nothing new to learn. We run npm ci (or npm install without a lockfile), then npm start, with your own hooks around them. Pick an example or edit it.

ConsoleRunning
  1. Starting support-desk-bot process · Node.js 24 · 0.5 vCPU · 512 MB
  2. Installing dependencies (npm ci)…
  3. added 34 packages in 3s
  4. Dependencies installed in 3s
  5. ▶ npm start (node bot.js)
  6. > [email protected] start
  7. > node bot.js
  8. @SupportDeskBot is running (long polling)
  9. answered /start for 3 new users

What runs, in order

while installing

  1. preinstall
  2. install
  3. postinstall
  4. prepare

when starting

  1. prestart
  2. startnode bot.js

Everything a Telegram bot needs

On every pack, no add-ons.

  • Crash alerts, in Telegram

    It restarts by itself and messages you in the chat you choose.

    nodejshost alertssupport-desk-bot restarted after a crash, back online

  • Messages on schedule

    The process never sleeps, so reminders and daily digests fire on time.

    cron("0 7 * * *") → 412 reminders

  • Your token stays secret

    BOT_TOKEN is hidden in the dashboard and never in your files.

    BOT_TOKENhidden

  • Roll back a bad update

    Every push is a version. One click takes you back.

    v14 live · v13 restore

  • A private space of its own

    Hard CPU and memory limits. No other bot can see your token.

    0.25 vCPU · 256 MB · non-root

  • TypeScript, as is

    Run tsx directly or build with tsc in prestart. Your call.

    "start": "tsx src/bot.ts"

A ledger that keeps

Subscribers, conversations, orders and reminders survive restarts. On a paid pack your bot gets its own PostgreSQL, with DATABASE_URL already set.

  • Tables and SQL in the dashboard
  • Live statistics
  • One-click backups

subscribers

PostgreSQL 17 · DATABASE_URL

ChatNameHabitStreak
5821044193NoaRead 20 pages41
9013377102DanielWalk 8k steps17
4487120036MayaNo sugar9
3065298847YoniPractice guitar64

Your bot's control room

Real screens of the dashboard you get.

The nodejshost dashboard: All bots

Every bot you run at a glance: running or not, CPU and memory, start, stop and restart.

Rates

Each pack is a pool your bots and their databases share.

Tariff, per month

PackPoolMonthlyPlans
FreeTry one small bot, no card needed.1 · 256 MB · 0.25 vCPU · 1 GB$0Start free
StarterOne bot that has to stay online, 24/7.1 · 1 GB · 1 vCPU · 5 GB$5Choose Starter
ProFor developers running production bots.Most popular10 · 4 GB · 3 vCPU · 25 GB$15Choose Pro
Custom packSize the pool yourself and pay only for what you set.1–50 bots · up to 32 GBfrom$3.40Build your pack

Prices in USD, billed monthly. Change or cancel your pack any time.

We don't take card payments on the site yet. For a paid pack, message us in the support chat and our team switches it on for you. Free you can start yourself.

Questions, answered

Do I need a webhook or a public URL?

No. Bots here use long polling: they ask Telegram for new messages, which grammY's bot.start() and Telegraf's bot.launch() do by default. Webhooks aren't supported, because bots have no public address.

What does my bot need to run here?

A package.json with a start script, like "start": "node bot.js". We run npm ci (or npm install without a lockfile) and then npm start.

Where do I put the token from @BotFather?

In the bot's Environment as BOT_TOKEN; your code reads process.env.BOT_TOKEN. It's hidden in the dashboard and never stored in your files.

grammY or Telegraf?

Both work, in JavaScript or TypeScript. Run TypeScript with "start": "tsx src/bot.ts", or build it first with "prestart": "tsc".

Where should user data live?

In the bot's own PostgreSQL database, on a paid pack. It survives restarts and redeploys, and DATABASE_URL is already in the environment.

Can it send scheduled messages?

Yes. The process runs all the time, so timers and libraries like node-cron fire on schedule: reminders, digests and daily reports.

What happens if it crashes?

It restarts automatically, up to five times in a row, and we can message you on Telegram. The console keeps the error.

Which Node.js versions can I use?

Node.js 22 and 24 (LTS) and 26 (Current). Switching applies the next time the bot starts.

Are you part of Telegram?

No. nodejshost is an independent hosting service. We are not affiliated with, endorsed by or sponsored by Telegram. We host bots that people build for Telegram.

TELEGRAM

SEND YOUR BOT ONLINETONIGHT STOP

Opens sign-up with your email filled in. Change or cancel your pack any time.