Forked from xethyrion/c-ipfs
IPFS implementation in C. Why C? Think about archive backups, eliminate http and DNS attack vectors, OpenWrt routers (decentralize the internet/meshnet!), Android TV and seeder streams, decentralized Media, decentralized websites, decentralized Apps, Browsers and mobile chat, decentralized CDN's and App Stores, RasPi's, old pc's and more...

Agorise e599dd2f34 Create FUNDING.yml 4 years ago
.github e599dd2f34 Create FUNDING.yml 4 years ago
blocks ee0c287a34 Fix compilation reported in issue #16 4 years ago
c-libp2p @ d0c319a88c 662825493d Dependencies: add c-libp2p and lmdb as submodules 4 years ago
cid ee0c287a34 Fix compilation reported in issue #16 4 years ago
cmd ee0c287a34 Fix compilation reported in issue #16 4 years ago
commands ee0c287a34 Fix compilation reported in issue #16 4 years ago
core ee0c287a34 Fix compilation reported in issue #16 4 years ago
datastore ee0c287a34 Fix compilation reported in issue #16 4 years ago
dnslink ee0c287a34 Fix compilation reported in issue #16 4 years ago
exchange ee0c287a34 Fix compilation reported in issue #16 4 years ago
flatfs ee0c287a34 Fix compilation reported in issue #16 4 years ago
importer ee0c287a34 Fix compilation reported in issue #16 4 years ago
include 9491e69d76 Added ipns support for cat/get commands. 4 years ago
journal ee0c287a34 Fix compilation reported in issue #16 4 years ago
lmdb @ 6b62ada62a 662825493d Dependencies: add c-libp2p and lmdb as submodules 4 years ago
main ee0c287a34 Fix compilation reported in issue #16 4 years ago
merkledag ee0c287a34 Fix compilation reported in issue #16 4 years ago
multibase ee0c287a34 Fix compilation reported in issue #16 4 years ago
namesys ee0c287a34 Fix compilation reported in issue #16 4 years ago
path ee0c287a34 Fix compilation reported in issue #16 4 years ago
pin ee0c287a34 Fix compilation reported in issue #16 4 years ago
repo ee0c287a34 Fix compilation reported in issue #16 4 years ago
routing ee0c287a34 Fix compilation reported in issue #16 4 years ago
test ee0c287a34 Fix compilation reported in issue #16 4 years ago
thirdparty 662825493d Dependencies: add c-libp2p and lmdb as submodules 4 years ago
unixfs ee0c287a34 Fix compilation reported in issue #16 4 years ago
util ee0c287a34 Fix compilation reported in issue #16 4 years ago
.cproject f3db50c3ba debugging yamux and go 5 years ago
.gitignore a6a54fb69b Made test file generation faster 5 years ago
.gitmodules 662825493d Dependencies: add c-libp2p and lmdb as submodules 4 years ago
.project 81a0cc791e added Eclipse project files 6 years ago
LICENSE 0432315d33 Update LICENSE 4 years ago
Makefile 662825493d Dependencies: add c-libp2p and lmdb as submodules 4 years ago
README.md 662825493d Dependencies: add c-libp2p and lmdb as submodules 4 years ago

README.md

C-IPFS

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 (ipfs spec docs):

Prerequisites: To compile the C version you will need, all included as submodules:

And of course this project at https://github.com/Agorise/c-ipfs

How to compile the C version:

git submodule update --init --recursive
make all