https://github.com/bwesterb/diaspora-scripts
Some scripts to play with diaspora
https://github.com/bwesterb/diaspora-scripts
Last synced: about 1 year ago
JSON representation
Some scripts to play with diaspora
- Host: GitHub
- URL: https://github.com/bwesterb/diaspora-scripts
- Owner: bwesterb
- License: agpl-3.0
- Created: 2015-01-10T13:49:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-11T11:22:06.000Z (over 11 years ago)
- Last Synced: 2023-03-11T03:27:26.052Z (over 3 years ago)
- Language: Python
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Some scripts to play with Diaspora
Prerequisites
-------------
git clone https://github.com/marekjm/diaspy
sudo python diaspy/setup.py install
git clone https://github.com/bwesterb/diaspora-scripts
sudo pip install requests
cd diaspora-scripts
If you get *hostname doesn't match* errors, run
sudo apt-get install python-openssl python-pyasn1
sudo pip install ndg-httpsclient
If you do not like to type your POD url, username and password
everytime, store them in a file named `~/.diaspora` as follows
https://url.to.pod.com
username
password
Don't forget to run `chmod og-r ~/.diaspora`.
`suggest-contacts.py`
--------------------
$ python suggest-contacts.py
I am searching for the contacts of your contacts that aren't your contacts
..............................................
xxxxx xxxxxx (xxxxxxxxxxx@xxxxxxx.com) contact of xxxx, xxxxx, xxxxxxx
xxx@xxxxxxxxxxxxxxxxxxx (xxxxxxxx@xxxxxxxxxx.nl) contact of xxxx, xxxxx, xxxxxxx
xxxx xxx-xxxxxxxx (xxxxxxxxxxxx@xxxxxx) contact of xxxxx, xxxxxxx
xxxxx xxxxxxxxxx (xxxxxxxx@xxxxxxxxxxxxxx) contact of xxxx, xxxxx