在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:manishmeganathan/peerchat开源软件地址:https://github.com/manishmeganathan/peerchat开源编程语言:Go 94.6%开源软件介绍:PeerChatA terminal-based P2P chat application using libp2p and Golang that uses a Kademlia DHT and the IPFS network for peer discovery and routingVersion: 1.1.0 OverviewThe application was inspired by chat examples found on libp2p's pubsub library, but is more evolved and fully featured version of it. The application also allows users to jump between different chat rooms without having to restart the application and they can also change their usernames at any point. The application works for two nodes on the same network or on different networks. Nodes that are behind NATs on private network are able to communicate with each other because the application attempts to configure the router automatically using UPnP and also uses AutoRelay (TURN) to facilitate the connection between private nodes by discovering relay nodes and connecting to them. Note: Communcation between nodes on different private networks works only from v1.1.0. Dependancieslibp2plibp2p is a modular network stack library born out of The IPFS Project. go-libp2p Repository tviewtview is terminal UI library written in Golang with a collection of rich, interactive widgets. tview Repository InstallationThe PeerChat applcation can be installed in one of two ways.
UsageWhen the PeerChat application is invoked without any flags, it joins the lobby chat room as a user named newuser. This can be modified by passing the The following starts the application and joins the mychatroom chat room as a user named manish.
The method of peer discovery method can be modified using the The loglevel for the application startup runtime can be modified using the Future Development
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论