DEV Community

HAZAR BİLGİN
HAZAR BİLGİN

Posted on

I Built a Decentralized P2P PaaS to Host Web & AI Apps on Idle Home PCs (NeighborHost)

Hey everyone! 👋

Like many indie developers, I noticed a huge inefficiency in the way we deploy web and AI applications today:

  1. The Cloud Problem: Big cloud platforms (Vercel, AWS, Render) charge premium monthly markups and impose tight serverless execution limits (10s timeouts, cold starts, surprise bandwidth bills).
  2. The Idle Hardware Problem: Meanwhile, millions of high-performance gaming PCs, Macbooks, and homelabs sit idle for 18+ hours a day around the world.

So over the past few months, I built and launched NeighborHost — a decentralized peer-to-peer PaaS platform.


💡 How It Works

1. 🖥️ For Hardware Hosts (Monetize Idle PCs)

If you have a home PC or homelab, you can install our lightweight daemon (Windows / Linux / Mac):

  • Earn 70% Net Revenue: You get 70% of every app subscription hosted on your machine (up to $400+ / mo).
  • 100% Safe Sandbox: Applications run in isolated PM2 process containers without accessing your files or host OS.
  • Zero Configuration: No static IP or router port-forwarding required. All traffic is tunneled through encrypted reverse WebSockets.

👉 Join as a Host: https://neighborhost.com/register?role=host


2. 🚀 For Developers (Ultra-Affordable, Real 24/7 Hosting)

  • 70% Cheaper: Plans start at ~₺250 / $7/month with fair unmetered bandwidth.
  • Persistent Long-Running Processes: No 10-second serverless execution timeouts or cold starts.
  • Multi-Runtime Engine: Supports Node.js, Python, PHP, and .NET.
  • Instant SSL & Subdomains: Native deployment straight from GitHub (https://yourapp.neighborhost.com).

👉 Deploy an App: https://neighborhost.com/customer/deploy


⚙️ Technical Architecture

  • Control Plane: Node.js + Fastify + Prisma SQLite cluster running on AWS EC2.
  • Tunneling: Bidirectional low-latency WebSocket tunnel multiplexer with automatic reconnects and heartbeat health checks.
  • Edge Caching: Static assets (JS/CSS/images) are cached at the edge for sub-10ms delivery.
  • Process Isolation: Automatic runtime detection, isolated port allocations (4000+), and real-time CPU/RAM monitoring.

🔗 Try It Live

I'd love to hear your thoughts, feedback, or any security/performance questions from the community! 🚀

Top comments (0)