# Client-side vs server-side logic

**URL:** <https://discuss.coding.social/t/client-side-vs-server-side-logic/247>\
**Category:** Commons based social stack\
**Tags:** fediverse\
**Created:** [February 2, 2023, 4:22pm UTC](https://discuss.coding.social/t/client-side-vs-server-side-logic/247 "2023-02-02T16:22:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![aschrijver](https://discuss.coding.social/user_avatar/discuss.coding.social/aschrijver/32/3_2.png) [@aschrijver](https://discuss.coding.social/u/aschrijver)\
**Post date:** [February 10, 2023, 11:52am UTC](https://discuss.coding.social/t/client-side-vs-server-side-logic/247/4 "2023-02-10T11:52:00Z")

</div>

Here is a recent blog by Anthony Wang about Client-to-Server ActivityPub on the Fediverse:

> **[We’re Missing Half ActivityPub’s Potential!](https://unnamed.website/posts/missing-half-activitypub-potential/)**
>
> Why client-to-server ActivityPub could be the future

> C2S offers a standardized way for clients or bots to interact with ActivityPub servers and data stored on that server. In an alternate universe, imagine if all your ActivityPub server did was store data and handle messaging and forwarding. Now let’s say we want to implement something like PeerTube. We’d split it into two parts: a client app and a processing app. The client app can be either a website or a normal app, which people use to view videos, comment, like, whatever via C2S. The processing app can be a bot that handles stuff like transcoding videos. Crucially, the processing app can _also_ use C2S. It’s basically just a bot.
> 
> It gets better. Have you ever been frustrated about having a Mastodon account and a PeerTube account and a Forgejo account and a Lemmy account and so on? With this system, you just need one account, and all the processing apps operate on the data of your one account. Boom. Problem solved.
> 
> It’s also compatible with the ActivityPub spec and existing implementations. Hooray!

Though the site is currently down, Anthony is involved in an MIT project looking at C2S, called [Graffiti](https://graffiti.garden/).

---

_[View the full topic](https://discuss.coding.social/t/client-side-vs-server-side-logic/247)._
