Skip to content

0x6DD8/chatthing

Repository files navigation

Chatthing

Chatthing is a reimplementation of the Chatding project. It is a simple chat application built using Go 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 Go

Getting Started

Prerequisites

  • Go 1.23.2 or later

Installation

  1. Clone the repository:
git clone https://github.com/0x6DD8/chatthing.git
cd chatthing
  1. Build the project:
make all
  1. Run the server:
./target/chatthing_linux # ./target/chatthing.exe on Windows

The server will start on port 5000.

Usage

Open your web browser and navigate to http://localhost:5000 to start using the chat application.

License

This project is licensed under the Unlicense. See the LICENSE file for details.

Acknowledgements

  • Chatding - The original project that inspired this reimplementation.
  • gomponents - A Go library for building HTML components.
  • htmx - A library for accessing modern browser features directly from HTML.