https://github.com/stiartsly/vdht
An experimental decentralized SaaS framework based on DHT protocol.
https://github.com/stiartsly/vdht
c dht minupnp
Last synced: 12 months ago
JSON representation
An experimental decentralized SaaS framework based on DHT protocol.
- Host: GitHub
- URL: https://github.com/stiartsly/vdht
- Owner: stiartsly
- License: mit
- Created: 2014-10-10T01:59:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-04T12:11:33.000Z (about 8 years ago)
- Last Synced: 2025-04-03T11:21:33.915Z (about 1 year ago)
- Topics: c, dht, minupnp
- Language: C
- Homepage:
- Size: 1.01 MB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple Virtual DHT Daemon
=========================
Vdht is the simple experimental framework based on DHT protocol.
## How To Build
You can build vdht from source code with following tutorial on Linux, especially on Ubuntu Linux higher than 14.04. Also you are welcome to try building vdht on other platforms.
### 1.sqlite3-dev
Be sure that sqlite3 dev library should be installed. Otherwise, run command:
```shell
$ sudo apt-get install sqlite3-dev
```
### 2.miniupnpc client
Be sure that miniupnc client library should be installed. Otherwise, go to website
```
http://miniupnp.tuxfamily.org/files/
```
and download miniupnpc source code with version higher than miniupnpc-1.9 (default with miniupnpc-1.9.tar.gz), then unzip the package:
```shell
$ tar -xzvf miniupnpc-1.9.tar.gz
$
$ cd miniupnpc
$ make
$ sudo make install
```
### 3.Build from source
Download the vdht source code with following commands:
```shell
$ git clone https://github.com/stiartsly/vdht.git
$ cd vdht
$ make
```
## How To Be Inside
There are several shared libraries and executables listed below.
### 1.vdhtd
A simple binary to run as daemon as vdht engine.
### 2.vlsctlc
A local service control command tool to communicate with vdhtd daemon.
### 3.vserver/vclient
An example of pairs of service can run as service producer or demander respectively.
### 4.libvdht.so
An shared library provides core vdht features.
### 5.libvhdapi.so
An shared library can be integrated to client side to commnicate with vdht deamon.
## How To Run
Each exacutables has it's own help information.
### 1.vdht daemon
Use valid bootnode information in config file to run vdht as daemon service.
```shell
$ ./vdhtd -S
```
### 2.vlsctl command tool
Use vlsctlc command tool to communicate with vdhtd daemon while vdht is running:
```shell
$ ./vlsctl -s
```
## Thanks
Sincerely thanks to all teams and their projects on which we relies directly or indirectly.
## License
MIT