• v1.2.0 97a9f3fd9a

    V1.2.0 Pre-Release

    slfhstd released this 2026-03-13 13:24:25 +00:00 | 1 commits to main since this release

    Added

    • Admin GUI - New web-based administration interface for managing bot versions

      • Available on port 5566 (separate from API)
      • Beautiful, responsive dashboard with add/edit/delete functionality
      • Real-time version list with edit and delete buttons
      • Success/error message feedback
      • Robot emoji (🤖) favicon
    • Dual-server architecture - API and Admin interfaces now run independently

      • API Server on port 5555
      • Admin Server on port 5566
      • Both can be secured separately using reverse proxies
    • CORS support - Cross-origin requests enabled for admin GUI

      • Added Flask-CORS dependency
      • Allows admin GUI (port 5566) to communicate with API (port 5555)

    Changed

    • Default ports updated

      • API Server: 5000 → 5555
      • Admin Server: N/A → 5566 (new)
    • Docker configuration

      • Updated Dockerfile to expose both ports
      • Changed CMD from gunicorn to Python for dual-threading support
      • Updated docker-compose.yml with new port mappings

    Technical Details

    • Refactored Flask app into two separate instances
    • Implemented threading for concurrent server execution
    • Added save_versions() function for admin API
    • Embedded HTML admin interface with inline CSS and JavaScript
    • Admin API endpoints: /admin/api/add and /admin/api/delete

    Documentation

    • Updated README.md with new features and configuration
    • Added Nginx reverse proxy examples for Authentik integration
    • Documented admin GUI usage and API endpoints

    Security Notes

    • Admin GUI has no built-in authentication (as designed)
    • Recommended to protect admin port (5566) with reverse proxy authentication (e.g., Authentik)
    • API port (5555) can remain public for bot communication
    Downloads