c-ipfs/README.md

24 lines
1.2 KiB
Markdown
Raw Normal View History

2017-09-22 09:38:45 +00:00
# C-IPFS
2017-11-02 10:39:03 +00:00
IPFS implementation in C, (not just an API client library).
**Quick start for users:**
..* **ipfs init** to create an ipfs repository on your machine
..* **ipfs add MyFile.txt** to add a file to the repository, will return with a hash that can be used to retrieve the file.
..* **ipfs cat [hash]** to retrieve a file from the repository
**For techies:**
2016-10-25 06:34:11 +00:00
getting started: https://github.com/ipfs/specs/blob/master/overviews/implement-ipfs.md <br>
specifications: https://github.com/ipfs/specs <br>
2016-10-21 09:22:21 +00:00
getting started: https://github.com/ipfs/community/issues/177 <br>
libp2p: https://github.com/libp2p/specs <br>
2017-07-17 18:05:56 +00:00
<br>
Prerequisites: To compile the C version you will need:<br>
lmdb https://github.com/jmjatlanta/lmdb<br>
2017-09-22 09:38:45 +00:00
c-protobuf https://github.com/Agorise/c-protobuf<br>
c-multihash https://github.com/Agorise/c-multihash<br>
c-multiaddr https://github.com/Agorise/c-multiaddr<br>
c-libp2p https://github.com/Agorise/c-libp2p<br>
2017-07-17 18:05:56 +00:00
<br>
2017-09-22 09:38:45 +00:00
And of course this project at https://github.com/Agorise/c-ipfs<br>
2017-07-17 18:05:56 +00:00
<br>
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".