Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goern/gpfingstrose
~/S/g/g/Pfingstrose is an async twitter bot talking to some AI.
https://github.com/goern/gpfingstrose
Last synced: about 1 month ago
JSON representation
~/S/g/g/Pfingstrose is an async twitter bot talking to some AI.
- Host: GitHub
- URL: https://github.com/goern/gpfingstrose
- Owner: goern
- License: gpl-3.0
- Created: 2019-03-30T13:58:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T04:59:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T20:54:45.892Z (about 1 month ago)
- Language: Python
- Size: 417 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GPfingstrose
## Configuration
The application is reading its configuration from environment variables:
```shell
export PFINGSTROSE_CONSUMER_KEY=
export PFINGSTROSE_CONSUMER_SECRET=
export PFINGSTROSE_ACCESS_TOKEN=
export PFINGSTROSE_ACCESS_TOKEN_SECRET=
```... or use an `.env` file, it will be evaluated by pipenv.
## Run the bot
`./app.py`
### Sentiment Analysis
If you set `GOOGLE_APPLICATION_CREDENTIALS`to some service account JSON file path (see https://cloud.google.com/docs/authentication/getting-started for details), the bot will do a sentiment analysis of each incoming tweet.