BarrageGPT  by SwaggyMacro

AI-powered interactive Q&A for live streaming

Created 2 years ago
251 stars

Top 99.8% on SourcePulse

GitHubView on GitHub
Project Summary

Interactive AI Q&A with barrage, supporting platforms like Douyin, Huya, and Bilibili. BarrageGPT enables live streamers to integrate ChatGPT into their streams, allowing viewers to ask questions via chat (barrage) which are then answered by the AI and pushed to the stream using OBS for unattended broadcasting. This tool targets live streamers seeking to enhance viewer engagement and automate content creation through AI-powered interactions.

How It Works

The system connects to live stream platforms, captures user-sent barrage messages, and forwards them to a ChatGPT instance for processing. The AI's responses are then displayed or spoken (planned feature) and can be streamed live via OBS. It supports custom OpenAI API keys and proxy configurations for flexibility in API access and network setup.

Quick Start & Requirements

  • Installation: Clone the repository (git clone https://github.com/SwaggyMacro/BarrageGPT.git), install dependencies (pip install -r requirements.txt), and configure config.json with an OpenAI API key.
  • Prerequisites: Python environment, OpenAI API key. OBS is required for streaming.
  • Dependencies: requirements.txt lists project-specific Python packages.
  • Configuration: Requires config.json for API keys and optional proxy settings.
  • Links:
    • GitHub: https://github.com/SwaggyMacro/BarrageGPT
    • Bilibili Tutorial: (Link not provided in README, but mentioned)
    • Huya Tutorial: (Link not provided in README, but mentioned)
    • TikTok(Douyin) Tutorial: (Link not provided in README, but mentioned)

Highlighted Details

  • Supports multiple major Chinese live streaming platforms: Bilibili, Huya, and Douyin.
  • Enables unattended live streaming by automating Q&A interactions with ChatGPT.
  • Includes support for third-party OpenAI API proxies and general HTTP proxies.

Maintenance & Community

  • The project is sponsored by Tencent EdgeOne for CDN acceleration and security.
  • No explicit community channels (Discord, Slack) or roadmap links are provided in the README.

Licensing & Compatibility

  • No license is specified in the provided README.
  • Compatibility for commercial use or closed-source linking is undetermined due to the lack of a license.

Limitations & Caveats

The Douyin platform presents significant challenges: requires 1000 followers for PC streaming, mobile streaming is less functional, and the author experienced multiple account bans, leading to a lack of Douyin-specific screenshots. Planned features like gift triggers for AI Q&A and virtual AI characters are not yet implemented. The README indicates it's a work in progress, with the author intending to complete it later.

Health Check
Last Commit

8 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.