# gfodor/p2pcf

Low cost, low effort P2P WebRTC serverless signalling using Cloudflare Workers

Repository: https://github.com/gfodor/p2pcf
Canonical: https://ross.abutalabs.com/products/p2pcf
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-11-23T00:13:10+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1498, "days_push": 1015, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1064, forks 68 (observed 2026-08-28T04:03:26.542813+00:00)

## What it is
P2PCF is a JavaScript library that provides low-cost, serverless WebRTC signalling using a Cloudflare Worker and R2 bucket. It offers room-based peer connections with minimal signalling messages, handing back tiny-simple-peer instances for direct P2P communication.

## Use cases
- add peer-to-peer WebRTC connections to a web app without running a signalling server
- build a browser-based video chat with minimal backend cost
- deploy a multiplayer or file-sharing app using free Cloudflare Workers
- replace WebTorrent tracker-based signalling with a self-hosted worker
- connect peers in rooms with simple client and room IDs

## When to choose
- you want WebRTC signalling with near-zero cost and no server maintenance
- you are already on Cloudflare and can deploy a Worker and R2 bucket
- you need simple room-based P2P connections in the browser

## When to avoid
- you need a proven, large-scale signalling solution with broad community support
- your app requires non-WebRTC transports or heavy server-side logic
- you cannot use Cloudflare Workers due to platform constraints

## Facets
- artifact type: library
- maturity: maintenance
- function: websocket, networking, p2p, http-server
- domain: web-development, networking, developer-tools
- platform: cloud, browser
- tags: webrtc, signalling, cloudflare-workers, serverless, p2p, r2, web-server, nodejs

## Member repositories
- gfodor/p2pcf (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.542813+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:56:04.175612+00:00, confidence not recorded.
  - readme: https://github.com/gfodor/p2pcf (fetched 2026-08-28T04:03:26.542813+00:00, sha 4df76151de09)
  - registry_npm: https://registry.npmjs.org/p2pcf (fetched 2026-08-29T12:57:41.295757+00:00, sha 7e055ef6a520)
- Data as of 2026-08-30T08:39:29.467469+00:00.
