Skip to content

hendriknielaender/zig-htmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig-HTMX Chat Application

Overview

The Zig-HTMX Chat Application is a real-time chat platform that combines the power of Zig for server-side operations with HTMX on the frontend. This application uses WebSockets for seamless, real-time communication between users.

Features

  • Real-Time Messaging: Instantly send and receive messages using WebSockets.
  • Zig Backend: Utilizes the efficiency and safety of Zig programming language.
  • HTMX Frontend: Dynamic and responsive UI without writing JavaScript.
  • Minimalist Design: Easy-to-use interface focusing on functionality.

Prerequisites

Before running the Zig-HTMX Chat Application, ensure you have the following installed:

  • Zig (latest version)
  • A modern web browser supporting HTMX and WebSockets

Installation

  1. Clone the Repository
    git clone https://github.com/hendriknielaender/zig-htmx.git
    cd zig-htmx
  2. Build the Zig Server(zap)
    zig build
  3. Run the server
    zig-out/bin/zig-htmx
  4. Access the Application
    Open your web browser and go to http://localhost:3010.