https://github.com/moedevelops/chatding
Simple SSE Chat in pure Gleam
https://github.com/moedevelops/chatding
Last synced: 4 months ago
JSON representation
Simple SSE Chat in pure Gleam
- Host: GitHub
- URL: https://github.com/moedevelops/chatding
- Owner: MoeDevelops
- License: mit
- Created: 2024-11-21T17:47:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-03T12:12:31.000Z (9 months ago)
- Last Synced: 2026-02-01T14:46:16.984Z (5 months ago)
- Language: Gleam
- Homepage: https://chatding.moedev.me/
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chatding
Chatding is a reimplementation of the [Chatthing](https://github.com/0x6DD8/chatthing) project. It is a simple chat application built using Gleam and HTMX, with server-sent events (SSE) for real-time updates and a web-based frontend.
## Features
- Real-time chat updates using Server-Sent Events (SSE)
- Session management with cookies
- Written in Gleam
## Getting Started
### Prerequisites
- Gleam
- Erlang
- rebar3
### Installation
1. Clone the repository:
```sh
git clone https://github.com/MoeDevelops/chatding
cd chatding
```
2. Build the project:
```sh
gleam build
```
3. Run the server:
```sh
gleam run
```
The server will start on port 5001.
### Usage
Open your web browser and navigate to `http://localhost:5001` to start using the chat application.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Acknowledgements
- [Chatthing](https://github.com/0x6DD8/chatthing) - The original project that inspired this reimplementation.
- [nakai](https://github.com/aslilac/nakai) - A Gleam library for building HTML on the server.
- [mist](https://github.com/rawhat/mist) - A Gleam http server with sse support.
- [wisp](https://github.com/gleam-wisp/wisp) - A Gleam web framework built on mist.
- [htmx](https://github.com/bigskysoftware/htmx) - A library for accessing modern browser features directly from HTML.