Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Rust Libp2p | 3,338 | 79 | 54 | 8 hours ago | 84 | September 07, 2022 | 185 | mit | Rust | |
The Rust Implementation of the libp2p networking stack. | ||||||||||
Libp2p | 2,192 | 3 months ago | 37 | mit | ||||||
A modular and extensible networking stack which solves many challenges of peer-to-peer applications. | ||||||||||
Js Libp2p | 2,032 | 366 | 150 | 7 hours ago | 256 | September 28, 2022 | 123 | other | TypeScript | |
The JavaScript Implementation of libp2p networking stack. | ||||||||||
Aws Cloudformation Fargate | 532 | 2 years ago | 11 | apache-2.0 | ||||||
Sample CloudFormation templates for how to run Docker containers in AWS Fargate with various networking configurations | ||||||||||
Mirage Tcpip | 321 | 2 months ago | 27 | isc | OCaml | |||||
TCP/IP networking stack in pure OCaml, using the Mirage platform libraries. Includes IPv4/6, ICMP, and UDP/TCP support. | ||||||||||
Krypton | 315 | a month ago | 8 | lgpl-3.0 | Java | |||||
A Fabric mod that optimizes the Minecraft networking stack and entity tracker. | ||||||||||
Nstack | 241 | 6 months ago | 2 | other | C | |||||
Userspace TCP/IP stack for Linux | ||||||||||
Volley | 117 | 8 years ago | 9 | mit | C | |||||
Volley is a benchmarking tool for measuring the performance of server networking stacks. | ||||||||||
React Native Cronet | 104 | 1 | 2 | a year ago | 5 | March 30, 2020 | 16 | mit | Java | |
This package allows you to use the Cronet for your react native apps. | ||||||||||
Mos Networking Stack | 98 | 4 years ago | 11 | other | C | |||||
A Specialized Network Programming Library for Stateful Middleboxes: |
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.
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.
The js-libp2p roadmap can be found here: https://github.com/libp2p/js-libp2p/blob/master/ROADMAP.md
It represents current projects the js-libp2p maintainers are focused on and provides an estimation of completion targets.
It is complementary to the overarching libp2p project roadmap: https://github.com/libp2p/specs/blob/master/ROADMAP.md
npm install libp2p
For all the information on how you can configure libp2p see CONFIGURATION.md.
For help configuring your node to resist malicious network peers, see LIMITS.md
If you are starting your journey with js-libp2p
, read the GETTING_STARTED.md guide.
You can find multiple examples on the examples folder that will guide you through using libp2p for several scenarios.
Clone and install dependencies:
> git clone https://github.com/libp2p/js-libp2p.git
> cd js-libp2p
> npm install
> npm run build
# run all the unit tsts
> npm test
# run just Node.js tests
> npm run test:node
# run just Browser tests (Chrome)
> npm run test:chrome
List of packages currently in existence for libp2p
This table is generated using the module
package-table
withpackage-table --data=package-list.json
.
Package | Version | Deps | CI | Coverage |
---|---|---|---|---|
libp2p | ||||
libp2p |
||||
@libp2p/interface-libp2p |
||||
transports | ||||
@libp2p/tcp |
||||
@libp2p/webrtc |
||||
@libp2p/websockets |
||||
@libp2p/webtransport |
||||
secure channels | ||||
@chainsafe/libp2p-noise |
||||
stream multiplexers | ||||
@libp2p/mplex |
||||
@chainsafe/libp2p-yamux |
||||
peer discovery | ||||
@libp2p/bootstrap |
||||
@libp2p/kad-dht |
||||
@libp2p/mdns |
||||
@chainsafe/discv5 |
||||
content routing | ||||
@libp2p/reframe-content-routing |
||||
@libp2p/ipni-content-routing |
||||
@libp2p/delegated-content-routing |
||||
@libp2p/kad-dht |
||||
peer routing | ||||
@libp2p/delegated-peer-routing |
||||
@libp2p/kad-dht |
||||
utilities | ||||
@libp2p/crypto |
||||
data types | ||||
@libp2p/peer-id |
||||
@libp2p/record |
||||
@libp2p/peer-record |
||||
pubsub | ||||
@ChainSafe/libp2p-gossipsub |
||||
@libp2p/floodsub |
And many others...
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:
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.