[Incremental Research] 2026-02-19_10:00
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# bare-https - TLS Streams
|
||||
|
||||
## Overview
|
||||
**Stable** bare-tls wrapper for HTTPS. Server/client w/ certs.
|
||||
|
||||
**Ex**:
|
||||
```js
|
||||
const https = require('bare-https')
|
||||
https.createServer({ key, cert }, (req, res) => res.end('Secure!')).listen(443)
|
||||
```
|
||||
|
||||
**Integr**: bare-tcp + bare-tls + bare-http1.
|
||||
|
||||
**Pear**: Local HTTPS bridge for electron.
|
||||
|
||||
**Source**: github/holepunchto/bare-https
|
||||
@@ -0,0 +1,18 @@
|
||||
# compact-encoding - Binary Schemas
|
||||
|
||||
## Overview
|
||||
Efficient polymorphic binary codec. Types: uint/varint/buffer/struct/array.
|
||||
|
||||
**Ex**:
|
||||
```js
|
||||
const c = require('compact-encoding')
|
||||
const enc = c.encoder({ seq: c.uint64, data: c.buffer })
|
||||
```
|
||||
|
||||
**Perf**: SIMD opt, zero-copy.
|
||||
|
||||
**Hyper Use**: core proofs, hyperbee keys.
|
||||
|
||||
**Types**: 30+, golang/swift bindings.
|
||||
|
||||
**Source**: github/holepunchto/compact-encoding
|
||||
@@ -0,0 +1,18 @@
|
||||
# hrpc - Holepunch RPC
|
||||
|
||||
## Overview
|
||||
Protomux-based RPC over swarm conns. Modular/service.
|
||||
|
||||
**Ex**:
|
||||
```js
|
||||
const hrpc = require('hrpc')
|
||||
const server = hrpc.createServer()
|
||||
server.register('echo', {echo(req) { return req }})
|
||||
server.pipe(conn).pipe(server)
|
||||
```
|
||||
|
||||
**Modular**: proto defs, pools.
|
||||
|
||||
**Stack**: hyperswarm → protomux → hrpc.
|
||||
|
||||
**Source**: github/holepunchto/hrpc
|
||||
@@ -0,0 +1,10 @@
|
||||
# bare-rpc - Native RPC
|
||||
|
||||
## Overview
|
||||
librpc ABI RPC for Bare. Golang compat?
|
||||
|
||||
**Ex**: spawn subprocess, rpc call.
|
||||
|
||||
**Use**: Pear-ipc, sidecar comm.
|
||||
|
||||
**Source**: github/holepunchto/bare-rpc
|
||||
Reference in New Issue
Block a user