Skip to content

Commit 564ef51

Browse files
committed
chore: add help section to all readmes
1 parent aba1456 commit 564ef51

File tree

14 files changed

+112
-4
lines changed

14 files changed

+112
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
- Read the [libp2p specs](https://github.com/libp2p/specs)
3535
- See https://blog.libp2p.io for news and more
3636
- Head over to https://proto.school to take interactive tutorials that cover core libp2p APIs
37-
- Need help? Please ask 'How do I?' questions on https://github.com/libp2p/js-libp2p/discussions
37+
- Need help? Visit the discussion board: https://github.com/libp2p/js-libp2p/discussions
3838

3939
## Getting Started
4040

examples/js-libp2p-example-browser-pubsub/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This example leverages the [vite bundler](https://vitejs.dev/) to compile and se
1616
- [Why do I need a Relay Server?](#why-do-i-need-a-relay-server)
1717
- [Start the Relay Server](#start-the-relay-server)
1818
- [Running the Example](#running-the-example)
19+
- [Need help?](#need-help)
1920
- [License](#license)
2021
- [Contribution](#contribution)
2122

@@ -89,6 +90,14 @@ You can now shut down the relay server if you wish.
8990

9091
You should see the message appear in the output section towards the bottom of the other browser window.
9192

93+
## Need help?
94+
95+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
96+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
97+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
98+
- Read the [libp2p specs](https://github.com/libp2p/specs)
99+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
100+
92101
## License
93102

94103
Licensed under either of

examples/js-libp2p-example-chat/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
- [Setup](#setup)
1313
- [Running](#running)
14+
- [Need help?](#need-help)
1415
- [License](#license)
1516
- [Contribution](#contribution)
1617

@@ -30,6 +31,14 @@
3031
4. Type a message in either window and hit *enter*
3132
5. Tell yourself secrets to your hearts content!
3233

34+
## Need help?
35+
36+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
37+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
38+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
39+
- Read the [libp2p specs](https://github.com/libp2p/specs)
40+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
41+
3342
## License
3443

3544
Licensed under either of

examples/js-libp2p-example-circuit-relay/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- [2. Set up a listener node with `discoverRelays` Enabled](#2-set-up-a-listener-node-with-discoverrelays-enabled)
1515
- [3. Set up a dialer node for testing connectivity](#3-set-up-a-dialer-node-for-testing-connectivity)
1616
- [4. What is next?](#4-what-is-next)
17+
- [Need help?](#need-help)
1718
- [License](#license)
1819
- [Contribution](#contribution)
1920

@@ -226,6 +227,14 @@ establish unencrypted connection from secure context. The simplest solution is
226227
to setup SSL with nginx and proxy to the node and setup a domain name for the
227228
certificate.
228229

230+
## Need help?
231+
232+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
233+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
234+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
235+
- Read the [libp2p specs](https://github.com/libp2p/specs)
236+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
237+
229238
## License
230239

231240
Licensed under either of

examples/js-libp2p-example-connection-encryption/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
## Table of contents <!-- omit in toc -->
1111

1212
- [Set up encrypted communications](#set-up-encrypted-communications)
13+
- [Need help?](#need-help)
1314
- [License](#license)
1415
- [Contribution](#contribution)
1516

@@ -55,6 +56,14 @@ And that's it, from now on, all your libp2p communications are encrypted. Try ru
5556

5657
To experiment with the plaintext implementation, run [plaintext.js](./plaintext.js).
5758

59+
## Need help?
60+
61+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
62+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
63+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
64+
- Read the [libp2p specs](https://github.com/libp2p/specs)
65+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
66+
5867
## License
5968

6069
Licensed under either of

examples/js-libp2p-example-custom-protocols/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- [Message formatting](#message-formatting)
1717
- [Putting it together](#putting-it-together)
1818
- [Next steps](#next-steps)
19+
- [Need help?](#need-help)
1920
- [License](#license)
2021
- [Contribution](#contribution)
2122

@@ -157,6 +158,14 @@ const output = JSON.parse(new TextDecoder().decode(res.subarray()))
157158
158159
To send more structured data, you can use [protons](https://www.npmjs.com/package/protons) to create protobuf definitions of your messages and [it-protobuf-stream](https://www.npmjs.com/package/it-protobuf-stream) to send them back and forth.
159160
161+
## Need help?
162+
163+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
164+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
165+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
166+
- Read the [libp2p specs](https://github.com/libp2p/specs)
167+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
168+
160169
## License
161170
162171
Licensed under either of

examples/js-libp2p-example-delegated-routing/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [Running this example](#running-this-example)
1313
- [Finding Content Providers via the Delegate](#finding-content-providers-via-the-delegate)
1414
- [Finding Peers via the Delegate](#finding-peers-via-the-delegate)
15+
- [Need help?](#need-help)
1516
- [License](#license)
1617
- [Contribution](#contribution)
1718

@@ -48,6 +49,14 @@ This should open your browser to <http://localhost:3000>. If it does not, go ahe
4849
2. Click "Find PeerInfo"
4950
3. If found, multiaddrs for the peer will appear in the box beneath the input fields
5051

52+
## Need help?
53+
54+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
55+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
56+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
57+
- Read the [libp2p specs](https://github.com/libp2p/specs)
58+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
59+
5160
## License
5261

5362
Licensed under either of

examples/js-libp2p-example-discovery-mechanisms/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [2. Using MulticastDNS to find other peers on the same network](#2-using-multicastdns-to-find-other-peers-on-the-same-network)
1414
- [3. Pubsub based Peer Discovery](#3-pubsub-based-peer-discovery)
1515
- [4. Where to find other Peer Discovery Mechanisms](#4-where-to-find-other-peer-discovery-mechanisms)
16+
- [Need help?](#need-help)
1617
- [License](#license)
1718
- [Contribution](#contribution)
1819

@@ -135,6 +136,14 @@ There are plenty more Peer Discovery Mechanisms out there, you can:
135136
- Any DHT will offer you a discovery capability. You can simple *random-walk* the routing tables to find other peers to connect to. For example [@libp2p/kad-dht](https://github.com/libp2p/js-libp2p/tree/master/packages/kad-dht) can be used for peer discovery. An example of how to configure it to enable random walks can be found [here](https://github.com/libp2p/js-libp2p/blob/v0.28.4/doc/CONFIGURATION.md#customizing-dht).
136137
- You can create your own Discovery service, a registry, a list, a radio beacon, you name it!
137138

139+
## Need help?
140+
141+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
142+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
143+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
144+
- Read the [libp2p specs](https://github.com/libp2p/specs)
145+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
146+
138147
## License
139148

140149
Licensed under either of

examples/js-libp2p-example-peer-and-content-routing/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ Found provider: QmSsmVPoTy3WpzwiNPnsKmonBaZjK2HitFs2nWUvwK31Pz
112112

113113
That's it, now you know how to find peers that have pieces of information that interest you!
114114

115+
## Need help?
116+
117+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
118+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
119+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
120+
- Read the [libp2p specs](https://github.com/libp2p/specs)
121+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
122+
115123
## License
116124

117125
Licensed under either of

examples/js-libp2p-example-pnet/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ directory to see how they differ, including the swarm keys. You should see a
4444
`swarm.key` file in each of the repos and when the nodes are on the same private
4545
network this contents of the `swarm.key` files should be the same.
4646

47+
## Need help?
48+
49+
- Read the [js-libp2p documentation](https://github.com/libp2p/js-libp2p/tree/main/doc)
50+
- Check out the [js-libp2p API docs](https://libp2p.github.io/js-libp2p/)
51+
- Check out the [general libp2p documentation](https://docs.libp2p.io) for tips, how-tos and more
52+
- Read the [libp2p specs](https://github.com/libp2p/specs)
53+
- Ask a question on the [js-libp2p discussion board](https://github.com/libp2p/js-libp2p/discussions)
54+
4755
## License
4856

4957
Licensed under either of

0 commit comments

Comments
 (0)