2022-04-11 20:08:41 +00:00
|
|
|
|
# pleroma-cli
|
2022-08-05 12:14:16 +00:00
|
|
|
|
|
|
|
|
|
Эта ветка содержит прототип клиента, где взаимодействие с статусами\постами будет происходить через файлы
|
|
|
|
|
|
2022-04-11 20:08:41 +00:00
|
|
|
|
Just for fun. Simple "Client" API script for Pleroma (or maybe also Mastodon) instances.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
* Write longreads in Your default $EDITOR
|
|
|
|
|
* List timelines
|
2022-04-11 22:57:20 +00:00
|
|
|
|
* Switch instance from public list in config.json or manual input. Also recent used instance list.
|
2022-04-11 20:08:41 +00:00
|
|
|
|
* All others futures maybe working 50/50
|
|
|
|
|
|
2022-05-03 17:47:15 +00:00
|
|
|
|
Note about proxy:
|
|
|
|
|
Proxy by default autodetect i2p and onion (not tested) instances address.
|
|
|
|
|
If provided main_proxy in config.json is disable i2p and onion instances autodetection.
|
|
|
|
|
Also: don't forget change connect_protocol_via_main_proxy if set http proxy or any proxy without support https.
|
|
|
|
|
|
|
|
|
|
Note about auth:
|
|
|
|
|
i2p and onion instances may no support (or disabled) OAuth2.
|
|
|
|
|
Workaround: if instance have clearweb address, make auth and copy-paste token in .auth.json, example:
|
|
|
|
|
```
|
|
|
|
|
{
|
|
|
|
|
"your.authorized.instance": "xxx",
|
|
|
|
|
"abc123instance.i2p": "xxx",
|
|
|
|
|
"abc123instance.onion": "xxx"
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
2022-04-11 20:08:41 +00:00
|
|
|
|
Depends:
|
|
|
|
|
* [jj](http://gitea.phreedom.club/localhost_frssoft/jj)
|
|
|
|
|
* [curl](https://curl.se/)
|
|
|
|
|
* [fzy](https://github.com/jhawthorn/fzy)
|
2022-05-08 17:40:18 +00:00
|
|
|
|
* Any browser (links set by default) - for authorization on instances
|
|
|
|
|
|
|
|
|
|
Opt. Depends:
|
|
|
|
|
* gpg - for decrypt PGP messages
|
|
|
|
|
* awk - parse PGP standart messages
|
|
|
|
|
* Any media player
|
2022-04-11 20:08:41 +00:00
|
|
|
|
|
|
|
|
|
Also, thk Tolstoevsky for Pleroma instance (set by default instance)
|