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.
-
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.
- Go (Golang): Ensure you have Go installed on your machine. You can download it here.
-
Clone the repository:
git clone https://github.com/LamichhaneBibek/go-rtc.git cd go-rtc
-
Run the server:
go mod tidy go run main.go
-
Open your web browser and navigate to
http://localhost:8080
to access the chat application.
- You can customize the application settings, such as port and other configurations.
-
Gorilla Websockets: A WebSocket library for the Go programming language.
-
htmx: A JavaScript library for building web pages with high levels of interactivity.
Feel free to contribute to the project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated.
- Special thanks to the authors and contributors of Gorilla Websockets and htmx for their excellent work.
For any questions or concerns, please contact.
Happy chatting! 🚀