Skip to content

Hack day project, gauge the average mood of your Slack by analysing emoji use

License

Notifications You must be signed in to change notification settings

YoSmudge/SlackMood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SlackMood

Gauge the average mood of your Slack based on Emoji use.

Built for a hack day, I.E. everything here is around 6 hours work. The code is terrible, comments are few and far between, there are no tests, it's not all OOP, there is a lot of weirdness, my usage of BoltDB is not fantastic.

I may get round to doing a bit more work on this at some point, but for now I'm just dumping the code here.

Usage

Create a config file with your Slack bot token and a path to the BoltDB file

slack_token: "abcd"
db_path: "./db.bolt"

Install dependencies with Glide and create the static assets

go-bindata -o web/assets.go -pkg web --prefix "web/html/" web/html/...

Then build and run

go build
./slackmood --config ./config.yml --bind :3044

About

Hack day project, gauge the average mood of your Slack by analysing emoji use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published