No description
  • Python 98.6%
  • Dockerfile 1.4%
Find a file
2026-03-09 16:53:01 +01:00
scripts Add full app with support for channel webhook 2026-03-09 04:08:10 +01:00
src/paneko_bot Add auto unsubscribe/resubscribe from event on start/stop 2026-03-09 16:53:01 +01:00
.dockerignore add dockerfile 2026-03-09 07:12:29 +01:00
.gitignore Add full app with support for channel webhook 2026-03-09 04:08:10 +01:00
.python-version Add basic twitch webhook handling 2026-03-08 22:49:07 +01:00
Dockerfile add dockerfile 2026-03-09 07:12:29 +01:00
main.py Add full app with support for channel webhook 2026-03-09 04:08:10 +01:00
pyproject.toml Add full app with support for channel webhook 2026-03-09 04:08:10 +01:00
README.md add readme 2026-03-09 12:22:00 +01:00
uv.lock Add full app with support for channel webhook 2026-03-09 04:08:10 +01:00

PanekoPingko

FastAPI bot that forwards live stream starting event from Twitch EventSub to Discord and Fluxer webhooks. (So it can post a ping message when a streamer goes live)

Quick Start

# Install dependencies
uv sync

# Configure environment (copy .env.example to .env)
uv run uvicorn main:app --host 0.0.0.0 --port 8000

Environment Variables

The easisest way to set them up is to put them all in a .env.

Variable Description Default
SELF_PUBLIC_URL Public URL for callbacks http://localhost:8000
FLUXER_WEBHOOK_URL Fluxer webhook URL Optional
DISCORD_WEBHOOK_URL Discord webhook URL Optional
TWITCH_WEBHOOK_SECRET EventSub signature secret Auto-generated
TWITCH_CLIENT_ID Twitch app client ID Required
TWITCH_CLIENT_SECRET Twitch app client secret Required
TWITCH_TARGET_USER_ID Channel to monitor Required

Docker

docker build -t paneko-bot .
docker run -p 8000:8000 --env-file .env -it --rm paneko-bot

Notification Message

Edit ping_message file to customize notifications. Supports {broadcaster} and {login} placeholders.

Default: {broadcaster} is streaming https://twitch.tv/{login} !