Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

ActivityPub

From Wikipedia, the free encyclopedia
Decentralized social networking protocol

ActivityPub
Communication protocol
The image depicts a infographic of the basic functionality of ActivityPub. It shows a person (known as an Actor in ActivityPub terminology) reading incoming messages ("activities") from an inbox, which receives messages from other Actors (depicted as a cloud labeled "REST OF THE WORLD") via federation. The Actor also sends messages to their outbox, which the rest of the world receives via federation.
An infographic of the core functionality of ActivityPub
AbbreviationAP
PurposeDecentralized social networking
Developer(s)World Wide Web Consortium and
IntroductionJanuary 23, 2018; 8 years ago (2018-01-23)
Based onActivityStreams,JSON-LD
InfluencedAT Protocol[1]
Websiteactivitypub.rocksEdit this at Wikidata

ActivityPub is aprotocol andopen standard fordecentralizedsocial networking. It provides aclient-to-server (C2S)API for creating and modifying content, as well as afederatedserver-to-server (S2S) protocol for delivering notifications and content to other servers.[2] ActivityPub is the defining standard of theFediverse, a decentralised social network of various social interaction models, and content types, which consists of independently managed instances of software such asMastodon,Pixelfed andPeerTube, among others.[3]

ActivityPub is considered to be an update to the ActivityPump protocol used inpump.io, and the official W3C repository for ActivityPub is identified as a fork of ActivityPump.[4][5] The creation of a new standard fordecentralized social networking was prompted by the complexity ofOStatus, the most commonly used protocol at the time. OStatus was built using a multitude of technologies (such asAtom,Salmon,WebSub andWebFinger), a product of the infrastructure used inGNU social (the originator and largest user of the OStatus protocol), which made it difficult to implement the protocol into new software. OStatus was also only designed to work withmicroblogging services, with little flexibility to the types of data that it could hold.

The standard was first published by theWorld Wide Web Consortium (W3C) as a W3C Recommendation in January 2018 by the Social Web Working Group (SocialWG), aworking group chartered to build the protocols and vocabularies needed to create a standard for social functionality.[6] Shortly after, further development was moved to the Social Web Community Group (SocialCG), the successor to the SocialWG.

Design

[edit]

ActivityPub uses theActivityStreams 2.0 format for building its content, which itself usesJSON-LD. The three main data types used in ActivityPub are Objects, Activities and Actors. Objects are the most common data type, and can be images, videos, or more abstract items such as locations or events. Activities are actions that create and modify objects, for example aCreate activity creates an object. Actors are representative of an individual, a group, an application or a service, and are the owners of objects.

Every actor type contains an inbox and outbox stream, which sends and receives activities for a user. In order to publish data (for example liking an article), a user creates an activity that declares that they liked an Article object and publishes it to their outbox, where it is then delivered by the ActivityPub server via aPOST request to the inboxes listed in the activity'sto,bto,cc andbcc fields. The receiving servers then account for the newly received activity and update the article by adding the like action to it.

Example data

[edit]

An example actor object that represents auser account:[7]

{"@context":["https://www.w3.org/ns/activitystreams",{"@language":"ja"}],"type":"Person","id":"https://kenzoishii.example.com/","following":"https://kenzoishii.example.com/following.json","followers":"https://kenzoishii.example.com/followers.json","liked":"https://kenzoishii.example.com/liked.json","inbox":"https://kenzoishii.example.com/inbox.json","outbox":"https://kenzoishii.example.com/feed.json","preferredUsername":"kenzoishii","name":"石井健蔵","summary":"この方はただの例です","icon":["https://kenzoishii.example.com/image/165987aklre4"]}

An example activity that likes an article object:

{"@context":["https://www.w3.org/ns/activitystreams",{"@language":"en"}],"type":"Like","actor":"https://dustycloud.org/christine/","summary":"Christine liked 'Minimal ActivityPub update client'","object":"https://rhiaro.co.uk/2016/05/minimal-activitypub","to":["https://rhiaro.co.uk/#amy","https://dustycloud.org/followers","https://rhiaro.co.uk/followers/"],"cc":"https://e14n.com/evan"}

An example article object:

