Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/autogestion/pubgate-steemit
Extension for PubGate, Steemit -> ActivityPub bridge
https://github.com/autogestion/pubgate-steemit
activitypub sanic steem steemit
Last synced: 24 days ago
JSON representation
Extension for PubGate, Steemit -> ActivityPub bridge
- Host: GitHub
- URL: https://github.com/autogestion/pubgate-steemit
- Owner: autogestion
- License: bsd-3-clause
- Created: 2019-06-02T17:09:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T13:55:38.000Z (over 4 years ago)
- Last Synced: 2024-04-13T13:53:42.275Z (7 months ago)
- Topics: activitypub, sanic, steem, steemit
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## PubGate Steemit -> ActivityPub bridge
Extension for [PubGate](https://github.com/autogestion/pubgate), federates posts from Steemit blogsRequires PubGate >= 0.2.10
### Run
- Install PubGate
- Install pg_steemit
```
pip install git+https://github.com/autogestion/pubgate-steemit.git```
- Update conf.cfg with
```
EXTENSIONS = [..., "pg_steemit"]STEEMIT_BOT_TIMEOUT = 3600
FETCH_ON_START = 10
```
- run
```
python run_api.py```
### Usage
#### Create bot
```
/user POST
```
payload
```
{
"username": "user",
"password": "pass",
"email": "[email protected]", #optional
"invite": "xyz", #required if register by invite enabled
"profile": {
"type": "Service",
"name": "LiberLandPress",
"summary": "Broadcast from Steemit blog",
"icon": {
"type": "Image",
"mediaType": "image/png",
"url": "https://liberland.org/en/assets/images/logo.png"
}
},
"details": {
"stbot": {
"blogs": ["liberlandpress"],
"enable": true,
"tags": ["liberland", "steemit", "selfgoverned"] #could be empty []
}
}
}
```#### Disable/Update bot
```
/ PATCH (auth required)
```
payload
```
{
"details": {
"stbot": {
"blogs": ["liberlandpress"], #change to update blogs list
"enable": false, #"enable": true to re-enable
"tags": ["liberland", "steemit", "selfgoverned"] #could be empty []
}
}
}
```