Giter Site home page Giter Site logo

pubgate's Introduction

python_version

Asyncronous Lightweight ActivityPub API

Based on little-boxes. Implements both the client-to-server API and the federated server-to-server API. Compatible with Mastodon, Pleroma and microblog.pub

Support extensions (collects blueprints and listeners):

API documentation

Support create / delete / un-/follow users / share / like

Endpoints

Overview swagger docs example

Federated
  • /.well-known/ (webfinger, nodeinfo)
  • /user/ (create, profile, token(password grant OAuth 2), following)
  • /inbox/ (create, list)
  • /outbox/ (create, list, details)
Additional
  • /swagger (api docs)

More details:

At Postmat documenter or download latest Postman collection

Run

Prerequisites

MongoDB, Python3.6

Shell

git clone https://github.com/autogestion/pubgate.git
pip install -r requirements/base.txt
Only federator
cp -r config/base_sample_conf.cfg config/conf.cfg
To run with extensions (marked * in list )
pip install -r requirements/extensions.txt
cp -r config/extensions_sample_conf.cfg config/conf.cfg
Run
python run_api.py

Tests

python -m pytest tests/

pubgate's People

Contributors

autogestion avatar undeadbeast avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.