dotnet-libp2p
dotnet-libp2p copied to clipboard
Improve samples UI
Is your feature request related to a problem? Please describe. The following examples need good UI and docs:
- https://github.com/NethermindEth/dotnet-libp2p/tree/main/src/samples/chat
- https://github.com/NethermindEth/dotnet-libp2p/tree/main/src/samples/pubsub-chat
Describe the solution you'd like
- Add good console UI for the chats
- Add usage docs and cli help
Additional context
- the apps are analogous to https://github.com/libp2p/go-libp2p/tree/master/examples/chat and https://github.com/libp2p/go-libp2p/tree/master/examples/pubsub/chat
Hi @flcl42 , would like to work on this. Can you explain this in a bit more detail?
@shubham-sonthalia thanks for the interest! Yep, sure. So the examples are similar to ones made for go implementation. Go apps have basic UI like this:
We could try to make similar interface using any decent console-UI .NET library, and display logs in some convenient way or even write just to file optionally.
Okay, as I understand it, we need a UI for showing logs. To achieve this, the first ask is to search and use a good .NET UI library. Secondly, we need to bind this UI with the log data. Is my understanding correct?
For console UI, can we go ahead with https://github.com/gui-cs/Terminal.Gui ?
@shubham-sonthalia sorry I totally missed your replies, yep, you can try this lib, looks like it has all controls needed.