LamichhaneBibek / go-rtc

reat time chat, golang, web sockets, htmx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-rtc

Simple Real-Time Chat App

Overview

This is a simple real-time chat application built using Golang, Gorilla Websockets, and htmx. It allows users to connect to a chat room and exchange messages in real-time.

Features

  • Real-Time Communication: Utilizes Gorilla Websockets to enable real-time bidirectional communication between the server and clients.

  • Minimalistic UI: The frontend is designed with simplicity in mind, using htmx for dynamic updates without the need for extensive JavaScript.

  • Chat Rooms: Users can join chat rooms to communicate with others.

Requirements

  • Go (Golang): Ensure you have Go installed on your machine. You can download it here.

Getting Started

  1. Clone the repository:

    git clone https://github.com/LamichhaneBibek/go-rtc.git
    cd go-rtc
  2. Run the server:

    go mod tidy
    go run main.go
  3. Open your web browser and navigate to http://localhost:8080 to access the chat application.

Configuration

  • You can customize the application settings, such as port and other configurations.

Dependencies

  • Gorilla Websockets: A WebSocket library for the Go programming language.

  • htmx: A JavaScript library for building web pages with high levels of interactivity.

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated.

Acknowledgments

  • Special thanks to the authors and contributors of Gorilla Websockets and htmx for their excellent work.

Contact

For any questions or concerns, please contact.

Reference

Happy chatting! 🚀

About

reat time chat, golang, web sockets, htmx


Languages

Language:Go 75.6%Language:HTML 24.4%