https://github.com/zelang-dev/httpi
The Infinite Web client/server and JavaScript processor, powered by Green Threads!
https://github.com/zelang-dev/httpi
Last synced: 10 days ago
JSON representation
The Infinite Web client/server and JavaScript processor, powered by Green Threads!
- Host: GitHub
- URL: https://github.com/zelang-dev/httpi
- Owner: zelang-dev
- License: mit
- Created: 2026-06-13T18:37:03.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-07-01T21:27:18.000Z (23 days ago)
- Last Synced: 2026-07-01T23:23:24.489Z (23 days ago)
- Language: C
- Size: 3.48 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# httpi
The infinite, dual Web client/server and JavaScript processor, powered by Green Threads!
This *subproject* is a **WIP** implementation that follows up on [LibHTTP](https://github.com/lammertb/libhttp), and [CivetWeb](https://github.com/civetweb/civetweb), forks of [Mongoose](https://github.com/cesanta/mongoose). With ideas from [quickwebserver](https://github.com/QuickJS-Web-project/quickwebserver).
- Where as, all *parsing* and *actual communcations* replaced with **Events API**,
and other routines that's already implemented.
- Each incoming request *accepted* handled in *independent coroutines* aka **green threads**,
the `Events API` spread across a *thread pool* determented by number of core available.
- All *file system calls* handled by a different thread pool designed just for that purpose.
-
- Replace [Duktape](https://github.com/svaarala/duktape) with [QuickJS-NG](https://github.com/quickjs-ng/quickjs) for Direct JavaScript support. This came about after getting a better understanding of the layout from [QuickJS: An Overview and Guide to Adding a New Feature](https://blogs.igalia.com/compilers/2023/06/12/quickjs-an-overview-and-guide-to-adding-a-new-feature/) and [Building a Runtime with QuickJS](https://healeycodes.com/building-a-runtime-with-quickjs). It's really possible to build *Yet Another JavaScript* runtime *aka* Node.js, Bun, *etc...* replacement. For better **QuickJS-NG** documention on `API` see .
- Remove direct CGI handling.