Skip to content

Stream Chat Overlay

Choose a tag to compare

@Asmodeus7999 Asmodeus7999 released this 01 Sep 21:10
· 6 commits to main since this release

πŸš€ v1.0.2 - Backend Migration & Stability Fixes

This release brings a major architectural overhaul to the backend server, significantly improving performance, maintainability, and resolving critical connection issues.

πŸ—οΈ Major Architectural Changes

  • Migrated Backend from Python to TypeScript/Node.js: Completely rewrote the Flask-based Python backend (server.py) into a native Node.js application (server.ts) using Express and Socket.io.
  • Native Integration: By moving to a Node.js backend, the Electron app now runs natively without relying on a separate Python executable (server.exe). This drastically reduces the application's footprint and simplifies the build process.

πŸ› Bug Fixes

  • YouTube Chat Crash Fixed: Fixed a critical bug where connecting to YouTube Live would crash the application with a Cannot read properties of undefined (reading 'map') error. Implemented a persistent local patch to the youtube-chat dependency to handle edge-case payloads (like missing runs arrays in system messages and memberships) correctly.

πŸ› οΈ Under the Hood

  • Replaced the python-based web server with express and socket.io.
  • Integrated tiktok-live-connector and youtube-chat natively in TypeScript.
  • Added a new build:ts step to the build pipeline to compile TypeScript code into dist-ts/ before packaging with electron-builder.
  • Automated dependency patching using patch-package on post-install.
  • Removed deprecated Python scripts and legacy files (test_tt.py, server.exe, etc.).