Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.