https://github.com/chux0519/flipurr
https://github.com/chux0519/flipurr
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chux0519/flipurr
- Owner: chux0519
- Created: 2021-11-17T07:22:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-17T07:22:49.000Z (over 4 years ago)
- Last Synced: 2024-12-29T08:23:50.215Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flipurr
fetch image from flickr, then use [purrmitive](https://github.com/chux0519/purr/tree/master/purrmitive) to generate an output and publish to your social network.
## supported social networks
- mastodon
- quorum groups
## requirements
- flickr API key and secret
- [purr](https://github.com/chux0519/purr/tree/master/purrmitive) binary
- social network credentials
- mastodon: you need user name and password
- quorum groups: you need a quorum API server, and the JWT and TLS certs of it.
## usage
env
```
export MASTODON_USER_NAME=''
export MASTODON_PASSWORD=''
export USER_SECRET_FILE='/home/xxx//purrbot_usercred.secret'
export APP_SECRET_FILE='/home/xxx/purrbot_clientcred.secret'
export FLICKR_API_KEY=''
export FLICKR_API_SECRET=''
export QUORUM_API_BASE_URL='https://xxx.xxx.xxx.xxx:8000'
export QUORUM_GROUP_ID=''
export QUORUM_API_JWT=''
```