All Projects → AKASHAorg → Ipfs Connector

AKASHAorg / Ipfs Connector

Licence: mpl-2.0
AKASHA <---> IPFS connector

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ipfs Connector

Docker Volume Ipfs
🐳 This is an open source volume plugin that allows using an ipfs filesystem as a volume.
Stars: ✭ 99 (-7.48%)
Mutual labels:  ipfs
Lispe
An implementation of a full fledged Lisp interpreter with Data Structure, Pattern Programming and High level Functions with Lazy Evaluation à la Haskell.
Stars: ✭ 105 (-1.87%)
Mutual labels:  data-structures
Codelibrary
💎Collection of algorithms and data structures
Stars: ✭ 1,585 (+1381.31%)
Mutual labels:  data-structures
Flatqueue
A very fast and simple JavaScript priority queue
Stars: ✭ 98 (-8.41%)
Mutual labels:  data-structures
Daily Coding Problem
Solutions to Daily Coding Problem in Javascript
Stars: ✭ 102 (-4.67%)
Mutual labels:  data-structures
Gopherlabs
The Ultimate Workshop Track for #golang Developer
Stars: ✭ 106 (-0.93%)
Mutual labels:  data-structures
Algorithms
Algorithms and data structures implemented in JavaScript with explanations, for further readings
Stars: ✭ 99 (-7.48%)
Mutual labels:  data-structures
Java
All Algorithms implemented in Java
Stars: ✭ 42,893 (+39986.92%)
Mutual labels:  data-structures
Awesome Web3
🚀 A curated list of tools, libs and resources to help you build awesome dapps
Stars: ✭ 104 (-2.8%)
Mutual labels:  ipfs
Code With Love
Open source programming algorithms
Stars: ✭ 107 (+0%)
Mutual labels:  data-structures
Bit
Bitset data structure
Stars: ✭ 100 (-6.54%)
Mutual labels:  data-structures
Data Structures And Algorithms
A collection of some implementations of data structures and algorithms.
Stars: ✭ 101 (-5.61%)
Mutual labels:  data-structures
Ipfscloud Web
IpfsCloud: A Decentralized, Anonymous Cloud Storage web client on IPFS.
Stars: ✭ 105 (-1.87%)
Mutual labels:  ipfs
Javascript
A repository for All algorithms implemented in Javascript (for educational purposes only)
Stars: ✭ 16,117 (+14962.62%)
Mutual labels:  data-structures
Go Algorithms
Algorithms and data structures for golang
Stars: ✭ 1,529 (+1328.97%)
Mutual labels:  data-structures
Protoschool.github.io
The code that runs the ProtoSchool website. Visit https://proto.school for interactive tutorials on decentralized web protocols. Explore IPFS and Filecoin through code challenges, code-free lessons, and local events.
Stars: ✭ 99 (-7.48%)
Mutual labels:  ipfs
Rust Ipfs Api
Rust crate for interfacing with the IPFS API
Stars: ✭ 105 (-1.87%)
Mutual labels:  ipfs
Leetcode
LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。)
Stars: ✭ 45,650 (+42563.55%)
Mutual labels:  data-structures
Ipfs Wormhole
Get things from one computer to another, safely. Over IPFS (which not even required to receive those things).
Stars: ✭ 107 (+0%)
Mutual labels:  ipfs
Ipfs.ink
PROJECT HAS BEEN SHUTDOWN - Publish and render markdown essays to and from ipfs
Stars: ✭ 106 (-0.93%)
Mutual labels:  ipfs

ipfs-connector

Build Status Coverage Status npm Known Vulnerabilities

Library for solving the cross-platform binaries problem (works on Windows as well) containing helpers for easier read/write on IPFS by extending the JavaScript IPFS API functionality.

Some of the differences:

  • Able to specify init folder
  • Promised based, no callbacks
  • Connector can be accessed from anywhere inside the app as it is a singleton
  • Plug your favorite logging library (by default console). See tests folder

For more information please see the API docs

Installation

npm install @akashaproject/ipfs-connector --save

Usage

import { IpfsConnector } from '@akashaproject/ipfs-connector';

const instance = IpfsConnector.getInstance();

// start ipfs daemon and download binaries if needed
instance.start().then((api) => {});

// stop daemon
instance.stop()

// see api docs
// add/get data to ipfs
// cid zdpuB2CAUgUbyJ4s8SmqcGGaGfs7bG337dDNty8NSCR3fhgRw
const cid = instance.api.add({firstName: 'John', lastName: 'Doe'});
//returns John
instance.api.get(cid, '/firstName'); 

// read data from ipfs
instance.api.ipfsApi.cat('ipfs hash')

// access default ipfs-http-api from
instance.api.ipfsApi

Dev

git clone https://github.com/AkashaProject/ipfs-connector.git
cd ipfs-connector

// install dependencies
npm install

// run tests
npm test

// generate docs
npm run docs

CHANGELOG

LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].