{"@context":["https://www.w3.org/ns/activitystreams",{"@language":"en-GB"}],"id":"https://rhiaro.co.uk/2016/05/minimal-activitypub","type":"Article","name":"Minimal ActivityPub update client","content":"Today I finished morph, a client for posting ActivityStreams2...","attributedTo":"https://rhiaro.co.uk/#amy","to":"https://rhiaro.co.uk/followers/","cc":"https://e14n.com/evan"}

Project status

[edit]

The SocialCG previously organized a yearly free conference called ActivityPub Conf about the future of ActivityPub.[8][9] Triages are held regularly to review issues pertaining to the ActivityPub and ActivityStreams 2.0 specifications as part of the SocialCG.[10]

In 2023, Germany'sSovereign Tech Fund donated €152,000 to socialweb.coop with the goal of building a new suite for testing various ActivityPub implementations and their compliance with the specification.[11]

Adoption

[edit]
Further information:Fediverse § Adoption

The initial wave of adoption for ActivityPub (circa 2016–2018) came from software that was already using OStatus as their federation protocol, such asMastodon,GNU social andPleroma.[12] Following theacquisition of Twitter by Elon Musk in 2022, many groups of users that were critical of the acquisition migrated to Mastodon, bringing new attention to the ActivityPub protocol with it.[13] Various major social media platforms and corporations have since pledged to implement ActivityPub support, includingTumblr,[14]Flipboard[15] andMeta Platforms'Threads.[16] Threads introduced crossposting to ActivityPub in 2024 for users outside of theEuropean Economic Area,[17] however full 2-way compatibility remains incomplete as of 2025.[18]

Criticism

[edit]

Accidental denial-of-service attacks

[edit]

Poorlyoptimized ActivityPub implementations can cause unintentionaldistributed denial-of-service (DDOS) attacks on other websites and servers, due to the decentralized nature of the network.[citation needed] An example would beMastodon's implementation ofOpenGraph link previews, wherein every instance that receives a post that contains a link with OpenGraph metadata will download the associated data, such as athumbnail, in a very short timeframe, which can slow down or crash servers as a result of the sudden burst of requests.[19][20]

Account migration

[edit]

ActivityPub has been criticized for not natively supporting moving accounts from one server to another, forcing implementations to build their own solutions.[21] While there has been work on building a standardized system for migrating accounts using the Move activity via the Fediverse Enhancement Proposal organization, the current proposal only allows for basic follower migration, with all other data remaining linked to the original account.[22]

Missing content and data

[edit]

ActivityPub implementations have been criticized for missing replies and parts of reply threads from remote posts, and presenting outdated statistics (e.g. likes and reposts) about remote posts.[23][24] However, this isn't a problem with the ActivityPub protocol itself, but with implementations notrefreshing their content for updated data when needed.[25][26][citation needed]

Software using ActivityPub

[edit]
Software nameTotal users[27][28]Initial ActivityPub-compatible releaseType of softwareFork of
Akkoma9,5302022[29]BloggingPleroma
BookWyrm[30]49,6002021[31]Book cataloging
Castopod818 podcasts[32]2020[33]Audio hosting
Discourse?2025[34]Internet forum
Firefish4,5602022[35]BloggingMisskey
Flipboard[36]145,000,000[37]2023[38][39]Social news
Friendica[40]19,8002019Blogging,event management,groups,image gallery
Funkwhale8,8502018[41]Audio hosting
Gancio[42]1,9002020[43]Calendar, event planner
Ghost[44][45]?2025 (in beta)[46]Blogging
Hubzilla[47]6,7402017Blogging, event planner,file hosting, image gallery,wiki
Lemmy[48]485,0002019Social news
Libervia[49]?2022 (in beta)Blogging, event management, file sharing,instant messaging
Loops31,900[50]2025 (in beta)[51]Video sharing (short-video sharing)
Mastodon7,960,0002017[52]Blogging
Mobilizon76,9002020Event management, groups
mbin[53]6,9502023Social newskbin
Micro.blog198,0002021[54]Microblogging
Misskey1,052,5112018[55]Blogging
NodeBB2,750,0002025[56]Internet forum
PeerTube[57]473,0002018Video sharing
PieFed5,330[58]2023[59]Social news
Pixelfed[60]857,0002018Image sharing
Pleroma52,0002018[61]Blogging
Plume[62]24,4002018[63]Blogging
Sharkey[64]23,1002023BloggingMisskey
Snac[65]3,0702022[66]Blogging
Socialhome3,0002016[67]Blogging
Threads130,000,000[68]2023[69]Blogging
Wafrn[70]2,4802023Blogging
WordPress[71][72]29,100 in 6,000+ blogs[73]2023[74]Blogging
WriteFreely73,2002018[75]Blogging

