Skip to content

Commit 701bc70

Browse files
committed
docs: update README structure and contributing guidelines (#2078)
1 parent c88de8e commit 701bc70

File tree

2 files changed

+84
-90
lines changed

2 files changed

+84
-90
lines changed

CONTRIBUTING.md

-11
This file was deleted.

README.md

+84-79
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,92 @@
77

88
> JavaScript implementation of libp2p, a modular peer to peer network stack
99
10+
11+
### Project status
12+
13+
This project has been used in production for years in Ethereum, IPFS, and more. It is actively maintained by multiple organizations and continues to be improved! The API might change, but we strictly follow semver.
14+
15+
The documentation in the master branch may contain changes from a pre-release.
16+
If you are looking for the documentation of the latest release, you can view the latest release on [**npm**](https://www.npmjs.com/package/libp2p), or select the tag in github that matches the version you are looking for.
17+
18+
**Want to get started?** Check our [GETTING\_STARTED.md](./doc/GETTING_STARTED.md) guide and [examples folder](/examples).
19+
20+
**Want to update libp2p in your project?** Check our [migrations folder](./doc/migrations).
21+
1022
## Table of contents <!-- omit in toc -->
1123

12-
- [Structure](#structure)
13-
- [Project status](#project-status)
14-
- [Background](#background)
15-
- [Roadmap](#roadmap)
16-
- [Install](#install)
17-
- [Usage](#usage)
18-
- [Configuration](#configuration)
19-
- [Limits](#limits)
20-
- [Getting started](#getting-started)
21-
- [Tutorials and Examples](#tutorials-and-examples)
22-
- [Development](#development)
23-
- [Tests](#tests)
24-
- [Run unit tests](#run-unit-tests)
25-
- [Packages](#packages)
26-
- [Used by](#used-by)
27-
- [Contribute](#contribute)
28-
- [API Docs](#api-docs)
29-
- [License](#license)
30-
- [Contribution](#contribution)
24+
- [Contributing guidelines](#contributing-guidelines)
25+
- [Structure](#structure)
26+
- [Development](#development)
27+
- [Tests](#tests)
28+
- [Run unit tests](#run-unit-tests)
29+
- [Packages](#packages)
30+
- [Used by](#used-by)
31+
- [Contribute](#contribute)
32+
- [API Docs](#api-docs)
33+
- [License](#license)
34+
35+
## Background
36+
37+
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.
38+
39+
We are in the process of writing better documentation, blog posts, tutorials and a formal specification. Today you can find:
40+
41+
- [libp2p.io](https://libp2p.io)
42+
- [docs.libp2p.io](https://docs.libp2p.io)
43+
- [Specification (WIP)](https://github.com/libp2p/specs)
44+
- [Discussion Forums](https://discuss.libp2p.io)
45+
- Talks
46+
- [`libp2p <3 ethereum` at DEVCON2](https://archive.devcon.org/archive/watch/2/libp2p-devp2p-ipfs-and-ethereum-networking/)
47+
- Articles
48+
- [The overview of libp2p](https://github.com/libp2p/libp2p#description)
49+
50+
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.
51+
52+
## Roadmap
53+
54+
The js-libp2p roadmap can be found here: <https://github.com/libp2p/js-libp2p/blob/master/ROADMAP.md>
55+
56+
It represents current projects the js-libp2p maintainers are focused on and provides an estimation of completion targets.
57+
58+
It is complementary to the overarching libp2p project roadmap: <https://github.com/libp2p/specs/blob/master/ROADMAP.md>
59+
60+
## Install
61+
62+
```sh
63+
npm install libp2p
64+
```
65+
66+
## Usage
67+
68+
### Configuration
69+
70+
For all the information on how you can configure libp2p see [CONFIGURATION.md](./doc/CONFIGURATION.md).
71+
72+
### Limits
73+
74+
For help configuring your node to resist malicious network peers, see [LIMITS.md](./doc/LIMITS.md)
75+
76+
### Getting started
77+
78+
If you are starting your journey with `js-libp2p`, read the [GETTING\_STARTED.md](./doc/GETTING_STARTED.md) guide.
79+
80+
### Tutorials and Examples
81+
82+
You can find multiple examples on the [examples folder](./examples) that will guide you through using libp2p for several scenarios.
83+
84+
# Contributing guidelines
85+
86+
👋 Contributions are welcome!
87+
88+
👉 Please see the [IPFS JavaScript Community contributing guidelines](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for how to collaborate and contribute to js-libp2p.
89+
90+
💪 The [core maintainers](./CODEOWNERS) hang out in #libp2p-implementers in ipfs.io Matrix, FIL Slack, and IPFS Discord. They perform weekly triage of issues and PRs per https://lu.ma/js-libp2p
91+
92+
🤲 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 in [README.md](./README.md), without any additional terms or conditions.
93+
94+
🙏 Thank you!
95+
3196

3297
## Structure
3398

@@ -99,66 +164,6 @@
99164
<br>
100165
</p>
101166

102-
### Project status
103-
104-
This project has been used in production for years in Ethereum, IPFS, and more. It is actively maintained by multiple organizations and continues to be improved! The API might change, but we strictly follow semver.
105-
106-
The documentation in the master branch may contain changes from a pre-release.
107-
If you are looking for the documentation of the latest release, you can view the latest release on [**npm**](https://www.npmjs.com/package/libp2p), or select the tag in github that matches the version you are looking for.
108-
109-
**Want to get started?** Check our [GETTING\_STARTED.md](./doc/GETTING_STARTED.md) guide and [examples folder](/examples).
110-
111-
**Want to update libp2p in your project?** Check our [migrations folder](./doc/migrations).
112-
113-
## Background
114-
115-
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.
116-
117-
We are in the process of writing better documentation, blog posts, tutorials and a formal specification. Today you can find:
118-
119-
- [libp2p.io](https://libp2p.io)
120-
- [docs.libp2p.io](https://docs.libp2p.io)
121-
- [Specification (WIP)](https://github.com/libp2p/specs)
122-
- [Discussion Forums](https://discuss.libp2p.io)
123-
- Talks
124-
- [`libp2p <3 ethereum` at DEVCON2](https://archive.devcon.org/archive/watch/2/libp2p-devp2p-ipfs-and-ethereum-networking/)
125-
- Articles
126-
- [The overview of libp2p](https://github.com/libp2p/libp2p#description)
127-
128-
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.
129-
130-
## Roadmap
131-
132-
The js-libp2p roadmap can be found here: <https://github.com/libp2p/js-libp2p/blob/master/ROADMAP.md>
133-
134-
It represents current projects the js-libp2p maintainers are focused on and provides an estimation of completion targets.
135-
136-
It is complementary to the overarching libp2p project roadmap: <https://github.com/libp2p/specs/blob/master/ROADMAP.md>
137-
138-
## Install
139-
140-
```sh
141-
npm install libp2p
142-
```
143-
144-
## Usage
145-
146-
### Configuration
147-
148-
For all the information on how you can configure libp2p see [CONFIGURATION.md](./doc/CONFIGURATION.md).
149-
150-
### Limits
151-
152-
For help configuring your node to resist malicious network peers, see [LIMITS.md](./doc/LIMITS.md)
153-
154-
### Getting started
155-
156-
If you are starting your journey with `js-libp2p`, read the [GETTING\_STARTED.md](./doc/GETTING_STARTED.md) guide.
157-
158-
### Tutorials and Examples
159-
160-
You can find multiple examples on the [examples folder](./examples) that will guide you through using libp2p for several scenarios.
161-
162167
## Development
163168

164169
**Clone and install dependencies:**

0 commit comments

Comments
 (0)