Early Access

Production-Ready Bots
in 10 Minutes

Python framework that eliminates 70% of boilerplate. From idea to VPS deployment with a single command. Forget about server configuration.

* Alpha access opens in waves. Join 200+ developers already waiting.

user@devbox: ~/my-bot
botscale init my_project
✓ Created project structure
✓ Generated configurations
✓ Installed dependencies

botscale deploy --prod
> Packaging application...
> Optimizing assets...
> Connecting to remote VPS...

70%

Less Code

10 min

Time to Production

3+

Platforms

100%

Python Type-Safe

Comparison: Without BotScale vs With BotScale

From idea to deployed Telegram bot: what you actually write. We handle all the routine — database setup, caching, and deployment.

Without BotScale — 230 lines
# 1. Load config and environment variables
from os import getenv
from dotenv import load_dotenv
load_dotenv()
API_TOKEN = getenv("TELEGRAM_TOKEN")
DB_URL = getenv("DATABASE_URL")

# 2. Initialize AIOGram, State Machine, Redis, PostgreSQL
import logging
from aiogram import Bot, Dispatcher
from aiogram.fsm.storage.redis import RedisStorage
from sqlalchemy.ext.asyncio import create_async_engine
from sqlalchemy.orm import sessionmaker

# ... 100+ lines for connection setup and middleware

# 3. Middleware for session and transaction management
class DbSessionMiddleware:
    # ... 50 lines of code
# ...

# 4. /start command handler
async def cmd_start(message, session):
    # ... 20 lines of logic
    await message.answer("Hello!")

# 5. Main startup loop
async def main():
    # ... 50 lines for deploy and process management
    await dp.start_polling(bot)

if __name__ == "__main__":
    asyncio.run(main())
            
With BotScale — 48 lines
# 1. Define routes and state (FastAPI-like)
from botscale import Router, settings
from botscale.db import Session
from botscale.types import Message

router = Router()

# 2. Handler using DI for Session
@router.message("/start")
async def start_handler(message: Message, db: Session):
    # db - ready and active SQLModel session
    user = db.get_user(message.from_user.id)
    if not user:
        db.create_user("new")

    await message.answer("Hello, this is BotScale!")

# 3. Settings
settings.telegram_token = "env(TELEGRAM_TOKEN)"
settings.db_url = "env(DATABASE_URL)"

# 4. Main entry point (framework handles the rest)
from botscale import App
app = App(routers=[router])

# Run: botscale run
            

Everything You Need for Enterprise Bots

BotScale comes with pre-configured tools that every production app needs — but usually takes hours to set up.

Powerful CLI

Start a project with one command: botscale init. Run migrations, generate boilerplate, and deploy without hassle. All tools available in the console.

Auto-Deploy to VPS

Forget manual Docker, Nginx, and supervisor setup. The botscale deploy command handles everything: from build to launch on a remote server.

Data Abstraction

Built-in SQLModel/Alembic support. Automatic session and transaction management. Use clean Python classes instead of complex ORM.

Security

Automatic data filtering and XSS protection. Built-in Redis Rate Limiter protects against DDoS. All data is strictly typed.

Built-in Admin Panel

Simple and ready-to-use web interface for monitoring, viewing logs, and managing users. Connect and control your bot in real-time.

State Machine

Fully async and Redis-powered State Machine for managing complex dialogs. User state is cached for high response speed.

Our Roadmap

We're constantly working on BotScale. Here's what's coming next.

Phase Alpha (Current)

  • Core Framework (DI, Router)
  • Telegram API Wrapper (AIOGram)
  • State Machine (Redis Storage)
  • SQLModel Abstraction & Alembic
  • Powerful CLI and Deploy Automation
  • Basic Webhook Handler

Phase Beta (Coming Soon)

  • Built-in Admin Panel (UI)
  • WhatsApp API Support (Meta)
  • Logging and Metrics System
  • Advanced Rate Limiting (Route-level)
  • Documentation and Tutorials Update

Phase Stable (Future)

  • 5+ Platform Support (Viber, VK, Discord)
  • OpenAI/LLM Integration
  • CI/CD Templates for GitHub Actions
  • BotScale Cloud Hosting Platform

Frequently Asked Questions

Everything you need to know about BotScale Framework

What Python version is required?

BotScale requires Python 3.10 or higher. We recommend using Python 3.11+ for best performance and type checking support.

How does deployment work?

Run botscale deploy and the framework handles everything: Docker image building, Nginx configuration, SSL certificates, and process management on your VPS.

Can I use my own VPS?

Absolutely! BotScale deploys to any Linux VPS with SSH access. We support Ubuntu, Debian, and other major distributions.

How is BotScale different from aiogram?

BotScale is built on top of aiogram but adds production-ready features: automatic deployment, database abstraction, admin panel, rate limiting, and structured project architecture.