mirror of
https://github.com/vacp2p/universal-connectivity.git
synced 2026-01-07 22:33:55 -05:00
Somewhere between 1.0.15 and 1.0.22 react-curse broke the UI. There's [no convenient overview](https://github.com/infely/react-curse/issues/100) of changes so just pin it to the last working version while investigation is ongoing.
Node.js peer
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.
Getting Started
To start the app run:
npm start
# or
yarn start
# or
pnpm start
You should see a terminal user interface similar to this:
Use CTRL-C to exit the app.
Hacking
You can start editing the app by modifying ./App.tsx and restarting the app.
The libp2p configuration can be found in ./lib/libp2p.ts.
Learn More
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
