{"id":13821791,"url":"https://github.com/api-platform/activity-pub","last_synced_at":"2025-04-10T05:12:03.839Z","repository":{"id":66331142,"uuid":"274788747","full_name":"api-platform/activity-pub","owner":"api-platform","description":"API Platform ActivityPub Support","archived":false,"fork":false,"pushed_at":"2021-01-24T21:52:14.000Z","size":29,"stargazers_count":75,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-10T05:11:52.958Z","etag":null,"topics":["activitypub","activitypub-protocol","api-platform","decentralized","fediverse","hacktoberfest","mastodon","symfony","symony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/api-platform.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,"governance":null}},"created_at":"2020-06-24T23:24:18.000Z","updated_at":"2024-10-26T00:41:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e5a0a14-cce2-4091-8664-c46cb0ba41ab","html_url":"https://github.com/api-platform/activity-pub","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"17da0b00eeaaf72108282f4752f79292d875a367"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Factivity-pub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Factivity-pub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Factivity-pub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Factivity-pub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/api-platform","download_url":"https://codeload.github.com/api-platform/activity-pub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161276,"owners_count":21057555,"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","activitypub-protocol","api-platform","decentralized","fediverse","hacktoberfest","mastodon","symfony","symony-bundle"],"created_at":"2024-08-04T08:01:28.370Z","updated_at":"2025-04-10T05:12:03.805Z","avatar_url":"https://github.com/api-platform.png","language":"PHP","readme":"# API Platform ActivityPub\n\n⚠️ This project is highly experimental, it isn't suitable for production yet ⚠️\n\nAPI Platform ActivityPub is a bundle for [the API Platform framework](https://api-platform.com) and\n[Symfony](https://symfony.com) providing support for [the ActivityPub protocol](https://www.w3.org/TR/activitypub/) and\nfor [the ActivityStreams vocabulary](https://www.w3.org/TR/activitystreams-core/).\n\n\u003e The ActivityPub protocol is a decentralized social networking protocol.\n\u003e It provides a client to server API for creating, updating and deleting content, as well as a federated server to\n\u003e server API for delivering notifications and content.\n\nAPI Platform ActivityPub allows to easily add support for ActivityPub to new or existing API Platform projects,\nwhile still being able to benefit from all API Platform features (yes, including [Mercure](https://mercure.rocks),\n[Vulcain](https://vulcain.rocks) and GraphQL!)\n\n## Install\n\n## Install API Platform or Symfony\n\nIf it's not already done!\n\n### Install the Bundle\n\n    composer require api-platform/activity-pub\n\n### Generate the ActivityPub Entities\n\nInstall [API Platform Schema Generator](https://api-platform.com/docs/schema-generator/):\n\n    composer require --dev api-platform/schema-generator\n\nAlternatively, you can download the PHAR version.\n\n⚠️ Currently, [this development version](https://github.com/api-platform/schema-generator/pull/204) must be used to generate the schema\n\nThen generate the entities:\n\n    ../schema-generator/bin/schema generate src vendor/api-platform/activity-pub/build/schema.yaml\n\nIf you want to tweak the generated files, copy and adapt the provided configuration file.\nThe generation is a one time operation, then you can edit the entities to fit your need and remove `api-platform/schema-generator`.\n\n### Configure Doctrine, API Platform and Symfony\n\nSee the test configuration in [`tests/app/index.php`](tests/app/index.php)\n\n## TODO\n\n### Spec\n\n* [ ] MUST (security): [Filter inbox and outbox according to current permissions](https://www.w3.org/TR/activitypub/#delivery)\n* [ ] MUST (security): [Don't disclose BTO/BCC to other users](https://www.w3.org/TR/activitystreams-vocabulary/#audienceTargeting)\n* [ ] MUST: [Support other activities with side effects than `Create`](https://www.w3.org/TR/activitypub/#server-to-server-interactions)\n* [ ] MUST: [Handle the case when recipients are collections](https://www.w3.org/TR/activitypub/#delivery)\n* [ ] MAY: [Liked Collection](https://www.w3.org/TR/activitypub/#liked)\n* [ ] MAY: [Likes Collection](https://www.w3.org/TR/activitypub/#likes)\n* [ ] MAY: [Shares Collection](https://www.w3.org/TR/activitypub/#shares)\n* [ ] MAY: [Shared Inbox Delivery](https://www.w3.org/TR/activitypub/#shared-inbox-delivery)\n\n### Other / Related\n\n* [ ] MUST (security): [Add support for HTTP signatures](https://tools.ietf.org/html/draft-ietf-httpbis-message-signatures)\n* [ ] [Add support for WebFinger](https://tools.ietf.org/html/rfc7033)\n\n### Code\n\n* [ ] See the TODOs in the source code\n* [ ] Open source (and / or rewrite) the tests\n* [ ] Add interfaces for `final` classes\n* [ ] Create a Symfony recipe\n* [ ] Add support for MySQL and other DBMS (currently only Postgres is supported because of [this custom DQL function](src/Doctrine/JsonbAtGreater.php))\n\n# Credits\n\nCreated by [Kévin Dunglas](https://dunglas.fr). Sponsored by [Les-Tilleuls.coop](https://les-tilleuls.coop).\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-platform%2Factivity-pub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapi-platform%2Factivity-pub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-platform%2Factivity-pub/lists"}