How rizkif-com/tiktok-live-chat-overlay works
TikTok Live Overlay is a Windows Electron overlay for monitoring public TikTok LIVE activity. The main workflow is: a streamer enters a host name or LIVE URL, the renderer requests a connection through the preload bridge, and the Electron main process connects to TikTok and forwards events for display. The renderer presents chat, activity, viewer and like statistics, top viewers, and join notices; it also exposes overlay controls such as size, always-on-top, and click-through. Source excerpts show the IPC and event paths; feature-to-view details are grouped where the renderer implements them together.
Main entry points: main.js Electron main process · preload.cjs Secure IPC bridge · renderer.js Overlay UI
Components 10
LIVE connection
- Electron main process
src/main.js - LIVE event connection
src/main.js
Overlay interface
- Overlay UI
src/renderer.js - Chat and activity
src/renderer.js - Stats and joins
src/renderer.js - Secure IPC bridge
src/preload.cjs
Window controls
- Overlay window
src/main.js - Window controls
src/renderer.js
Other components
- Streamer
- TikTok LIVE
Connections 16
- Streamer → Overlay UI: enters host
src/renderer.js - Overlay UI → Secure IPC bridge: requests connection
src/renderer.js - Secure IPC bridge → Electron main process: invokes IPC
src/preload.cjs - Electron main process → LIVE event connection: creates and connects
src/main.js - Electron main process → TikTok LIVE: connects to
README.md - TikTok LIVE → Electron main process: sends LIVE events
src/main.js - Electron main process → Secure IPC bridge: sends event IPC
src/main.js - Secure IPC bridge → Chat and activity: delivers chat and activity
src/preload.cjs - Secure IPC bridge → Stats and joins: delivers stats and joins
src/preload.cjs - Overlay UI → Chat and activity: renders
src/renderer.js - Overlay UI → Stats and joins: renders
src/renderer.js - Electron main process → Overlay window: creates window
src/main.js - Overlay window → Overlay UI: loads UI
src/main.js - Window controls → Secure IPC bridge: sends control IPC
src/preload.cjs - Secure IPC bridge → Electron main process: forwards window controls
src/preload.cjs - Overlay UI → Window controls: presents controls
src/renderer.js