React Hooks
@bitsocial/bitsocial-react-hooks gives React apps a hooks API for the Bitsocial protocol: feeds, comments, communities, author profiles, accounts, and publishing, without a central server. 5chan and Seedit are built on it.
The library has its own documentation site, updated with every release: hooks.bitsocial.net.
Installation
npm install @bitsocial/bitsocial-react-hooks
The package supports React 16.8 and later.
Where to start
- Quickstart: render your first community feed.
- Concepts: how feeds, local accounts, shared state, and publishing fit together.
- API reference: every hook with its options and return values.
- Playground: edit live examples that run on simulated content.
- Build with AI:
llms.txtand Markdown versions of every page for coding agents.
Links
- Documentation: hooks.bitsocial.net
- npm: @bitsocial/bitsocial-react-hooks
- GitHub: bitsocialnet/bitsocial-react-hooks
- License: GPL-3.0-or-later