Skip to content

paman7647/Astra-Userbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

126 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astra Userbot (dev-beta)

A high-performance, extensible, and production-ready WhatsApp Userbot Framework built on top of the Astra Engine. Designed for developers who need power, modularity, and efficiency.


Astra Userbot Banner


⚡ One-Click Deployment

Deploy Astra Userbot instantly on your preferred platform:

Deploy on Railway Deploy to Heroku Deploy to Render

For Localhost, Docker, and VPS setups, refer to the Deployment Guide (DEPLOYMENT.md).


🧠 Astra Core Library

Astra Userbot is powered by the Astra Engine Core, which handles:

  • Plugin loading
  • Event routing
  • System automation
  • Lifecycle management

Core Library Repository:
Astra Engine


🚀 Key Features

🔌 Modular Plugin Architecture

Extend or remove features using the commands/ directory.

🤖 AI Integration

Powered by Google's Gemini 3 Flash Preview models.

🎬 Media Toolkit

Supports downloading from: - YouTube - Instagram - Other media platforms
via a JS-based media bridge.

🧩 Persistent State Storage

Stores: - AFK states - Sudo users - Permissions - Notes / custom tags

🛠 Developer-Friendly

  • Clean Python code
  • Automated environment setup
  • Clear module structure
  • Error-resilient engine

🖥️ Local & VPS Installation

Windows (PowerShell)

Run as Administrator:

iwr -useb https://raw.githubusercontent.com/paman7647/Astra-Userbot/master/install.ps1 | iex

macOS / Linux / VPS

bash <(curl -fsSL https://raw.githubusercontent.com/paman7647/Astra-Userbot/master/install.sh)

For Docker & cloud installations, consult DEPLOYMENT.md.


⚙️ Configuration

  1. Copy the example environment file:
cp .env.example .env
  1. Open .env and add:

Variable Description


GEMINI_API_KEY Google AI API key OWNER_WHATSAPP_ID Example: 910000000000@c.us


▶️ Running the Bot

Initial Authentication (QR Login)

python3 bot.py

Regular Operation

python3 bot.py

📚 Common Commands

Command Alias Description


.alive --- Shows system status & uptime .ai .chat Chat with Gemini AI .yt .youtube Download YouTube video/audio .ig .reel Download Instagram posts/reels .ping --- Check bot latency


🧩 Project Structure

Astra-Userbot/
│── bot.py                 # Main launcher
│── commands/              # Modular plugin commands
│── utils/                 # Utility modules and configs.
│── .env.example           # Example config
└── install.sh / install.ps1

📜 License

Licensed under the MIT License.
See LICENSE for complete details.

About

A powerful, modular, and professional-grade WhatsApp Userbot framework built on the Astra Engine. Features Gemini AI, robust media downloading, and 1-click cloud deployments.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors