Portfolio - Swaptoru
Swaptoru is an innovative Telegram bot designed to streamline the NTU STARS course index swapping process. Developed as a personal project during my time at NTU-EEE, this automation solution addresses the challenges students face in securing their desired course schedules through the university's registration system.
The project leverages Selenium automation to interact with the NTU STARS platform, providing students with a reliable, hands-free solution for monitoring and swapping course indexes. Key technical features include:
- Time-windowed execution (10:30 AM–10:00 PM SGT) to align with NTU's administrative processes
- Daily auto-restart scheduler with watchdog thread for freeze detection and auto-recovery
- Secure access control through one-time access codes and restricted command sets during active swaps
- Safe credential handling with temporary in-memory storage and automatic password message deletion
- Precise error handling, comprehensive logging, and thread-safe concurrency controls
- Automated retry mechanism with real-time Telegram status updates
The system architecture ensures robust performance while maintaining security and reliability. By containerizing the automation processes and implementing careful resource management, Swaptoru operates efficiently without overwhelming the NTU STARS system or triggering security measures.
This project demonstrates my ability to identify real-world problems and develop practical solutions using appropriate technologies. The bot has helped numerous NTU students secure their preferred course schedules without the need for constant manual monitoring.
View Project on GitHub - not linked yet