This is a JavaScript peer for the Universal Connectivity app implemented as a command line app using a Terminal User Interface aimed at Node.js.
The TUI is implemented using react-curse, a JavaScript so should be familiar to anyone who has used React before.
To start the app run:
npm start
# or
yarn start
# or
pnpm startYou should see a terminal user interface similar to this:
Use CTRL-C to exit the app.
You can start editing the app by modifying ./App.tsx and restarting the app.
The libp2p configuration can be found in ./lib/libp2p.ts.
To learn more about libp2p, take a look at the following resources:
- js-libp2p on GitHub - The js-libp2p repo
- API docs - API documentation
- Docs - Longer form docs
- Examples - How to do almost anything with your libp2p node
