hyperdrive-http icon indicating copy to clipboard operation
hyperdrive-http copied to clipboard

HTTP request handler for Hyperdrive and Hypercore [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]

Results 4 hyperdrive-http issues
Sort by recently updated
recently updated
newest added

hi, I run `node example.js` and get: `sodium.crypto_kdf_derive_from_key(seed, 1, context, secretKey) Error: "key" must be crypto_kdf_KEYBYTES bytes long`

This is my current dev branch. It includes some code I ported from [sonar](https://github.com/arso-project/sonar/blob/master/sonar-server/routes/hyperdrive.js). I'll continue working on this likely from time to time. If anyone wants to join please...

``` [16:18:39] still would be nice if the http option would take an optional template so you can make it pretty [16:19:38] + human readable sizes etc [16:20:11] or someone...

For example, adding a few functions: `.get(key).pipe(res)`, `.file(key, filename).pipe(res)` ```js var hyperdrivehttp = require('hyperdrive-http') var express = require('express') var router = express() var drive = hyperdrivehttp(getArchive) router.get('/hi/:key', function (req, res)...