Skip to content

Basic Websocket server and TUI Client with Bubbletea

License

Notifications You must be signed in to change notification settings

Askath/Go-ChatAndClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Application

Description

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.

Bildschirmfoto 2023-12-06 um 19 44 54

Installation

Prerequisites

  • Go (1.21.5 or later)

Setting Up the Server

  1. Clone the repository:

    git clone https://github.com/Askath/Go-ChatAndClient.git
  2. Run the server:

    go run server.go

Setting Up the Client

  1. Navigate to the client directory:
    cd  client
  2. Run the client with TUI:
    go run client.go

Usage

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 or Ctrl+C.

Features

  • Real-time messaging via WebSockets
  • Interactive Text-based User Interface (TUI) for clients

License

This project is licensed under the MIT License.

About

Basic Websocket server and TUI Client with Bubbletea

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages