
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
level-server
Advanced tools
Standalone LevelDB file server. Put data into it using multilevel and get it served over http. Also has level-sublevel.
Given a database full of files at ./db, create a http server on port 8000
and a multilevel server on port 9000:
$ level-server --path ./db --http 8000 --multilevel 9000
Then connect to it from a client:
var multilevel = require('multilevel');
var getServer = require('multilevel-serve');
var net = require('net');
var db = multilevel.client(getServer.manifest);
var server = getServer(db);
Now you can use all of level-serve's api:
server.store('foo', 'Bar! :D');
And then get this file via http:
$ curl http://localhost:8000/files/foo
Bar! :D
$ level-server --help
Host a standalone LevelDB file server.
Usage: level-server [options]
Options:
--path Serve local database
--addr Serve remote database
--http Port to host http server on [required]
--multilevel, --ml Port to host multilevel server on
--keyEncoding keyEncoding for levelUp
--valueEncoding valueEncoding for levelUp
--help, -h Print usage instructions
$ npm install -g level-server
(MIT)
Copyright (c) 2013 Wayla <data@wayla.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Standalone LevelDB file server.
We found that level-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.