Skip to content
Pear

News 2 min read

Hello Pear Boilerplates

What if a terminal application could update itself without relying on servers, package registries, or centralized infrastructure? Introducing Hello Pear Bare, a new boilerplate for building standalone Bare executables with peer-to-peer over-the-air updates built in. Package your application and runtime into a single binary, distribute it anywhere, and let updates flow directly between peers. This article explores the architecture behind the next generation of peer-to-peer software distribution.

Pears News

Hello Pear Boilerplates

Over many iterations between Keet and Pear we’ve distilled our proven peer-to-peer deployment architecture with the pear-runtime module for peer-to-peer over-the-air updates into a quick start boilerplate for P2P Desktop Applications: Hello Pear Electron. 

Announcing Hello Pear Bare, a quick start boilerplate for P2P Terminal Applications – standalone Bare executables with peer-to-peer over-the-air updates.

With this boilerplate we can make CLIs, REPLs, TUIs, daemons, services, transport hooks and more with P2P OTA update capabilities.

Where the Hello Pear Electron boilerplate embeds pear-runtime into Electron, the Hello Pear Bare boilerplate embeds it into Bare, the zero-core embeddable JavaScript runtime.

Application and runtime compile into a single standalone binary executable per OS & architecture with no peer dependencies - no reliance on Node.js, no need for Bare or Pear CLI to be installed on the user system. Updates are deployed peer-to-peer with Pear CLI and the standalone executables are replaced on user machines by the pear-runtime module.The standalones can be distributed via usual channels (website, apt-get, brew..) and in the next Pear CLI update they can be installed peer-to-peer with pear install pear://<key> - use npx pear-install pear://<key>  to preview.

The upcoming next major release of Pear CLI (v3) uses this exact architecture - it’s a Bare runtime standalone executable with P2P OTA updates via the pear-runtime module deployed with Pear CLI itself.

Follow the hello-pear-bare Readme to get started.

We're excited to see what emerges from the ecosystem community.

Keep an eye out for future Pear Boilerplates, Hello React Native Boilerplate for peer-to-peer over-the-air updates on mobile is in the works.

Join us in the Pear Development group on Keet to catch up, ask any questions, and show us what you’re working on.

Office hour runs Wednesdays at 16:00 CET/CEST for dedicated Pear team response, but ask a question any time and help generally arrives.

Share

Latest articles

View all articles

News

15 SEPT 2026

Pear Mobile: Deploy P2P OTA Updates to React-Native Apps

Pear mobile OTA updates are here. `pear-mobile` and `pear-runtime-react-native` bring peer-to-peer over-the-air updates to React Native applications on iOS and Android, deployed with the same Pear CLI flow that ships terminal binaries and desktop applications. An update carries the JavaScript bundle and arrives from peers. This article covers the architecture, the version rules that keep native and OTA releases in step, and how to quickly get started.

Read more

News

03 AUG 2026

Ecosystem Spotlight: swap - evergreen one-shot atomic exchange CLI

Ship a command as a standalone binary that updates itself peer-to-peer. swap is an applied demonstration of a peer-to-peer installable self-updating single-operation program. This is the first in our Ecosystem Spotlight series, looking at the libraries, tools and applications growing out of the Ecosystem of Pears.

Read more