How seivkhengkhun/bondom_account works
Bondom Account is a Cambodian digital-goods storefront spanning Telegram, a customer website, and an admin dashboard over a shared database. The principal flow is browse and authenticate, create an order, pay by Bakong KHQR or wallet, then deliver purchased credentials. The README documents shared identity and cross-channel delivery; source excerpts show web and bot calling shared services and the payment watcher. Pandora supplier fulfillment, SMS activation, and admin capabilities are documented or indexed, but their internal routes are not fully sampled, so uncertain links are omitted.
Main entry points: handlers.py Telegram Bot · routes.py Customer Website · database.py Shared Database · services.py Catalog & Orders
Components 20
Storefront Channels
- Telegram Bot
app/bot/handlers.py - Customer Website
app/webshop/routes.py - Admin Dashboard
app/web/admin/admin.py - FastAPI Interface
app/api/main.py - Telegram Login
app/webshop/auth.py
Commerce Services
- Catalog & Orders
shared/services.py - KHQR Payments
shared/payment_service.py - Order Delivery
app/bot/handlers.py - Wallet & Top-ups
shared/services.py - SMS Activation
shared/sms_service.py - Supplier Fulfillment
shared/pandora.py
Shared Platform
- Shared Database
shared/database.py - Store Records
shared/models.py - Configuration
shared/config.py - Bot Appearance
app/bot/appearance.py
External Integrations
- Bakong Network
- SMS Reseller
- Pandora Supplier
- Telegram Platform
Other components
- Customer
Connections 26
- Customer → Telegram Bot: shops via
- Customer → Customer Website: shops via
- Customer → Telegram Login: authenticates with
- Telegram Login → Customer Website: verifies login
app/webshop/routes.py - Telegram Bot → Catalog & Orders: delegates orders
app/bot/handlers.py - Customer Website → Catalog & Orders: delegates orders
app/webshop/routes.py - Admin Dashboard → Catalog & Orders: manages store
app/web/admin/admin.py - FastAPI Interface → Catalog & Orders: serves requests
app/api/main.py - Telegram Bot → KHQR Payments: starts payment
app/bot/handlers.py - Customer Website → KHQR Payments: starts payment
app/webshop/routes.py - KHQR Payments → Bakong Network: verifies payment
- Telegram Bot → Order Delivery: launches watcher
app/bot/handlers.py - Customer Website → Order Delivery: launches watcher
app/webshop/routes.py - Order Delivery → Telegram Platform: sends credentials
- Telegram Bot → Wallet & Top-ups: uses wallet
app/bot/handlers.py - Customer Website → SMS Activation: offers activation
app/webshop/routes.py - SMS Activation → SMS Reseller: creates rentals
shared/sms_service.py - Supplier Fulfillment → Pandora Supplier: syncs and fulfills
shared/pandora.py - Catalog & Orders → Shared Database: reads and writes
shared/services.py - KHQR Payments → Shared Database: stores sessions
shared/payment_service.py - SMS Activation → Shared Database: stores orders
shared/sms_service.py - Supplier Fulfillment → Shared Database: stores mappings
shared/pandora.py - Shared Database → Store Records: persists
shared/models.py - FastAPI Interface → Configuration: loads settings
app/api/main.py - Telegram Bot → Bot Appearance: renders interface
app/bot/runner.py - Bot Appearance → Shared Database: loads appearance
app/bot/appearance.py