GithubHelp home page GithubHelp logo

vacaramin / go-websocket-chatroom Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 90 KB

Go WebSocket Chatroom is a real-time chat application implemented in Go. Users can exchange messages instantly using WebSockets. It offers authentication, join/leave notifications, and a user-friendly interface. The project is open-source and welcomes contributions. A secure and efficient solution for real-time communication.

Go 53.17% HTML 15.95% CSS 11.65% JavaScript 19.23%
go golang web-sockets websocket-chat websockets

go-websocket-chatroom's Introduction

๐Ÿš€ Go WebSocket Chatroom

Frontend of Chat Application

Welcome to the Go WebSocket Chatroom! This is a simple chatroom application implemented using WebSockets in the Go language. The application allows multiple users to join a chatroom and exchange messages in real-time. ๐Ÿ’ฌ

โœจ Features

  • Real-time messaging: Users can send and receive messages instantly in the chatroom. ๐Ÿ“ฉ๐Ÿ“จ
  • User authentication: Users can log in with their preferred username before joining the chatroom. ๐Ÿ”
  • Join/Leave notifications: The chatroom notifies other users when someone joins or leaves. ๐Ÿ“ข
  • User-friendly interface: The frontend provides an intuitive and responsive design for a seamless user experience. ๐ŸŒŸ

โš™๏ธ Prerequisites

Before running this application, make sure you have the following installed:

  • Go (1.16 or higher) ๐Ÿน
  • JavaScript-enabled web browser ๐ŸŒ

๐Ÿ“ฅ Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/vacaramin/go-websocket-chatroom.git
    
  2. Change to the project directory:

    cd go-websocket-chatroom
    
  3. Build the Go application:

    go build
    
  4. Start the server:

    ./go-websocket-chatroom
    

๐Ÿš€ Usage

  • Open your preferred web browser and visit http://localhost:8080.
  • Enter a username in the provided input field and click "Join Chat" to join the chatroom.
  • Start sending and receiving messages in real-time! โœ‰๏ธ๐Ÿ’ฌ

๐Ÿค Contributing

Contributions are welcome! If you find any issues or want to enhance the functionality of this application, feel free to open an issue or submit a pull request. Please make sure to follow the Contributing Guidelines when contributing.

๐Ÿ“„ License

This project is licensed under the MIT License.

๐Ÿ“ž Contact

If you have any questions or need any assistance, feel free to reach out:

go-websocket-chatroom's People

Contributors

vacaramin avatar

Stargazers

Ashad  avatar jist avatar

Watchers

 avatar

go-websocket-chatroom's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.