gun-c
A gun.js port to C using libwebsockets, ideal for running on small and embedded devices.
Currently the software is imcomplete, and the first milestone is to understand the Gun protocol and implement an in-memory client capable of serving nodes to a distributed Gun network.
The eventual goal for this project is a full port.
Building
Requirements:
gcc
cmake
libwebsockets
orlibwebsockets-dev
on Ubuntugdb
for debugging andvalgrind
for leak checking
$ git clone git@github.com:tylerjwatson/gun-c.git
$ cd gun-c
$ mkdir build
$ ./build.sh
Running
build/gun
Credits
This software has integrated code from the following libraries:
- Libwebsockets (MIT Licensed and others)
- Yuarel (MIT Licensed)
- mjson (MIT Licensed)
- log.c (MIT Licensed)
- ht (MIT Licensed)
Many thanks to the authors and contributors of this code.