Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add nodejs peer #242

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Nkovaturient
Copy link

@Nkovaturient Nkovaturient commented Mar 7, 2025

Issue : #214

Description:

This PR adds a Node.js peer to the Universal Connectivity project.

Establishing and accepting server-style TCP connections with Go and Rust peers.
Initiating direct connections to browsers via WebRTC.
Accepting connections from browsers via WebRTC-Direct and WebSockets.

Key Implementations:

  • Libp2p Node Setup: Multi-transport support (TCP, WebRTC, WebSockets)
  • Interoperability: Node.js <-> Go/Rust via TCP ; Node.js <-> Browser via WebRTC/WebTransport (refining)
  • PubSub Messaging: GossipSub-based message exchange
  • Peer Discovery: mDNS, DHT, PubSub Peer Discovery
  • Robust Dialing: Improved error handling & retry logic for cross-peer connections
  • Testing Suite: WebRTC browser-node tests via Puppeteer & Jest

Next Steps for Further Robustness:

🔹 Implement DCUtR (Direct Connection Upgrade through Relay) for NAT traversal
🔹 Enhance WebRTC signaling reliability across peers
🔹 Optimize message streaming performance for large-scale chat/file sharing

Note to Maintainer

🔹 kindly review and guide if I'm on the right track

@Nkovaturient Nkovaturient deleted the feature/add-nodejs-peer branch March 9, 2025 07:55
@Nkovaturient Nkovaturient restored the feature/add-nodejs-peer branch March 9, 2025 08:00
@Nkovaturient Nkovaturient reopened this Mar 9, 2025
@Nkovaturient Nkovaturient force-pushed the feature/add-nodejs-peer branch from 353b91b to c0f4200 Compare March 9, 2025 08:18
@devlux76
Copy link

I test this and wanted to say great work! Seems to be working excellent! Here's hoping they merge your PR soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants