LogoPear Docs

Start from a template

Two official Pear boilerplates to start from—hello-pear-electron for desktop GUI apps and hello-pear-bare for standalone terminal binaries, both with peer-to-peer over-the-air updates. Pick the one that matches what you're shipping.

The fastest way to a production-shaped app is to clone an official boilerplate and learn where each piece lives. Both embed pear-runtime for peer-to-peer over-the-air updates—pick the one that matches what you're shipping.

Which one?

  • Building a desktop GUI? Start from hello-pear-electron—it ships a renderer and the preload bridge that connects your UI to peer-to-peer logic in a Bare worker.
  • Building a CLI, daemon, or other headless tool? Start from hello-pear-bare—it compiles to a single standalone binary per OS and architecture.

Both share the same peer-to-peer core: the Bare runtime, pear-runtime for updates, and the Hyperswarm + Corestore stack. Your peer-to-peer logic is portable between them—only the shell (GUI versus terminal) changes. See Runtime and languages.

Where to go next

On this page