How kesav1503/natking-auto-uploader works
AppxAutoUploader is a Telegram bot for configuring course batches and automatically publishing their materials to group forums. The main flow is bot commands/callbacks into batch setup, ClassX content collection, scheduled or recovery processing, and Telegram uploads, with MongoDB tracking batches, topics, status, and duplicates. The graph reflects documented capabilities and source-index references; some modules are only partially excerpted or were not sampled, so uncertain runtime links are omitted.
Main entry points: database.py Batch and progress data · appx_master.py Batch setup · tasks.py Batch processing · appxdata.py Appx content extraction
Components 19
Telegram bot
- Bot commands
plugins/command.py - Bot callbacks
plugins/callbacks.py - Bot messages
constant/msg.py - Inline keyboards
constant/buttom.py - Application startup
main.py
Content collection
- Batch setup
modules/appx_master.py - Appx content extraction
modules/appxdata.py - ApnaEx extraction
modules/apnaex_extractor.py
Scheduling and uploads
- Update scheduler
modules/scheduler.py - Recovery tasks
modules/retasks.py - Batch processing
modules/tasks.py - Forum management
modules/manager.py
Persistence and services
- Batch and progress data
master/database.py - HTTP client
master/server.py - Content utilities
master/utils.py
Other components
- Bot users
- Telegram
- ClassX APIs
- MongoDB
Connections 27
- Bot users → Bot commands: send commands
plugins/command.py - Bot users → Bot callbacks: select actions
plugins/callbacks.py - Bot commands → Content utilities: use utilities
plugins/command.py - Bot callbacks → Batch setup: invoke setup
plugins/callbacks.py - Bot callbacks → Inline keyboards: use keyboards
plugins/callbacks.py - Bot callbacks → Bot messages: use messages
plugins/callbacks.py - Bot commands → Bot messages: use messages
plugins/command.py - Batch setup → Batch and progress data: save batch
modules/appx_master.py - Batch setup → Appx content extraction: collect content
modules/appx_master.py - Batch setup → ApnaEx extraction: use extractor
modules/appx_master.py - Batch setup → HTTP client: make API calls
modules/appx_master.py - Appx content extraction → HTTP client: fetch content
modules/appxdata.py - Appx content extraction → Content utilities: decrypt links
modules/appxdata.py - Application startup → Update scheduler: start scheduler
main.py - Application startup → Recovery tasks: start recovery
main.py - Update scheduler → Batch and progress data: load schedules
modules/scheduler.py - Update scheduler → Appx content extraction: collect content
modules/scheduler.py - Update scheduler → Batch processing: process updates
modules/scheduler.py - Recovery tasks → Batch and progress data: find incomplete batches
modules/retasks.py - Recovery tasks → Appx content extraction: collect content
modules/retasks.py - Recovery tasks → Batch processing: resume uploads
modules/retasks.py - Batch processing → Batch and progress data: track uploads
modules/tasks.py - Batch processing → Forum management: manage topics
modules/tasks.py - Batch processing → Telegram: send materials
modules/tasks.py - Forum management → Telegram: create forum topics
modules/manager.py - Forum management → Batch and progress data: save topics
modules/manager.py - Batch and progress data → MongoDB: read and write
master/database.py