kepi is a Django-based microblogging system, implemented in Python. It uses the ActivityPub protocol to communicate with other servers, and the Mastodon protocol to communicate with clients.
 
 
 
 
Go to file
Marnanel Thurman 045daae4c6 Any Object can Mention. Previously it was only Items, which doesn't make much sense.
Also rm redundant and confusing import statement.
2019-08-14 23:21:35 +01:00
django_kepi Any Object can Mention. Previously it was only Items, which doesn't make much sense. 2019-08-14 23:21:35 +01:00
docs intermediate checkin 2018-10-29 13:43:12 +00:00
kepi rm CSRF protection, which breaks get/post requests 2019-08-14 14:34:57 +01:00
tests rm comment which isn't true any more 2019-08-14 14:34:57 +01:00
.gitignore ...and local_config.py is gitignored 2019-08-08 19:23:50 +01:00
LICENSE.txt
MANIFEST.in Fixes to settings so that templates get installed properly. 2019-08-08 19:55:32 +01:00
README.md More documentation 2019-08-14 17:56:02 +01:00
manage.py Huge checkin: central project "kepi" to use the "django_kepi" library. 2019-07-11 18:25:06 +01:00
request-test.py Removed all the old Cobject stuff, at last. This confused 2018-09-16 21:42:27 +01:00
requirements.txt find() creates Things marked as remote, rather than some weird 2019-07-05 17:26:21 +01:00
runtests.py changed location of test_settings 2018-08-16 18:51:24 +01:00
setup.py Fixes to settings so that templates get installed properly. 2019-08-08 19:55:32 +01:00
test_urls.py Add django_kepi.urls. Include it from test_urls.py. 2019-05-18 18:41:10 +01:00

README.md

django-kepi

kepi is a Django library for ActivityPub, using Python 3. It's still at an early stage, and you shouldn't particularly expect anything to work properly.

Help is always appreciated.

Purpose

This project has two purposes:

  • a Django library for ActivityPub. This is the django_kepi app.

  • a standalone daemon for other local programs to interact with. This is the kepi project (in the Django sense).

Running it

Nothing out of the ordinary. Create your virtual environment:

$ python3 -m venv wombat
$ wombat/bin/activate

If python3 doesn't work, try plain python.

Then go wherever you put the kepi sources, and run the installation:

$ pip -r requirements.txt
$ python manage.py tests
$ python manage.py runserver

then check whether you can see anything at https://127.0.0.1:8000/admin/ .

Please don't make kepi's server visible beyond your local network. It's not designed to serve the general internet. If you're installing for more than just testing, use nginx or apache to proxy requests.

History

kepi started life as part of the un_chapeau project. un_chapeau is a Mastodon-like system written with Django in Python. kepi was split off from this, because it seemed more generally useful.

(All the subsystems of un_chapeau are named after kinds of hat; a kepi is a kind of hat worn by French gendarmes.)