# ActivityPub integration with IPFS

**URL:** <https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081>\
**Category:** Ecosystem and Usage\
**Created:** [October 18, 2018, 9:02pm UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081 "2018-10-18T21:02:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MirceaKitsune](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/mirceakitsune/32/1610_2.png) [@MirceaKitsune](https://discuss.ipfs.tech/u/MirceaKitsune)\
**Post date:** [October 18, 2018, 9:02pm UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/1 "2018-10-18T21:02:44Z")

</div>

One of my ambitions has been to see a decentralized and serverless social media platform, up to the same quality standards as Twitter and Facebook. Using IPFS and OrbitDB this dream is now much closer to becoming a reality. I wanted to bring up one important subject in this regard: The ActivityPub protocol, and how IPFS can interact with it.

> **[ActivityPub](https://en.wikipedia.org/wiki/ActivityPub)**
>
> ActivityPub is an open, decentralized social networking protocol based on Pump.io's ActivityPump protocol. It provides a client/server API for creating, updating and deleting content, as well as a federated server-to-server API for delivering notifications and content.
> ActivityPub is a standard for the Internet in the Social Web Networking Group of the World Wide Web Consortium (W3C). At an earlier stage, the name of the protocol was "ActivityPump", but it was felt that ActivityPub better indica...

I have been following the Mastodon social media platform. It is decentralized but not so much serverless: You need to jump through quite a few loops to setup an instance on your computer, while a central server still maintains the database and handles much of the processing. I’ve briefly asked the team to what extent it could be made serverless and was introduced to AP. ActivityPub is a standardized API for social media: It’s a way to create, modify and delete content across different platforms. It makes it easier for multiple products to communicate with one another and share certain data, which will be a huge bonus as more decentralized platforms emerge.

My question is: To what extent can OrbitDB (or another form of storage over IPFS) integrate ActivityPub support? Would it be possible to create a module that allows browsers to translate ActivityPub requests into entries stored into a distributed database? It does feel like the [Orbit docstore](https://github.com/orbitdb/orbit-db-docstore) would be the best candidate for such a thing: It can create, modify, remove and index entries which should be exactly what the API expects. The data is stored as a JS object, and thanks to indexing every request should be easy and efficient to address.

If such a tool could be developed, fully decentralized social media might be a great step closer to becoming possible. Right now you still need to run a server, but with such an approach you could have an entire Twitter alternative running entirely in the web browsers of users! IPFS can already handle media storage, but storing the dynamic user data without using a server remains a problem… this may very well fix that final limitation. What are your thoughts on this?

---

<div class="post-metadata">

**Author:** ![josselinchevalay](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/josselinchevalay/32/3078_2.png) [@josselinchevalay](https://discuss.ipfs.tech/u/josselinchevalay)\
**Post date:** [October 19, 2018, 6:37am UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/2 "2018-10-19T06:37:07Z")

</div>

intresting think about that. maybe we can be create a thread about that because we have some developpers in this community wish create that. maybe can be intresting to mutualize this ressources. for example here we talk another approach for that : [Tim Berners-Lee SOLID project maybe implementation with IPFS?](https://discuss.ipfs.tech/t/tim-berners-lee-solid-project-maybe-implementation-with-ipfs/3997)

maybe a common thread to expose ideas and approach can be intresting.

Regards

---

<div class="post-metadata">

**Author:** ![crockwave](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/crockwave/32/1607_2.png) [@crockwave](https://discuss.ipfs.tech/u/crockwave)\
**Post date:** [January 5, 2019, 6:17pm UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/3 "2019-01-05T18:17:07Z")

</div>

A common thread might be good, as I am also interested in developing distributed social media. I will try to start a thread.

---

<div class="post-metadata">

**Author:** ![MirceaKitsune](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/mirceakitsune/32/1610_2.png) [@MirceaKitsune](https://discuss.ipfs.tech/u/MirceaKitsune)\
**Post date:** [January 5, 2019, 8:37pm UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/4 "2019-01-05T20:37:33Z")

</div>

I’ve followed your thread and also posted a longer reply there, thank you. I’ve been wanting to create something like this for a while but didn’t for two reasons: I’m busy with a ton of existing projects, and am waiting for OrbitDB to merge their new access branch which is a necessity for the idea I had in mind (allows owners to add / remove new owners in databases without duplicating them). Perhaps you can help start this initiative; It’s likely someone else will get to my idea before I can.

---

<div class="post-metadata">

**Author:** ![scenaristeur](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/scenaristeur/32/3992_2.png) [@scenaristeur](https://discuss.ipfs.tech/u/scenaristeur)\
**Post date:** [June 13, 2020, 10:48pm UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/5 "2020-06-13T22:48:20Z")

</div>

Hi guys I come from Solid and I’ve implement some tests to run ActivityPub like protocole [https://forum.solidproject.org/t/discussion-solid-vs-activitypub/2685/32](https://forum.solidproject.org/t/discussion-solid-vs-activitypub/2685/32)  
and @happybeing as implented solid on Safe network…  
I’m just discovering Ipfs but perhaps could help.  
I’m not often of this forum, so if you want to know more , poke me on Solid forum as @smag0

---

<div class="post-metadata">

**Author:** ![wclayf](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/wclayf/32/4936_2.png) [@wclayf](https://discuss.ipfs.tech/u/wclayf)\
**Post date:** [August 6, 2020, 3:27am UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/6 "2020-08-06T03:27:41Z")

</div>

I’ve created a complete platform that covers a lot of this ground. It’s not currently “decentralized” other than it does upload to and read from IPFS. Most of the code in it is actually related to the mechanics of doing wiki-type stuff and social media stuff, but I want it to become “The Linux of Social Media”. That is, it will be the platform anyone can install, and get an IPFS-enabled wiki or social media platform running as a part of Web3.0.

The project has been evolving for years actually, as my primary side project, but just now is ready to maybe let some adventurous souls try it out. Take the red pill. Go try it if you want:

[https://quanta.wiki](https://quanta.wiki)

I’d love to build out a lot of ActivityPub support into it. Ping me if interested.

---

<div class="post-metadata">

**Author:** ![Luke](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Luke](https://discuss.ipfs.tech/u/Luke)\
**Post date:** [August 7, 2020, 7:35pm UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/7 "2020-08-07T19:35:18Z")

</div>

Clay, this is great!

Any chance you’d be open to a call to discuss your experience a bit further? I’m interested in a similar project and would like to run it by you or possibly partner.

[luke@g4lt.co](mailto:luke@g4lt.co)

---

<div class="post-metadata">

**Author:** ![wclayf](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/wclayf/32/4936_2.png) [@wclayf](https://discuss.ipfs.tech/u/wclayf)\
**Post date:** [May 27, 2021, 3:01pm UTC](https://discuss.ipfs.tech/t/activitypub-integration-with-ipfs/4081/8 "2021-05-27T15:01:40Z")

</div>

Hey everybody, I created a Matrix room for ActivityPub developers:

> **[Element](https://app.element.io/#/room/%23activity-pub-devs:matrix.org)**
