Web2Comics

Web2Comic Telegram Bot

Bot Docs Runtime Deploy Storage Tests License

Telegram bot backend for Web2Comics. The bot accepts text, web links, PDF links/files, image links/files, and voice/audio, then generates comic panels and sends ordered panel images back to chat.

Bot overview doc: ../docs/telegram-bot.md Extension overview doc: ../docs/extension.md Extension README: ../README.md Shared engine overview: ../docs/engine.md Engine manual source: ../engine/manual.md Bot release notes: docs/release-notes.md GitHub Pages bot docs: https://apartsinprojects.github.io/Web2Comics/HTML/telegram-bot.html

Documentation Scope

Public Command Catalog (No Admin Commands)

What It Does

Shared Engine Relationship

Runtime Highlights

Documentation

Local Development

npm install
npm run telegram:start

Testing

npm run test:telegram:local
npm run test:telegram

Optional:

npm run test:telegram:gemini-real
npm run test:telegram:r2-real
npm run test:telegram:full-stack
npx vitest run -c telegram/vitest.config.js telegram/tests/webhook-url-real.e2e.test.js

Optional real URL e2e is opt-in and requires:

Deployment

Recommended automatic path:

npm run bot:deploy:auto -- --target render --env staging --branch stage1 --env-only

Release package:

Includes: