gren-lang / gren-lang/core

cross-platform HttpClient

Open
#110 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
48
Forks
14
Avg merge
4h 14m
Merged PRs (30d)
1

Description

gren-lang/node and gren-lang/browser have seperate HttpClient API's. Since Node.js supports fetch, it should be possible to write a single HttpClient that can be shared between all supported platforms.

A good first step would be to rewrite the HttpClient in gren-lang/node to be based on fetch with built-in support for Stream.

After that we can figure out how to make it work in the browser.

Contributor guide

Open the contributing guide

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 by locating the HttpClient implementation in gren-lang/node and reading how its current API handles requests and Stream support. Rewrite the Node implementation around fetch with built-in Stream support; completion means the Node HttpClient uses fetch, while browser unification remains a later step.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.