Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mchmarny/tfeel
Twitter sentiment analysis
https://github.com/mchmarny/tfeel
analytics gcp golang twitter
Last synced: 3 months ago
JSON representation
Twitter sentiment analysis
- Host: GitHub
- URL: https://github.com/mchmarny/tfeel
- Owner: mchmarny
- License: apache-2.0
- Archived: true
- Created: 2017-03-30T21:53:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T03:53:34.000Z (over 6 years ago)
- Last Synced: 2024-05-22T15:31:53.176Z (6 months ago)
- Topics: analytics, gcp, golang, twitter
- Language: Go
- Size: 279 KB
- Stars: 22
- Watchers: 8
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go-quant - tfeel - Twitter sentiment analysis (Golang / Sentiment Intensity Analyzer)
README
# TFEEL
> Personal project, does not represent Google
Short for Twitter Feeling... simple sentiment analyses over tweeter data for
specific terms using Google Cloud services:* [Google Container Engine](https://cloud.google.com/container-engine/)
* [Google NLP API](https://cloud.google.com/natural-language/)
* [Google Dataflow](https://cloud.google.com/dataflow/)
* [Google Pub/Sub](https://cloud.google.com/pubsub/)![tfeel data flow](/../master/images/tfeel-flow.png?raw=true "tfeel data flow")
> All GCP services used in this example can be run under the GCP Free Tier
plan. More more information see https://cloud.google.com/free/## Configuration
Edit the `scripts/config.sh` file with your Twitter API info. Alternatively
define the following environment variables. Instractions how to configure your Twitter API access codes are found [here](http://docs.inboundnow.com/guide/create-twitter-application/):```
# export T_CONSUMER_KEY=""
# export T_CONSUMER_SECRET=""
# export T_ACCESS_TOKEN=""
# export T_ACCESS_SECRET=""
```## Dependencies
`tfeel` depends on a few GCP services. You can setup these servicesmanually followingthe commandsfound in the `scripts/setup.sh` file or just execute that script. This script will also configure a service account for the `tfeel` application to run under.
## Run
Once all the necessary GC resources have been created (dependencies) you can execute the `tfeel` application using the `scripts/run.sh` script.
## Cleanup
The cleanup of all the resources created in this application can be accomplished by executing the `scripts/cleanup.sh` script.
### TODO
* Tests, yes please
* Minimize account service roles (currently, project editor)