LogoPear Docs

How To

Goal-oriented recipes for getting things done with Pear. Each guide solves one specific problem from start to finish.

How-tos are goal-oriented recipes. Each one assumes you already know roughly what you're doing and just need the steps for a particular task — replicating a Hypercore, deploying an app, or troubleshooting common issues.

If you want to look up a CLI flag, an API, or a config field, that's Reference. For the conceptual "why," see About Pear.

Start here

Many recipes below build on one of two starting points. Chat-focused guides extend the pear-chat scaffold (Electron shell, Bare worker, Autobase-backed chat room) built step by step in the Getting Started path — see Reshape into a production app. Guides that don't need chat start from the bare hello-pear-electron template (the same Electron + Bare worker shell, without the chat room). Each guide states its base up front. If you're new, work through Getting Started first so you understand each piece before adapting it.

In this section

Several guides below extend a base scaffold — either the pear-chat app from the Getting Started path or the hello-pear-electron template — with one capability at a time. They teach Pear-end logic — the code in the Bare worker, not the UI — so the same worker is portable across desktop, mobile, and terminal; only the UI half changes per platform (see Runtime and languages).

Connecting peers

Storage and replication

Managing identity

Stream and share media

Releasing & distributing your app

CI / GitHub Actions

Build & package

Manual deployment

Multisig

Maintenance

On this page