Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/martindale/kad-rest

REST wrapper around Kad
https://github.com/martindale/kad-rest

Last synced: 10 days ago
JSON representation

REST wrapper around Kad

Awesome Lists containing this project

README

        

# Kad REST

This is a REST API on top of Kad DHT

## Quick Start

The Kademelia DHT implementation is by [Gordon Hall's Kad project](http://github.com/gordonwritescode)

```
# getting the code
[email protected]:niahmiah/kad-rest.git && cd kad-rest
```

### Configuring the seed list

Create the file config/local.json, and populate it with your seeds in the following format.

```
{
"kad": {
"seeds": [
{ "address": "some.domain.name", port: 35000 },
{ "address": "some.other.name", port: 35000 },
]
}
}
```

```
# running the server
npm install
npm start
```