Skip to content

weavedb/w

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

W - Decentralized Social on WeaveDB

W is a fully decentralized social platform built on top of WeaveDB.

It is a complete, functional alternative to X.

With WeaveDB, building apps is insanely simple. All it takes is 4 JSON configuration files.

That’s it. No smart contracts. No backend infrastructure. The entire equivalent of X can be defined in just a few hundred lines of JSON. The database itself is the smart contract — it handles code as data.

This radical simplicity is perfectly aligned with LLMs like Claude and ChatGPT. An LLM can build a fully functional, complex social app backend in under three minutes. Yes, you don't even have to write it.

Running App Loccaly

You should be running a weavedb rollup node on your local machine.

Set up DB

Clone the repo.

git clone https://github.com/weavedb/w.git
cd w/db && yarn

Deploy a database.

yarn deploy --wallet PATH_TO_WALLET

Note the database ID.

Initialize the DB.

yarn initdb --wallet PATH_TO_WALLET --id DB_ID

The owner account is registered, and given 100 invites.

Run App

Go to the app directory and install dependencies.

cd ../app && yarn

Create .env.local.

NEXT_PUBLIC_DB_ID="xyz"
NEXT_PUBLIC_ROLLUP="http://localhost:6364"
NEXT_PUBLIC_HB="http://localhost:10001"
NEXT_PUBLIC_SCAN="http://localhost:4000"
NEXT_PUBLIC_MODE="open"

Run the app.

yarn dev

Now, W is running at localhost:3000.

App Building as Protocol

WeaveDB is not about building one gigantic social network like X. It’s about creating a mesh of database/app instances.

It’s the protocolization and democratization of social app building. Anyone can launch their own network. Thousands of W instances can exist, each fully sovereign but interoperable, each fully decentralized.

With WeaveDB, social platforms aren’t monopolies — they’re ecosystems. This is the paradigm shift in app development. WeaveDB will ignite a Cambrian explosion of decentralized apps.

W is just the first. All web2 apps will be protocolized.

About

Social where U and Urs Weave.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published