e094528293
If we are trying to build a repository in the home directory of the user, put everything in a .ipfs directory. Otherwise, use what was given, even if it does not have a .ipfs suffix. |
||
---|---|---|
blocks | ||
cid | ||
cmd | ||
commands | ||
core | ||
datastore | ||
dnslink | ||
exchange | ||
flatfs | ||
importer | ||
include/ipfs | ||
journal | ||
main | ||
merkledag | ||
multibase | ||
namesys | ||
path | ||
pin | ||
repo | ||
routing | ||
test | ||
thirdparty | ||
unixfs | ||
util | ||
.cproject | ||
.gitignore | ||
.project | ||
LICENSE | ||
Makefile | ||
README.md |
c-ipfs
IPFS implementation in C, (not just an API client library).
getting started: https://github.com/ipfs/specs/blob/master/overviews/implement-ipfs.md
specifications: https://github.com/ipfs/specs
getting started: https://github.com/ipfs/community/issues/177
libp2p: https://github.com/libp2p/specs
Prerequisites: To compile the C version you will need:
lmdb https://github.com/jmjatlanta/lmdb
c-protobuf https://github.com/kenCode-de/c-protobuf
c-multihash https://github.com/kenCode-de/c-multihash
c-multiaddr https://github.com/kenCode-de/c-multiaddr
c-libp2p https://github.com/kenCode-de/c-libp2p
And of course this project at https://github.com/kenCode-de/c-ipfs
The compilation at this point is simple, but not very flexible. Place all of these projects in a directory. Compile all (the order above is recommended) by going into each one and running "make all".