{"id":15058787,"url":"https://github.com/autogestion/pubgate","last_synced_at":"2025-07-21T13:34:05.137Z","repository":{"id":54295637,"uuid":"137607267","full_name":"autogestion/pubgate","owner":"autogestion","description":"Lightweight ActivityPub federator","archived":false,"fork":false,"pushed_at":"2022-12-08T03:14:56.000Z","size":236,"stargazers_count":114,"open_issues_count":18,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-02T12:48:37.654Z","etag":null,"topics":["activitypub","activityweb","asyncio","cms","decentralized","pubgate","sanic","social-network"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autogestion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-16T20:03:57.000Z","updated_at":"2025-03-17T13:50:46.000Z","dependencies_parsed_at":"2023-01-25T04:00:54.382Z","dependency_job_id":null,"html_url":"https://github.com/autogestion/pubgate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/autogestion/pubgate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fpubgate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fpubgate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fpubgate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fpubgate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autogestion","download_url":"https://codeload.github.com/autogestion/pubgate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fpubgate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502490,"owners_count":23618617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["activitypub","activityweb","asyncio","cms","decentralized","pubgate","sanic","social-network"],"created_at":"2024-09-24T22:30:23.518Z","updated_at":"2025-07-21T13:34:05.087Z","avatar_url":"https://github.com/autogestion.png","language":"Python","funding_links":[],"categories":["Protocols"],"sub_categories":[],"readme":"\u003cimg src=\"https://user-images.githubusercontent.com/1098257/83571569-eb642700-a51f-11ea-8fca-c2b61798a4ce.png\" width=\"200\" height=\"200\"\u003e\n\n![python_version](https://img.shields.io/badge/python-3.7-blue.svg)\n## Asyncronous Lightweight ActivityPub API / CMS\nImplements both the client-to-server(C2S) API and the federated server-to-server(S2S) API.\n - S2S compatible with Mastodon, Pixelfed, Pleroma and microblog.pub\n\nCan do create / delete / un-/follow users / share / like / undo\n\nThe idea is to develop PubGate as CMS, which could be used same as WordPress -\neasy install on cheap hosting with customization by installing plugins and choosing themes.\nAs far as it based on asynchronous python framework,\nwhich provides non-blocking delivery of AP objects to other instances, it supposed to be light and fast.\n\n##### Support extensions (collects blueprints and tasks):\n\n - [pubgate-rssbot](https://github.com/autogestion/pubgate-rssbot):  federates rss-feeds*\n - [pubgate-telegram](https://github.com/autogestion/pubgate-telegram):  Telegram \u003c-\u003e ActivityPub bridge\n - [pubgate-steemit](https://github.com/autogestion/pubgate-steemit):  Steemit Blog -\u003e ActivityPub bridge\n - [pubgate-philip](https://github.com/autogestion/pubgate-philip):  minimalist blogging js client, Svelte framework (beta)*\n\n### API documentation\nOverview [swagger docs example](http://pubgate.autogestion.org/swagger)\n\nMore details at [Postman documenter](https://documenter.getpostman.com/view/4625755/RzZCFdXv) or download latest [Postman collection](https://github.com/autogestion/pubgate/blob/master/pubgate.postman_collection.json)\n\n## Deploy\n### Docker\n###### Install Docker + Docker Compose\n#### Shell\n```\ngit clone https://github.com/autogestion/pubgate.git\ncp -r config/extensions_sample_conf.cfg config/conf.cfg\n```\n###### Check/Edit config/conf.cfg to change setup of your instance\n(registration status, title and description for UI App)\n\nThen, instance could be started\n```\ndomain=put-your-domain-here.com docker-compose up -d\n```\n\nThis will install PubGate with extensions (marked * in list ).\nFor custom configuration edit requirements/extensions.txt and config/conf.cfg .\nTo install federator without extensions, empty requirements/extensions.txt and use\nconfig/base_sample_conf.cfg\n\n### Manual deploy on Android device\nGuide from [@traumschule](https://github.com/traumschule)\n\nCould be used for manual install on Ubuntu/Debian as well\n\n##### Install dory mongodb server and termux\n\n#### In termux:\n```\npkg install git python make\ngit clone https://github.com/autogestion/pubgate\npip install -r requirements/base.txt\npip install -r requirements/extensions.txt\ncp config/extensions_sample_conf.cfg config/conf.cfg\n```\nedit config/conf.cfg and change example.com to ip address and https to http (for dev instance)\n```\npython run_api.py\n```\n\n### Tests\n\n```\npython -m pytest tests/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautogestion%2Fpubgate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautogestion%2Fpubgate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautogestion%2Fpubgate/lists"}