Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/revunix/ttv-notify
A bot that monitors the status of Twitch streams and sends notifications via Telegram.
https://github.com/revunix/ttv-notify
docker docker-compose notify telegram telegram-bot twitch
Last synced: about 2 months ago
JSON representation
A bot that monitors the status of Twitch streams and sends notifications via Telegram.
- Host: GitHub
- URL: https://github.com/revunix/ttv-notify
- Owner: revunix
- License: gpl-3.0
- Created: 2024-08-27T13:25:36.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T13:45:49.000Z (5 months ago)
- Last Synced: 2024-08-27T14:55:38.976Z (5 months ago)
- Topics: docker, docker-compose, notify, telegram, telegram-bot, twitch
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ttv-notify
A bot that monitors the status of Twitch streams and sends notifications via Telegram.
## Prerequisites
- Docker
- Docker Compose## Cloning the Repository
Clone the repository to your local machine:
```bash
git clone https://github.com/revunix/ttv-notify.git
cd ttv-notify
```## Environment Variables
Edit the `docker-compose.yml` file to include your environment variables:
```yaml
name: ttv-notifyservices:
app:
container_name: ttv-notify
build: .
environment:
TELEGRAM_TOKEN: "your_telegram_bot_token"
TELEGRAM_CHATID: "your_telegram_chat_id"
TWITCH_CLIENT_ID: "your_twitch_client_id"
TWITCH_CLIENT_SECRET: "your_twitch_client_secret"
TWITCH_STREAMERS: "streamer1,streamer2,streamer3"
MESSAGE_TEMPLATE: "{user_name} is now live playing {game_name} with {viewer_count} viewers! Watch here: {user_url}"
network_mode: bridge
restart: unless-stopped
```## Running the Application
### With Docker Compose
1. Build and start the container:
```bash
docker compose -p ttv-notify up -d --build
```## License
This project is licensed under the GPL-3.0 License. See the `LICENSE` file for more details.