Future implementations

[edit]

Uncertain future implementations

[edit]
  • GitLab, a Gitforge and development platform which had previously had an open issue discussing the topic, but was later closed due to the development team moving focus to other areas.[78]
  • Tumblr, a microblogging platform. Despite previous statements fromAutomattic CEOMatt Mullenweg,[79][80][81] ActivityPub integration has been delayed indefinitely. The integration would have been implemented with its WordPress migration, as the first-party plugin for interoperability would have been used for federation.[82]
  • Flickr, an image and video hosting site.[83]

See also

[edit]

References

[edit]
  1. ^"FAQ".AT Protocol. RetrievedJune 20, 2024.
  2. ^"W3C Recommendation 23 January 2018".
  3. ^Pierce, David (February 7, 2024)."The fediverse, explained".The Verge. RetrievedJune 20, 2024.
  4. ^w3c/activitypub, World Wide Web Consortium, June 20, 2024, retrievedJune 22, 2024
  5. ^"Sandstorm and the Social Web".zenhack.net. May 29, 2016. Archived fromthe original on October 30, 2020. RetrievedSeptember 23, 2017.
  6. ^"Social Web Working Group".W3C. RetrievedJune 23, 2024.
  7. ^"ActivityPub Specification".W3C. January 23, 2018. RetrievedJune 22, 2024.
  8. ^"ActivityPub Conf 2019". Archived fromthe original on March 8, 2021. RetrievedAugust 1, 2020.
  9. ^"ActivityPub Conf 2020". Archived fromthe original on June 2, 2021. RetrievedAugust 1, 2020.
  10. ^"W3C Social Web Incubator Community Group Mailing List". RetrievedMarch 18, 2024.
  11. ^"ActivityPub Test Suite".Sovereign Tech Fund. RetrievedMay 26, 2024.
  12. ^"Pleroma Encyclical: ActivityPub".blog.soykaf.com. February 10, 2018. RetrievedJune 23, 2024.
  13. ^MacManus, Richard (November 15, 2022)."Devs Are Excited by ActivityPub, Open Protocol for Mastodon".The New Stack. RetrievedJune 23, 2024.
  14. ^Perez, Sarah (November 21, 2022)."Tumblr to add support for ActivityPub, the social protocol powering Mastodon and other apps".TechCrunch. RetrievedJune 23, 2024.
  15. ^McCue, Mike (December 18, 2023)."Flipboard Begins to Federate".Flipboard. RetrievedJune 23, 2024.
  16. ^Guinness, Harry (July 12, 2023)."How ActivityPub is setting the stage to weave all your social media feeds together".Popular Science. RetrievedJune 23, 2024.
  17. ^Su, Christopher; Blackstein, Simon (March 21, 2024)."Threads has entered the fediverse".Engineering at Meta. Meta. RetrievedSeptember 6, 2025.
  18. ^Perez, Sarah (June 17, 2025)."Threads expands open social web integrations with fediverse feed, user profile search".TechCrunch. RetrievedSeptember 6, 2025.
  19. ^"Please Don't Share Our Links on Mastodon: Here's Why!".It's FOSS News. May 1, 2024. RetrievedJune 18, 2024.
  20. ^Balkan, Aral (November 9, 2022)."Is the fediverse about to get Fryed? (Or, 'Why every toot is also a potential denial of service attack')".ar.al. RetrievedJune 18, 2024.
  21. ^"FAQ | AT Protocol".atproto.com. RetrievedJune 20, 2024.
  22. ^fediverse."FEP-7628".Codeberg.org. RetrievedJune 20, 2024.
  23. ^Wave, Setsune (December 17, 2023)."This is a serious problem the fediverse has..."Furries.club. RetrievedJune 18, 2024.
  24. ^Armando, Armando (June 19, 2024)."I think one of the things that most annoy newcomers to the #Fediverse is..."Fedia.Social. RetrievedJune 19, 2024.
  25. ^Nedelcu, Alexandru (December 21, 2022)."Missing replies · Mastodon · Discussion #22608".GitHub. RetrievedJune 18, 2024.
  26. ^Prodromou, Evan (June 19, 2024)."All of that information is available through ActivityPub..."CoSocial. RetrievedJune 19, 2024.
  27. ^"Fediverse Observer".fediverse.observer. RetrievedJune 22, 2024.
  28. ^"FediDB, Fediverse Network Statistics".fedidb.org. RetrievedJune 22, 2024.
  29. ^"Akkoma: A vision to refocus Pleroma".Coffee and Dreams. June 24, 2022.Archived from the original on July 1, 2023. RetrievedJuly 25, 2023.
  30. ^bookwyrm."Bookwyrm".Archived from the original on May 26, 2021. RetrievedMay 26, 2021.
  31. ^"BookWyrm (@bookwyrm@tech.lgbt)".LGBTQIA+ Tech Mastodon. May 6, 2021.Archived from the original on July 25, 2023. RetrievedJuly 25, 2023.
  32. ^"Castopod Index".index.castopod.org. RetrievedMay 2, 2025.
  33. ^"Release v1.0.0-alpha.1: chore(release): 1.0.0-alpha.1 [skip ci] · ad-aures/castopod".GitHub.Archived from the original on July 25, 2023. RetrievedJuly 25, 2023.
  34. ^"Discourse and the Fediverse!".Discourse. April 23, 2025. RetrievedMay 11, 2025.
  35. ^"firefish".Codeberg.org.Archived from the original on July 26, 2023. RetrievedJuly 26, 2023.
  36. ^Perez, Sarah (May 23, 2023)."Flipboard becomes first app to support Bluesky, Mastodon and Pixelfed all in one place".TechCrunch. RetrievedJuly 7, 2023.
  37. ^"Twitter, Who? Flipboard Adds Mastodon Features, Pushing Further Into Social Networking".CNET. RetrievedJune 23, 2024.
  38. ^"Flipboard is pivoting to ActivityPub and the fediverse".The Verge. December 18, 2023.
  39. ^McCue, Mike (December 19, 2023)."Flipboard Begins to Federate".Medium. RetrievedJanuary 2, 2024.
  40. ^"Friendica 2019.01 released". RetrievedJanuary 24, 2019.
  41. ^Collective, Funkwhale."Funkwhale Blog ~ Funkwhale 0.17 is out!".blog.funkwhale.audio.Archived from the original on July 25, 2023. RetrievedJuly 25, 2023.
  42. ^"Home".Gancio.Archived from the original on July 24, 2023. RetrievedJuly 24, 2023.
  43. ^"v0.21.0 · les / gancio · GitLab".GitLab.Archived from the original on July 25, 2023. RetrievedJuly 25, 2023.
  44. ^Ahooja, Anuj (April 22, 2024)."Substack Competitor Ghost Announces ActivityPub Integration".We Distribute. RetrievedApril 28, 2024.
  45. ^Patel, Nilay (April 22, 2024)."Newsletter platform Ghost adopts ActivityPub to 'bring back the open web'".The Verge. RetrievedSeptember 9, 2024.
  46. ^"Social web (beta)".Changelog. April 1, 2025. RetrievedMay 10, 2025.
  47. ^"Hubzilla - Frequently asked questions".hubzilla.org.Archived from the original on July 25, 2023. RetrievedJuly 25, 2023.
  48. ^"Lemmy - ActivityPub for link aggregation".nlnet.nl. RetrievedJune 5, 2023.
  49. ^"Libervia progress note 2022-W45".salut-a-toi.org. November 2022.
  50. ^"fedidb.com/software/loops".FediDB.com. RetrievedDecember 5, 2025.
  51. ^Supernault, Daniel (October 14, 2025)."Loops Joins the Fediverse".Loops Official Blog. RetrievedDecember 5, 2025.We're excited to announce that Loops now federates with the fediverse. After months of development, ActivityPub support has officially entered beta. Your loops can now travel across the open social web.
  52. ^"Release v1.6.0 · mastodon/mastodon".GitHub. RetrievedJune 22, 2024.
  53. ^MbinOrg/mbin, Mbin, June 22, 2024, retrievedJune 23, 2024
  54. ^"ℹ️ Mastodon and ActivityPub".Micro.blog Help Center. March 8, 2021. RetrievedJune 22, 2024.
  55. ^"ActivityPub対応国産SNS「Misskey」、LTLも実装".
  56. ^Tilley, Sean (January 20, 2025)."NodeBB Officially Joins the Fediverse".We Distribute. RetrievedFebruary 12, 2025.
  57. ^"Server-Server - ActivityPub implementation reports". RetrievedJanuary 2, 2019.
  58. ^"FediDB Software Details".fedidb.com. RetrievedDecember 8, 2025.
  59. ^"Blog - Page 3 of 3". December 11, 2023.
  60. ^Krasnoff, Barbara (August 2022)."Eight photo-centric social sites that are not Instagram".The Verge.
  61. ^"ActivityPub in Pleroma".blog.soykaf.com. March 4, 2018. RetrievedJune 22, 2024.
  62. ^joinplu.me."Plume".Archived from the original on May 10, 2019. RetrievedMay 2, 2019.
  63. ^"Release 0.2.0 (Alpha 1) · Plume-org/Plume".GitHub.Archived from the original on July 25, 2023. RetrievedJuly 25, 2023.
  64. ^"FediDB, Fediverse Network Statistics".fedidb.org. RetrievedMarch 9, 2025.
  65. ^"Snac - A simple, minimalistic ActivityPub instance written in portable C".snac2. RetrievedApril 19, 2024.
  66. ^grunfink."snac2".Codeberg.org. RetrievedJuly 2, 2024.
  67. ^"Release v0.1.1: Merge pull request #6 from jaywink/travisify · jaywink/socialhome".GitHub.Archived from the original on July 25, 2023. RetrievedJuly 25, 2023.
  68. ^Perez, Sarah (February 2024)."Threads now reaches more than 130 million monthly users, says Meta, up 30M from Q3".TechCrunch. Archived fromthe original on February 2, 2024. RetrievedFebruary 1, 2024.
  69. ^Davis, Wes (December 13, 2023)."Threads is officially starting to test ActivityPub integration".The Verge. RetrievedJune 22, 2024.
  70. ^García, Gabriel Amador (June 21, 2024),gabboman/wafrn, retrievedJune 22, 2024
  71. ^"ActivityPub for WordPress".Github. RetrievedJuly 7, 2023.
  72. ^"Engage a Wider Audience With ActivityPub on WordPress.com".WordPress. RetrievedOctober 12, 2023.
  73. ^Pfefferle, Matthias; Automattic."ActivityPub".WordPress.org. RetrievedJune 23, 2024.
  74. ^Sato, Mia (October 11, 2023)."WordPress now offers official support for ActivityPub".The Verge. RetrievedJune 23, 2024.
  75. ^WriteFreely (November 10, 2018)."Hello, World".WriteFreely. RetrievedJune 22, 2024.
  76. ^"Federation extension - Flarum Community".discuss.flarum.org. RetrievedFebruary 7, 2026.
  77. ^"First forgejo monthly update - December 2022".forgejo.org. December 26, 2022. RetrievedAugust 29, 2023.
  78. ^"Support ActivityPub for merge requests (&11247) · Epics · GitLab.org · GitLab".GitLab. RetrievedJuly 2, 2025.
  79. ^Perez, Sarah (November 21, 2022)."Tumblr to add support for ActivityPub, the social protocol powering Mastodon and other apps".TechCrunch. RetrievedDecember 19, 2023.
  80. ^Perez, Sarah (December 11, 2023)."Tumblr's 'fediverse' integration is still being worked on, says owner and Automattic CEO Matt Mullenweg".TechCrunch. RetrievedDecember 19, 2023.
  81. ^Perez, Sarah (February 11, 2025)."Tumblr to join the fediverse after WordPress migration completes".TechCrunch. RetrievedFebruary 12, 2025.
  82. ^Peters, Jay (June 30, 2025)."Tumblr's move to WordPress and fediverse integration is 'on hold'".The Verge. RetrievedJuly 3, 2025.
  83. ^Perez, Sarah (November 30, 2022)."Flickr weighs support for ActivityPub, the social protocol powering Twitter alternative Mastodon".Tech Crunch. RetrievedFebruary 5, 2026.

External links

[edit]
Wikimedia Commons has media related toActivityPub.
ActivityPub network
diaspora* network
Other networks
Products,
standards
Recommendations
Notes
Working drafts
Guidelines
Initiative
Deprecated
Obsoleted
Groups,
organizations
Elected
Working
Community, business
Closed
Software
Browsers
Conferences
Retrieved from "https://en.wikipedia.org/w/index.php?title=ActivityPub&oldid=1337103483"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp