Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start the SSE server

python sse_server.py

Sounds play automatically when the bot connects for testing purposes. User must click/scroll on the overlay page for audio to play (browser requirement)

From root

python .\sse_server.py

then go to

http://localhost:8000/sounds_overlay

then start your bot as seen in the example bot in root

File Structure

├── sse_server.py                    # Web server and SSE endpoint
├── twitchio_bot.py                  # Base bot class with sound functionality
├── connection_manager.py            # Manages SSE client connections
├── .env                             # Environment variables (create this)
├── utils/
│   ├── data_models.py              # dataclass
│   └── audio_to_base64.py          # Audio file conversion utilities
├── extensions/
│   ├── __init__.py
│   ├── browser_source/
│   │   ├── __init__.py
│   │   ├── sse.py                  # SSE endpoint logic
│   │   └── sounds.py               # Sound processing and broadcasting
│   └── client_files/
│       └── sounds/
│           ├── static/
│           │   ├── scripts.js      # Frontend JavaScript
│           │   └── styles.css      # Frontend styles
│           └── templates/
│               └── sound_overlay.html  # Browser overlay template

About

Maybe possibly the start of the sounds and overlays ext for twitchio 3

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages