Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenjiandongx/wetalk
📠 wetalk is a chatroom application for coders based on websockets
https://github.com/chenjiandongx/wetalk
chat-client chat-server chatroom
Last synced: 3 months ago
JSON representation
📠 wetalk is a chatroom application for coders based on websockets
- Host: GitHub
- URL: https://github.com/chenjiandongx/wetalk
- Owner: chenjiandongx
- License: mit
- Created: 2019-01-17T06:34:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T04:52:34.000Z (about 6 years ago)
- Last Synced: 2024-06-20T17:43:26.731Z (8 months ago)
- Topics: chat-client, chat-server, chatroom
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📠 wetalk
> wetalk is a chatroom application for coders based on websockets[](https://goreportcard.com/report/github.com/chenjiandongx/wetalk) [](https://opensource.org/licenses/MIT)
### 🔰 安装
```shell
$ go get github.com/chenjiandongx/wetalk
```### 📝 使用
$ wetalk
```shell
wetalk is a chatroom application for codersExample:
start server: wetalk server -p 8086
start client:wetalk client ws://127.0.0.1:8086 -u somebodyUsage:
wetalk [command]Available Commands:
client start websockets client
help Help about any command
server start websockets serverFlags:
-h, --help help for wetalk
--version version for wetalkUse "wetalk [command] --help" for more information about a command.
```$ wetalk server -h
```shell
start websockets serverUsage:
wetalk server [flags]Flags:
-h, --help help for server
-p, --port int server port (default 8087)
```$ wetalk client -h
```
start websockets clientUsage:
wetalk client [flags]Flags:
-h, --help help for client
-u, --name string nickname in the chatroom
```### 📺 示例
### 🙏🏻Thanks
* [hashrocket/ws](https://github.com/hashrocket/ws/blob/master/connection.go)
* [gorilla/websocket](https://github.com/gorilla/websocket)
* [scotch-io/go-realtime-chat](https://github.com/scotch-io/go-realtime-chat)### 📃 License
MIT [©chenjiandongx](http://github.com/chenjiandongx)