All Projects → libp2p → Js Libp2p

libp2p / Js Libp2p

Licence: mit
The JavaScript Implementation of libp2p networking stack.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Js Libp2p

Js Ipfs
IPFS implementation in JavaScript
Stars: ✭ 6,129 (+263.52%)
Mutual labels:  p2p, ipfs, libp2p, js-ipfs
Ipfs
Peer-to-peer hypermedia protocol
Stars: ✭ 20,128 (+1093.83%)
Mutual labels:  p2p, ipfs, js-ipfs
Berty
Berty is a secure peer-to-peer messaging app that works with or without internet access, cellular data or trust in the network
Stars: ✭ 5,101 (+202.55%)
Mutual labels:  p2p, ipfs, libp2p
Go Libp2p
libp2p implementation in Go
Stars: ✭ 4,110 (+143.77%)
Mutual labels:  p2p, libp2p, networking-stack
Orbit Db
Peer-to-Peer Databases for the Decentralized Web
Stars: ✭ 6,381 (+278.47%)
Mutual labels:  p2p, ipfs
Openbazaar Desktop
OpenBazaar 2.0 Desktop Client (talks to openbazaar-go server daemon)
Stars: ✭ 597 (-64.59%)
Mutual labels:  p2p, ipfs
Rust Ipfs
The InterPlanetary File System (IPFS), implemented in Rust.
Stars: ✭ 739 (-56.17%)
Mutual labels:  p2p, ipfs
Openbazaar Go
OpenBazaar 2.0 Server Daemon in Go
Stars: ✭ 919 (-45.49%)
Mutual labels:  p2p, ipfs
Awesome Decentralized
🕶 Awesome list of distributed, decentralized, p2p apps and tools 👍
Stars: ✭ 358 (-78.77%)
Mutual labels:  p2p, ipfs
Filenation
The simplest way to send your files around the world using IPFS. ✏️ 🗃
Stars: ✭ 805 (-52.25%)
Mutual labels:  p2p, ipfs
Rust Ipfs Api
Rust crate for interfacing with the IPFS API
Stars: ✭ 105 (-93.77%)
Mutual labels:  p2p, ipfs
Peer Pad
📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
Stars: ✭ 564 (-66.55%)
Mutual labels:  p2p, ipfs
Y Ipfs Connector
Y.js connector over IPFS
Stars: ✭ 49 (-97.09%)
Mutual labels:  p2p, ipfs
Qri
you're invited to a data party!
Stars: ✭ 1,003 (-40.51%)
Mutual labels:  p2p, ipfs
Ipfsfb
InterPlanetary File System for Business (IPFSfB) is an enterprise blockchain storage network based on InterPlanetary File System.
Stars: ✭ 57 (-96.62%)
Mutual labels:  p2p, ipfs
Peergos
A p2p, secure file storage, social network and application protocol
Stars: ✭ 895 (-46.92%)
Mutual labels:  p2p, ipfs
Ipdr
🐋 IPFS-backed Docker Registry
Stars: ✭ 312 (-81.49%)
Mutual labels:  p2p, ipfs
Ipfs Companion
Browser extension that simplifies access to IPFS resources on the web
Stars: ✭ 1,247 (-26.04%)
Mutual labels:  p2p, ipfs
Ipfs Webui
A frontend for an IPFS node.
Stars: ✭ 990 (-41.28%)
Mutual labels:  p2p, ipfs
Js Dag Service
Library for storing and replicating hash-linked data over the IPFS network.
Stars: ✭ 81 (-95.2%)
Mutual labels:  p2p, ipfs

libp2p hex logo

The JavaScript implementation of the libp2p Networking Stack.



Project status

We've come a long way, but this project is still in Alpha, lots of development is happening, API might change, beware of the Dragons 🐉..

The documentation in the master branch may contain changes from a pre-release. If you are looking for the documentation of the latest release, you can view the latest release on npm, or select the tag in github that matches the version you are looking for.

Want to get started? Check our GETTING_STARTED.md guide and examples folder.

Want to update libp2p in your project? Check our migrations folder.

Weekly Core Dev Calls

Lead Maintainer

Jacob Heun

Table of Contents

Background

