$ show MoeNetwork/Tieba-Cloud-Sign
Tieba-Cloud-Sign is a PHP web application designed to automate the sign-in process for Baidu Tieba forums. It provides a web interface for managing multiple Tieba accounts (via BDUSS cookies) and scheduling automatic sign-in tasks through a built-in cron system. The application features a plugin architecture that allows extending functionality, such as pushing sign-in results to QQ via go-cqhttp or backing up the database to QQ. The core system handles user authentication, Tieba API interactions (including retrieving TBS tokens and performing sign-ins), and provides an administrative interface for configuration. Plugins are integrated via hooks and can add their own settings, cron jobs, and UI components. Data is stored in a MySQL database, with tables for users, account credentials, plugin configurations, and operational logs. Key technical components include a custom WebSocket client for real-time communication with go-cqhttp (used by QQ-related plugins), a SQL dump utility for database backups, and an AJAX-driven settings interface. The frontend relies on Bootstrap 3.3.2 and jQuery for responsive UI elements, including modal dialogs for plugin configuration.
The LLM identified 1 files worth highlighting for reuse:
Implements a WebSocket client for connecting to go-cqhttp (QQ bot) via WebSocket. Handles handshake, frame encoding/decoding, ping/pong, and message/file upload. Self-contained with no dependencies on other internal modules, making it reusable in any PHP project requiring WebSocket communication.