Skip to content

A piece of code to play sound when someone in the office has been palacsinta bombed via slack by the precious /palacsinta command.

Notifications You must be signed in to change notification settings

matyi/Palacsinta-Pusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palacsinta-Pusher

A piece of code to play sound when someone in the office has been palacsinta bombed via slack by the precious /palacsinta command.

Requirements

  1. Register a free Pusher account
  2. On linux you have to install Festival apt-get install festival
  3. Don't forget to plug in the speakers

Recommended to install on a Rasberry Pi and place it in the middle of the office.

Installation

yarn

Add .env file

PUSHER_API_KEY = ''
PUSHER_CLUSTER = ''

Start the app

yarn start

Let's send palacsinta events

Send events with these settings
Channel palacsinta-channel
Event palacsinta-happened
Data (optional*) { "name": "the name who has been palacsinta bombed" }

* Data is optional but an empty object is still required

Todos

  1. Select palacsinta sound with the slack command: /palacsinta [number:1-4]

Credits

Music: Belga: Csumpa - Palacsinta

About

A piece of code to play sound when someone in the office has been palacsinta bombed via slack by the precious /palacsinta command.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published