Modern ActivityPub compliant server, designed for simplicity and accessibility. Includes calendar, news and sharing economy features to empower your federated community. We spent a year testing this for a hyper local indymedia codebase.
 
 
 
 
 
Go to file
Bob Mottram e9472aaf11 Name on logo 2019-07-04 21:56:04 +01:00
img Name on logo 2019-07-04 21:56:04 +01:00
LICENSE
Makefile
README.md Name on logo 2019-07-04 21:56:04 +01:00
acceptreject.py Option to use dat urls 2019-07-03 20:00:03 +01:00
announce.py Option to use dat urls 2019-07-03 20:00:03 +01:00
auth.py outbox post authentication 2019-07-04 10:00:53 +01:00
cache.py Fallbacks for GET and POST locking 2019-07-01 15:30:48 +01:00
daemon.py Fix network test 2019-07-04 21:25:19 +01:00
epicyon.py Move function 2019-07-04 20:34:28 +01:00
follow.py Option to use dat urls 2019-07-03 20:00:03 +01:00
httpsig.py Fixing public key lookup 2019-07-04 15:36:29 +01:00
inbox.py Fix network test 2019-07-04 21:25:19 +01:00
like.py Option to use dat urls 2019-07-03 20:00:03 +01:00
person.py Validate nicknames 2019-07-04 19:26:37 +01:00
posts.py Move function 2019-07-04 20:34:28 +01:00
session.py Package not needed 2019-07-04 21:42:05 +01:00
tests.py Check that inbox is updated 2019-07-04 21:36:12 +01:00
threads.py Move tests to their own file 2019-06-30 21:14:03 +01:00
utils.py Save posts to inbox to a queue 2019-07-04 11:02:56 +01:00
webfinger.py Fix posts option 2019-07-04 18:31:41 +01:00

README.md

Some experiments with ActivityPub in Python.

Based on the specification: https://www.w3.org/TR/activitypub

Also: https://raw.githubusercontent.com/w3c/activitypub/gh-pages/activitypub-tutorial.txt

Install

sudo pacman -S tor python-pip python-pysocks python-pycryptodome python-beautifulsoup4
sudo pip install commentjson

Running Tests

To run the unit tests:

python3 epicyon.py --tests

To run the network tests. These simulate instances exchanging messages.

python3 epicyon.py --testsnetwork