This project is a simple chat application that enables users to connect via WebSockets and communicate in real-time. The server is written in Go, leveraging the gorilla/websocket
package. The client features a Text-based User Interface (TUI) built with the charm/bubbletea
library, offering an interactive and user-friendly way to engage in chat.
- Go (1.21.5 or later)
-
Clone the repository:
git clone https://github.com/Askath/Go-ChatAndClient.git
-
Run the server:
go run server.go
- Navigate to the client directory:
cd client
- Run the client with TUI:
go run client.go
After starting the server and client:
- Interact with the client's TUI to send and receive messages in real-time.
- To exit the client, press
q
orCtrl+C
.
- Real-time messaging via WebSockets
- Interactive Text-based User Interface (TUI) for clients
This project is licensed under the MIT License.