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: 7 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T04:52:34.000Z (almost 7 years ago)
- Last Synced: 2025-04-01T18:55:55.910Z (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 coders
Example:
start server: wetalk server -p 8086
start client:wetalk client ws://127.0.0.1:8086 -u somebody
Usage:
wetalk [command]
Available Commands:
client start websockets client
help Help about any command
server start websockets server
Flags:
-h, --help help for wetalk
--version version for wetalk
Use "wetalk [command] --help" for more information about a command.
```
$ wetalk server -h
```shell
start websockets server
Usage:
wetalk server [flags]
Flags:
-h, --help help for server
-p, --port int server port (default 8087)
```
$ wetalk client -h
```
start websockets client
Usage:
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)