A full-stack Django application for managing license/boost keys, live order tracking, stock monitoring, and Discord/autobuy integration. Designed for digital product automation, providing both real-time updates and easy management.
Imagine buying a digital ticket or license:
- You redeem it online.
- The system connects to Discord and processes your order automatically.
- You can track progress live like a shipment on Amazon.
- Admins can create keys, monitor stock, and manage orders effortlessly.
This app automates the complete workflow.
- Generate new keys (licenses/boost tickets)
- Redeem keys and link them to Discord servers
- Delete or view key details
- Check key redemption status
- Live progress: Pending → Completed
- See percentage of completed tasks
- Check order messages, errors, and token status
- Live stock page shows availability
- Real-time updates for multiple durations (e.g., 1 month, 3 months)
- Token-based authentication (access + refresh)
- Admins can update autobuy settings securely
- Receive webhooks from platforms like SellAuth
- Automatically create and process orders
- Real-time worker-to-server communication
- Instant updates on order status
- Stock Page
- Order Info Page
- Redeem Key Page
- Admin Panel
| Page | Purpose |
|---|---|
/key/info/ |
Check key status |
/key/redeem/ |
Redeem a key |
/stock/ |
Live stock page |
/order/ |
Order tracking page |
/admin/ |
Admin dashboard |
- Admin generates keys (licenses/tickets).
- User redeems a key via the website.
- Server sends the task to workers.
- Workers complete boosts/orders and send results back.
- User sees live order updates.
- Backend: Django 5, Django Channels
- Server: Uvicorn (ASGI)
- Static Files: WhiteNoise
- Database: SQLite (default) / PostgreSQL recommended
- Config: YAML (
config.yaml) - Auth: Token-based (access + refresh)
- Frontend: HTML + CSS + JS templates
All APIs under /api/. Protected routes require:
Authorization: Bearer <access_token>
POST /api/authorize→ Get access & refresh tokens
{
"key": "YOUR_INTERNAL_KEY"
}POST /api/refresh→ Refresh expired access token
{
"refresh_token": "ey...xyz"
}POST /api/key/generate_key→ Generate a key
{
"key": "ABC-123",
"amount": 2,
"months": 1
}POST /api/key/delete_key→ Delete a key
{
"key": "ABC-123"
}POST /api/key/get_info→ Get key status
{
"key": "ABC-123"
}POST /api/key/redeem_key→ Redeem a key
{
"key": "ABC-123",
"invite": "discord.gg/server"
}POST /api/get_order_info→ Fetch order progress
{
"order_id": "abcd1234"
}Example Response:
{
"status": "Completed 50%",
"amount": 4,
"completed": 2,
"months": 1,
"order_id": "abcd1234",
"server_invite": "https://discord.gg/xyz"
}POST /api/webhook/autobuy→ Receive autobuy orders
{
"invoice_id": "inv_123",
"email": "user@example.com",
"item": {
"product": { "name": "2x Nitro [3 Month]" },
"custom_fields": { "Invite": "abc", "Nickname": "user1" }
}
}POST /api/result→ Worker sends boost result
{
"id": "worker1",
"result": {
"success": true,
"order_id": "abcd1234",
"tokens": ["token1", "token2"]
}
}Connect for real-time updates:
ws://<host>:<port>/ws/boost/?token=<access_token>
API/ → Core app (views, models, consumers, routing)
WebApp/ → Project settings (settings, urls, asgi/wsgi)
templates/ → HTML pages (stock, order, key info, redeem)
static/ → CSS + JS assets
config.yaml → Port, superuser, links
# Clone & enter project
git clone https://github.com/Anay0305/Boost-Bot-API
cd <project>
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Migrate database
python manage.py migrate
# Run dev server
python manage.py runserver
# Or use runner.py (auto-superuser, migrations, Uvicorn)MIT License – free to use and adapt.