holepunchto / holepunchto/hypercore

pipe hypercore.replicate from webReadableStream to webWritableStream

Open
#329 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.9k
Forks
211
Avg merge
5h 49m
Merged PRs (30d)
9

Description

First of all , It is the most amazing project I have ever come across.

I was wondering how can I pipe the hypercore.replicate stream which is a duplex Node.js stream to a webReabable and a webWritable streams in the browser.

I have two distinct streams . A webReadable and a webWritable . Since there is no duplex stream for web does anyone know how to do it or at least point me to the right direction.

Thank you in advance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the hypercore.replicate API and the Node.js duplex stream interface, then compare its readable and writable sides with the browser's webReadableStream and webWritableStream APIs. Determine whether the requested piping is supported or requires a project change; done means a documented, working browser-compatible path for both streams.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
distributed-systems, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.