Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stjohnjohnson/extralife-twitch-bridge
Add extra features to your Twitch chat from Extra Life
https://github.com/stjohnjohnson/extralife-twitch-bridge
extra-life extralife hacktoberfest twitch
Last synced: about 2 months ago
JSON representation
Add extra features to your Twitch chat from Extra Life
- Host: GitHub
- URL: https://github.com/stjohnjohnson/extralife-twitch-bridge
- Owner: stjohnjohnson
- License: apache-2.0
- Created: 2021-10-13T03:24:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T23:13:54.000Z (2 months ago)
- Last Synced: 2024-12-08T13:46:12.914Z (about 2 months ago)
- Topics: extra-life, extralife, hacktoberfest, twitch
- Language: JavaScript
- Homepage: https://hub.docker.com/r/stjohnjohnson/extralife-twitch-bridge
- Size: 27.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# extralife-twitch-bridge
Add extra features to your Twitch chat from Extra Life## Configuration
Set the following environment variables:
- `EXTRALIFE_PARTICIPANT_ID`: Your ExtraLife/DonorDrive ID
- `TWITCH_USERNAME`: Your Bot's Username
- `TWITCH_OAUTH`: The code from https://twitchapps.com/tmi/
- `TWITCH_CHANNEL`: The Twitch channel to sit in## Usage
```
$ docker run --rm -it --env-file .env stjohnjohnson/extralife-twitch-bridge
> [email protected] start
> node app.js[21:11] info: Connecting to irc-ws.chat.twitch.tv on port 443..
[21:11] info: Sending authentication to server..
[21:11] info: Connected to server.
[21:11] info: Executing command: JOIN #stjohnjohnson
[21:11] info: Joined #stjohnjohnson
[21:11] info: [#stjohnjohnson] : !goal
[21:11] info: [#stjohnjohnson] : St. John Johnson has raised $128.10 out of $10,000.00 (1%)
```![Stream Chat](https://user-images.githubusercontent.com/622065/194124072-f0fd26a0-bff4-4901-9e3e-3277d2a73e1b.png)
## Features
### Donation Sharing
Every 30 seconds the chat bot will check the list of donations and post to Twitch if there are new ones.
### Goal
The chat bot will reply to `!goal` with a sum of the current donations and goal.