libp2p is the product of a long and arduous quest to understand the evolution of the Internet networking stack. In order to build P2P applications, devs have long had to make custom ad-hoc solutions to fit their needs, sometimes making some hard assumptions about their runtimes and the state of the network at the time of their development. Today, looking back more than 20 years, we see a clear pattern in the types of mechanisms built around the Internet Protocol, IP, which can be found throughout many layers of the OSI layer system, libp2p distils these mechanisms into flat categories and defines clear interfaces that once exposed, enable other protocols and applications to use and swap them, enabling upgradability and adaptability for the runtime, without breaking the API.

We are in the process of writing better documentation, blog posts, tutorials and a formal specification. Today you can find:

To sum up, libp2p is a "network stack" -- a protocol suite -- that cleanly separates concerns, and enables sophisticated applications to only use the protocols they absolutely need, without giving up interoperability and upgradeability. libp2p grew out of IPFS, but it is built so that lots of people can use it, for lots of different projects.

Install

npm install libp2p

Usage

Configuration

For all the information on how you can configure libp2p see CONFIGURATION.md.

API

The specification is available on API.md.

Getting started

If you are starting your journey with js-libp2p, read the GETTING_STARTED.md guide.

Tutorials and Examples

You can find multiple examples on the examples folder that will guide you through using libp2p for several scenarios.

Development

Clone and install dependencies:

> git clone https://github.com/libp2p/js-libp2p.git
> cd js-libp2p
> npm install

Tests

Run unit tests

# run all the unit tsts
> npm test

# run just Node.js tests
> npm run test:node

# run just Browser tests (Chrome)
> npm run test:browser

Packages

List of packages currently in existence for libp2p

This table is generated using the module package-table with package-table --data=package-list.json.

Package Version Deps CI Coverage Lead Maintainer
libp2p
libp2p npm Deps Travis CI codecov Jacob Heun
libp2p-daemon npm Deps Travis CI codecov Jacob Heun
libp2p-daemon-client npm Deps Travis CI codecov Vasco Santos
libp2p-interfaces npm Deps Travis CI codecov Jacob Heun
interop-libp2p npm Deps Travis CI codecov Vasco Santos
transports
libp2p-tcp npm Deps Travis CI codecov Jacob Heun
libp2p-webrtc-direct npm Deps Travis CI codecov Vasco Santos
libp2p-webrtc-star npm Deps Travis CI codecov Vasco Santos
libp2p-websockets npm Deps Travis CI codecov Jacob Heun
secure channels
libp2p-noise npm Deps Travis CI codecov N/A
stream multiplexers
libp2p-mplex npm Deps Travis CI codecov Vasco Santos
peer discovery
libp2p-bootstrap npm Deps Travis CI codecov Vasco Santos
libp2p-kad-dht npm Deps Travis CI codecov Vasco Santos
libp2p-mdns npm Deps Travis CI codecov Jacob Heun
libp2p-webrtc-star npm Deps Travis CI codecov Vasco Santos
@chainsafe/discv5 npm Deps Travis CI codecov Cayman Nava
content routing
libp2p-delegated-content-routing npm Deps Travis CI codecov Jacob Heun
libp2p-kad-dht npm Deps Travis CI codecov Vasco Santos
peer routing
libp2p-delegated-peer-routing npm Deps Travis CI codecov Jacob Heun
libp2p-kad-dht npm Deps Travis CI codecov Vasco Santos
utilities
libp2p-crypto npm Deps Travis CI codecov Jacob Heun
data types
peer-id npm Deps Travis CI codecov Vasco Santos
libp2p-record npm Deps Travis CI codecov Jacob Heun
pubsub
libp2p-floodsub npm Deps Travis CI codecov Vasco Santos
libp2p-gossipsub npm Deps Travis CI codecov Cayman Nava
extensions
libp2p-nat-mgnr npm Deps Travis CI codecov N/A
libp2p-utils npm Deps Travis CI codecov Vasco Santos

Contribute

The libp2p implementation in JavaScript is a work in progress. As such, there are a few things you can do right now to help out:

  • Go through the modules and check out existing issues. This would be especially useful for modules in active development. Some knowledge of IPFS/libp2p may be required, as well as the infrastructure behind it - for instance, you may need to read up on p2p and more complex operations like muxing to be able to help technically.
  • Perform code reviews. Most of this has been developed by @diasdavid, which means that more eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.
  • Add tests. There can never be enough tests.

License

MIT © Protocol Labs

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].