BarrageGPT: A New Era of AI-Driven Live Streaming Interaction
BarrageGPT is an innovative project designed to enhance live streaming experiences across popular platforms, such as Bilibili, Huya, and TikTok (Douyin). It brings artificial intelligence into the mix, allowing for dynamic interaction with the audience through live commentary and feedback integration. Developed by SwaggyMacro, BarrageGPT is a solution aiming to bridge the gap between real-time audience engagement and the broadcaster’s content delivery.
Supported Platforms
BarrageGPT currently supports the following platforms:
- Bilibili Live
- Huya
- Douyin (TikTok)
How to Use BarrageGPT
Setting up and running BarrageGPT requires a few straightforward steps:
-
Clone the Project Repository: Begin by pulling the repository from GitHub.
git clone https://github.com/SwaggyMacro/BarrageGPT.git
-
Install Dependencies: Ensure that all necessary dependencies are installed via pip.
pip install -r requirements.txt
-
Configure the Setup: Copy the example configuration file
config.example.json
toconfig.json
and insert your own API key. Here are the configuration options:api_proxy
: Input a third-party proxy address for the OpenAI API if required. Otherwise, set theon
property to false.proxy
: Set the HTTP proxy if needed, or set theon
property to false if not.
-
Platform-Specific Tutorials:
- Follow specific guides for Bilibili, Huya, and Douyin available in the repository:
-
Stream Setup with OBS: Use OBS to capture and stream the software running BarrageGPT.
Visuals
BarrageGPT comes with visual support to help understand its operation:
-
Screenshots:
- Bilibili Streaming:
- Huya Streaming:
-
Videos:
- Huya Stream in action: Watch Video
- Bilibili Stream showcasing: Watch Video
Challenges with Douyin
BarrageGPT encounters specific challenges on the Douyin platform:
- To start PC live streaming, having at least 1000 followers is necessary.
- OBS streaming is not viable for mobile unless further steps are conducted to bypass restrictions.
- Attempted live streams using mobile screen sharing led to account flagging and suspension with no clear reasons, causing disruptions.
Future Goals and Features
BarrageGPT is continuously evolving, with several exciting features still under development:
- Gift Triggered AI Interaction: Implementing AI question-answer prompts triggered by viewer gifts (e.g., a rose).
- Virtual AI Characters: Display virtual characters next to the stream, able to read responses aloud.
- Third-party OpenAI API Middleware: Already implemented to facilitate better API access.
BarrageGPT is set to refine the blend of artificial intelligence and live streaming interaction, opening new doors for content creators and their audiences worldwide.