Add overlay images/sound for events

Repository details (botten-nappet)
Project page
botten-nappet
Project log category
(195 entries)
Owner
@joelpurra
Contributors
Contributors on Github
Project status
💤 This project is inactive.
📂 This project is open.
🤷 This project is not particularly popular.
Repository activity period
🗓
Commits
209 commits
Stars
5 stars
Commit details (aea93408)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Add overlay images/sound for events

  • Translate twitch events to internal events in the backend.
  • Use internal events to trigger animations in the overlay.
  • Events include when a viewer follows, subscribes, cheers bits.
  • Includes some frontend triggers for testing.
Raw text
Add overlay images/sound for events

- Translate twitch events to internal events in the backend.
- Use internal events to trigger animations in the overlay.
- Events include when a viewer follows, subscribes, cheers bits.
- Includes some frontend triggers for testing.

Changed files (63)

Path Additions Deletions
client.ts +23 -0
config/default.yml +10 -3
docs/overview/system.fodg +2 -2
package-lock.json +66 -4
package.json +14 -3
rollup.config.client.js +58 -0
rollup.config.index.js +1 -0
src/backend/src/config/config.ts +49 -2
src/backend/src/main/authenticated-application-main.ts +52 -1
src/backend/src/main/per-user-handlers-main.ts +120 -18
src/backend/src/twitch/irc/command/iincoming-irc-command.ts +1 -0
src/backend/src/twitch/irc/command/ioutgoing-irc-command.ts +1 -0
src/backend/src/twitch/irc/event-emitter/outgoing-irc-command-event-emitter.ts +0 -51
src/backend/src/twitch/irc/handler/subscribing.ts +1 -0
src/backend/src/twitch/irc/irc-connection.ts +1 -0
src/backend/src/twitch/polling/connection/polling-clientid-connection.ts +1 -1
src/backend/src/twitch/polling/event-handler/incoming-cheering-event-translator.ts +103 -0
src/backend/src/twitch/polling/{handler/following.ts => event-handler/incoming-following-event-translator.ts} +41 -36
src/backend/src/twitch/polling/event-handler/incoming-streaming-event-translator.ts +104 -0
src/backend/src/twitch/polling/event-handler/incoming-subscription-event-translator.ts +120 -0
src/backend/src/twitch/polling/event/ichannel-event.ts +26 -0
src/backend/src/twitch/polling/event/iincoming-cheering-event.ts +31 -0
src/backend/src/twitch/polling/event/iincoming-following-event.ts +26 -0
src/backend/src/twitch/polling/event/iincoming-streaming-event.ts +31 -0
src/backend/src/twitch/polling/event/iincoming-subscription-event.ts +26 -0
src/backend/src/twitch/polling/event/iuser-channel-event.ts +26 -0
src/backend/src/twitch/polling/event/iuser-name-id.ts +24 -0
src/backend/src/twitch/polling/handler/cheering-irc-reply-handler.ts +83 -0
src/backend/src/twitch/polling/handler/following-Irc-reply-handler.ts +81 -0
src/backend/src/twitch/polling/handler/ifollowing-polling-response.ts +27 -0
src/backend/src/twitch/polling/handler/istreaming-polling-response.ts +27 -0
src/backend/src/twitch/polling/handler/itwitch-api-v5-channel-follower.ts +33 -0
src/backend/src/twitch/polling/handler/itwitch-api-v5-channel-following-event.ts +28 -0
src/backend/src/twitch/polling/handler/itwitch-api-v6-pagination.ts +25 -0
src/backend/src/twitch/polling/handler/itwitch-api-v6-streaming-event.ts +37 -0
src/backend/src/twitch/polling/handler/streaming-statistics-collector-handler.ts +238 -0
src/backend/src/twitch/polling/handler/subscription-irc-reply-handler.ts +89 -0
src/backend/src/twitch/polling/handler/twitch-api-v6-streaming-event-types.ts +21 -0
src/backend/src/twitch/pubsub/ipubsub-response.ts +7 -2
src/backend/src/twitch/pubsub/pubsub-connection.ts +18 -1
src/frontend/client/ballz-manager.ts +49 -0
src/frontend/client/bot-socket.ts +73 -0
src/frontend/client/cheering-handler.ts +67 -0
src/frontend/client/console-log.ts +49 -0
src/frontend/client/event-manager.ts +132 -0
src/frontend/client/following-handler.ts +31 -0
src/frontend/client/index.ts +96 -0
src/frontend/client/notification-manager.ts +72 -0
src/frontend/client/screen-log.ts +60 -0
src/frontend/client/simple-notification-handler.ts +61 -0
src/frontend/client/sound-manager.ts +85 -0
src/frontend/client/status-scroller.ts +91 -0
src/frontend/client/subscription-handler.ts +38 -0
src/frontend/client/utilities.ts +49 -0
src/frontend/public/css/screen.css +91 -0
src/frontend/public/index.html +55 -7
src/frontend/public/javascript/ballz.js +179 -0
src/frontend/public/sound/.gitignore +1 -0
src/frontend/src/config/config.ts +42 -2
src/frontend/src/main/manager-main.ts +176 -16
src/shared/src/connection/multi-connection-manager.ts +81 -0
src/shared/src/event/multi-event-subscription-manager.ts +43 -0
src/shared/src/util/graceful-shutdown-manager.ts +9 -1

Commit categories (3)