Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/f-person/diadon
CLI for posting on Mastodon and diaspora*
https://github.com/f-person/diadon
diaspora mastodon mastodon-client
Last synced: 22 days ago
JSON representation
CLI for posting on Mastodon and diaspora*
- Host: GitHub
- URL: https://github.com/f-person/diadon
- Owner: f-person
- License: mit
- Created: 2019-02-23T06:25:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T20:04:41.000Z (over 4 years ago)
- Last Synced: 2024-12-18T08:03:48.214Z (24 days ago)
- Topics: diaspora, mastodon, mastodon-client
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# diadon
diadon is a tool for posting on diaspora/mastodon.DEPENDENCIES:
diaspy:
$ git clone https://github.com/marekjm/diaspy.git
$ cd diaspy
$ sudo python3 setup.py installMastodon.py:
$ pip3 install Mastodon.pyUSAGE:
just type diadon '' to share it on diaspora
if the length of the text is more than length for tooting on mastodon.
by default it's set to 140.to ignore max lentgh and toot on mastodon , use -m or --mastodon argument (diadon -m 'your text here')
to ignore max length and share on diaspora, use -d or --diaspora argument (diadon -d 'your text here')
to share on diaspora and toot on mastodon , use -dm or --diadon argument (diadon -dm 'your text here')
to post images use this pattern: '$ diadon [arg] 'post text' /full/path/to/image1 [/full/path/to/image2]'
[] - optionalFIRST TIME USE / SETUP:
just put diadon.py as diadon somewhere in your path
and run the setup command:
$ diadon setupCONFIGURATION:
change max length : '$ diadon config -max (can't be more than 500)'
change diaspora account settings: '$ diadon config -d '
change mastodon account settings: '$ diadon config -m '
(if you dont have them, get as described in "FIRST TIME USE")