https://github.com/machinebox/mood
Twitter analytics using textbox
https://github.com/machinebox/mood
analytics machine-learning nlp textbox twitter
Last synced: 6 months ago
JSON representation
Twitter analytics using textbox
- Host: GitHub
- URL: https://github.com/machinebox/mood
- Owner: machinebox
- License: apache-2.0
- Created: 2017-07-04T15:49:56.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-05T15:23:56.000Z (almost 9 years ago)
- Last Synced: 2025-09-08T21:38:22.023Z (8 months ago)
- Topics: analytics, machine-learning, nlp, textbox, twitter
- Language: Go
- Size: 603 KB
- Stars: 14
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mood by machinebox
Mood live streams tweets, and analyses the content using [Textbox](https://machinebox.io/docs/textbox).

## Requirements
### Enviroment variables to connect with Twitter
To Run the app you need the following enviroment variables to be able to connect to Twitter.
```
MOOD_COSUMER_KEY=consumer_key
MOOD_CONSUMER_SECRET=secret
MOOD_ACCESS_TOKEN=token
MOOD_ACCESS_SECRET=access_secret
```
To get a the values you can visit [Twitter Apps](https://apps.twitter.com/) where you can generate the keys for running it.
### Textbox
The NLP analysis (keywords, entities, sentiement) is done using [Textbox](https://machinebox.io/docs/textbox) make sure you have an instance of textbox running on http://localhost:8080
## Run Mood
From the root directory just:
```
$ go build
$ ./mood
mood by Machine Box - https://machinebox.io/
Go to: :9000...
```
Visit http://localhost:9000 and enjoy!
This application is for hacking! Play and Change it.