YouTube Chat Webhook Listener (Version 2) - gRPC Implementation
This project aims to create a robust, quota-friendly, open-source, and Linux-compatible solution for monitoring YouTube Live Chat by implementing the recommended liveChatMessages.streamList gRPC endpoint. This approach will provide an event-driven, server-push model for receiving live chat messages, effectively eliminating the limitations and quota consumption associated with continuous API polling.
Project Goal
To build a Python application that leverages the liveChatMessages.streamList gRPC endpoint to receive real-time YouTube Live Chat messages, process them, and display them in the terminal with rich formatting. This will ensure a highly efficient and compliant method for sustained live stream monitoring.
Detailed Implementation Plan
For a detailed breakdown of the implementation steps, please refer to the DEVELOPMENT_PLAN.md file.
Dependencies
grpciogrpcio-toolsgoogle-auth-oauthlibgoogle-api-python-clientrich
Future Enhancements
- Interactive message sending via gRPC (if supported by the API).
- More advanced terminal UI (e.g.,
prompt_toolkitfor input). - Web overlay integration.