Skip to content

Commit fd536fc

Browse files
committed
Standardized Readme
See ipfs/community#124
1 parent 5100dce commit fd536fc

File tree

1 file changed

+37
-25
lines changed

1 file changed

+37
-25
lines changed

README.md

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,36 @@
1-
[libp2p](https://github.com/ipfs/specs/tree/master/libp2p) implementation in Go.
2-
===================
1+
# [libp2p](https://github.com/ipfs/specs/tree/master/libp2p) implementation in Go.
2+
3+
![](https://raw.githubusercontent.com/diasdavid/specs/libp2p-spec/protocol/network/figs/logo.png)
34

45
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
56
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
7+
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
8+
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
69
[![GoDoc](https://godoc.org/github.com/ipfs/go-libp2p?status.svg)](https://godoc.org/github.com/ipfs/go-libp2p)
710
[![Build Status](https://travis-ci.org/ipfs/go-libp2p.svg?branch=master)](https://travis-ci.org/ipfs/go-libp2p)
811

9-
![](https://raw.githubusercontent.com/diasdavid/specs/libp2p-spec/protocol/network/figs/logo.png)
10-
1112
> libp2p implementation in Go
1213
13-
# Description
14-
1514
[libp2p](https://github.com/ipfs/specs/tree/master/libp2p) is a networking stack and library modularized out of [The IPFS Project](https://github.com/ipfs/ipfs), and bundled separately for other tools to use.
16-
>
17-
libp2p is the product of a long, and arduous quest of understanding -- a deep dive into the internet's network stack, and plentiful peer-to-peer protocols from the past. Building large scale peer-to-peer systems has been complex and difficult in the last 15 years, and libp2p is a way to fix that. It 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.
18-
>
19-
> We will be writing a set of docs, posts, tutorials, and talks to explain what p2p is, why it is tremendously useful, and how it can help your existing and new projects. But in the meantime, check out
20-
>
21-
> - [**The IPFS Network Spec**](https://github.com/ipfs/specs/tree/master/libp2p), which grew into libp2p
22-
> - [**go-libp2p implementation**](https://github.com/ipfs/go-libp2p)
23-
> - [**js-libp2p implementation**](https://github.com/diasdavid/js-libp2p)
2415

25-
# Contribute
16+
libp2p is the product of a long and arduous quest of understanding -- a deep dive into the internet's network stack, and plentiful peer-to-peer protocols from the past. Building large scale peer-to-peer systems has been complex and difficult in the last 15 years, and libp2p is a way to fix that. It 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.
2617

27-
libp2p implementation in Go is a work in progress. As such, there's a few things you can do right now to help out:
28-
- Go through the modules below 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 infrasture behind it - for instance, you may need to read up on p2p and more complex operations like muxing to be able to help technically.
29-
- **Perform code reviews**.
30-
- **Add tests**. There can never be enough tests.
18+
We will be writing a set of docs, posts, tutorials, and talks to explain what p2p is, why it is tremendously useful, and how it can help your existing and new projects. But in the meantime, check out:
3119

32-
# Usage
20+
- [**The IPFS Network Spec**](https://github.com/ipfs/specs/tree/master/libp2p), which grew into libp2p
21+
- [**go-libp2p implementation**](https://github.com/ipfs/go-libp2p)
22+
- [**js-libp2p implementation**](https://github.com/diasdavid/js-libp2p)
3323

34-
`go-libp2p` repo will be a place holder for the list of Go modules that compose Go libp2p, as well as its entry point.
24+
## Table of Contents
25+
26+
- [Install](#install)
27+
- [Usage](#usage)
28+
- [Examples](#examples)
29+
- [Run tests](#run-tests)
30+
- [Links](#links)
31+
- [Extracting packages from go-libp2p](#extracting-packages-from-go-libp2p)
32+
- [Contribute](#contribute)
33+
- [License](#license)
3534

3635
## Install
3736

@@ -41,24 +40,26 @@ $ cd $GOPATH/src/github.com/ipfs/go-libp2p
4140
$ make
4241
```
4342

44-
# Examples
43+
## Usage
44+
45+
`go-libp2p` repo will be a place holder for the list of Go modules that compose Go libp2p, as well as its entry point.
46+
47+
## Examples
4548

4649
Examples can be found on the [libp2p-examples repo](https://github.com/whyrusleeping/libp2p-examples/)
4750

48-
# Run tests
51+
## Run tests
4952

5053
```bash
5154
$ cd $GOPATH/src/github.com/ipfs/go-libp2p
5255
$ make deps
5356
$ go test ./p2p/<path of module you want to run tests for>
5457
```
5558

56-
5759
## Links
5860
- [**Specs**](https://github.com/ipfs/specs/tree/master/libp2p)
5961
- [**Website**](https://github.com/diasdavid/libp2p-website)
6062

61-
6263
## Extracting packages from go-libp2p
6364

6465
We want to maintain history, so we'll use git-subtree for extracting packages.
@@ -109,3 +110,14 @@ We want to maintain history, so we'll use git-subtree for extracting packages.
109110
> git remote rm libp2p
110111
> git push origin master
111112
```
113+
114+
## Contribute
115+
116+
libp2p implementation in Go is a work in progress. As such, there's a few things you can do right now to help out:
117+
- Go through the modules below 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 infrasture behind it - for instance, you may need to read up on p2p and more complex operations like muxing to be able to help technically.
118+
- **Perform code reviews**.
119+
- **Add tests**. There can never be enough tests.
120+
121+
## License
122+
123+
MIT

0 commit comments

Comments
 (0)