# P2P





P2P is the peer-to-peer building blocks: [Hypercore](/p2p/reference/building-blocks/hypercore) for append-only logs, [Hyperbee](/p2p/reference/building-blocks/hyperbee) and [Hyperdrive](/p2p/reference/building-blocks/hyperdrive) built on top of it, [Hyperswarm](/p2p/reference/building-blocks/hyperswarm) and [HyperDHT](/p2p/reference/building-blocks/hyperdht) for finding peers, [Autobase](/p2p/reference/building-blocks/autobase) for multi-writer collaboration, and [Corestore](/p2p/reference/helpers/corestore) for managing many cores at once. Each one is an ordinary JavaScript module with no special status—install it with npm and use it like any other dependency.

They run on [Bare](/bare), the zero-core JavaScript runtime, which is why the same storage and networking code works unchanged on desktop, mobile, or terminal. And they're what [Pear](/), the peer-to-peer platform, is built on top of—if you want to ship what you build here as an app with over-the-air updates, that's what Pear adds.

<ProductRelationship active="p2p" />

## Where to go next [#where-to-go-next]

<Cards>
  <Card href="/p2p/getting-started" title="Getting started" description="A type-along tutorial: build a peer-to-peer chat app from five files, then reshape it into a production scaffold." />

  <Card href="/p2p/how-to/connect-to-peers" title="Connect to peers" description="Dial a peer by key with HyperDHT, or join topics with Hyperswarm." />

  <Card href="/p2p/how-to/store-and-replicate" title="Store and replicate" description="Persist and replicate with Hypercore, manage many cores with Corestore, and share databases with Hyperbee." />

  <Card href="/p2p/reference/building-blocks/hypercore" title="Primitives" description="Hypercore, Hyperbee, Hyperdrive, Autobase, HyperDHT, and Hyperswarm—the reference for every module." />

  <Card href="/p2p/explanation/how-the-stack-fits-together" title="How the stack fits together" description="From the native C foundations up through Bare, the building blocks, and Pear to the apps you run." />

  <Card href="/pear/getting-started" title="Ship it with Pear" description="Peer-to-peer app distribution, over-the-air updates, and a CLI to stage and release—running on the same core you build here." />
</Cards>
