Skip to content

Ask HN: What tools and architecture would help build a self-hosted Facebook?

4 pointsFourSigma2 comments
On HN

For example, the LAMP stack is sufficient to self-host blogs (Wordpress). What stack and architecture would be needed to recreate the basic functionality of Facebook (posts, photos, videos, and messages)?

Comments

The technical stack matters very little: you can do the necessary things with almost any webdev stack.

IMHO, federation is important if you want to replace Facebook and not just build a small-scale hub (which is a totally valuable thing to do too!), and for that you're going to need common protocols. Mastodon gets a lot of it right for making a Twitter-like, but there is no reason you couldn't build a Facebook-like on the same protocols (ActivityPub) too.

There was a big project call Diaspora to do exactly this several years ago and it fell apart.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.