This is a simple chat application that uses Server-Sent Events (SSE) and HTMX to create a chat application. Allows multiroom chat. So far, the app has only two rooms: Friends
and Family
and the messages are not persisted.
This app is built using the following technologies:
- Multiroom chat
- Real-time chat
- Simple and easy to use
Screen.Recording.2024-09-20.at.5.28.26.PM.mov
To run the app, you need to have Go installed on your machine. You can download Go from here.
After installing Go, you need to install kit, which is the CLI tool for Leapkit. You can install kit by running the following command:
go install github.com/leapkit/leapkit/kit@latest
After installing kit, you have to install the dependencies for the app and set up. You can do this by running the following command:
go mod download
go run ./cmd/setup
After setting up the app, you can run the app by running the following command:
kit s
This will start the app on http://localhost:3000
.
Contributions are welcome. Feel free to open an issue or a pull request.