Initial commit: Holepunchto Ecosystem Analysis
This repository contains a comprehensive analysis of the holepunchto
P2P ecosystem (529 repositories) with semantic mappings, skills
documentation, and tools for building P2P applications.
## Contents
### Phase 1A: Repository Metadata Analysis
- Analyzed all 529 repos via GitHub API
- Built dependency graph with reverse dependencies
- Extracted runtime classification (bare, pear, node, universal)
- Generated maturity index (stars, activity, status)
- Created skills.md for each repo (529 files)
### Phase 1B: Deep Code Analysis
- Cloned and analyzed 12 core repos (Tier 1 & 2)
- Extracted API surfaces from code
- Detected P2P patterns
- Enhanced skills.md with usage examples
- Building blocks: hypercore, hyperbee, hyperdrive, autobase, hyperdht, hyperswarm
- Helpers: corestore, localdrive, mirror-drive, compact-encoding, protomux, secret-stream
### Documentation
- PEAR_DOCS_DEEP_DIVE.md - Official taxonomy analysis
- PHASE_1A_REVIEW.md - Data quality review
- PHASE_1A_FIXES_VALIDATION.md - Bug fixes validation
- PHASE_1B_PLAN.md - Deep analysis implementation plan
- PHASE_1B_PROGRESS.md - Progress report
- CLEANUP.md - Post-completion cleanup tasks
### Data Files
- dependency-graph.json - Full dependency map with reverse deps
- tech-stack.json - Runtime and language classification
- maturity-index.json - Repository maturity metrics
- repo_map.json - All 529 repos with metadata
- tiers.json - Analysis tier definitions
### Scripts
- process_repos.js - Phase 1A automation
- clone_and_analyze_tier.js - Phase 1B automation
### Git Submodules
12 repositories added as submodules (optional to clone):
- repos/tier1/* - 6 core building blocks
- repos/tier2/* - 6 helper libraries
Users can clone this repo without submodules for just the knowledgebase,
or selectively init submodules as needed.
## Architecture
Based on official pear-docs taxonomy:
- Building Blocks: Core P2P primitives
- Helpers: Support libraries
- Pear Modules: Application runtime
- Bare Modules: JavaScript runtime standard library
- Tools: CLI applications
- Infrastructure: Supporting libraries
## Usage
Clone without submodules (lightweight):
git clone <url>
Clone with all submodules:
git clone --recurse-submodules <url>
Init specific submodule:
git submodule update --init repos/tier1/hypercore
## Statistics
- Total repos analyzed: 529
- Skills.md files: 529
- Deep analysis: 12 repos
- Patterns detected: 8 types
- Runtime detection: 49.5% success rate
- Disk usage (with submodules): ~11MB
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
30a9b1ecd556cc56b447cbe19b7a1863ca62dd7d
by plankatron <fleeky@gmail.com> · 2026-01-16T23:29:36.000Z