Skip to content

This project is a real-time chat application built using Go, Fiber, and HTMX. It allows users to join a single chat room and send messages in real-time. The backend is powered by Go and Fiber, a fast HTTP framework, while HTMX is used for dynamic, real-time interactions on the frontend without requiring a full page reload.

License

Notifications You must be signed in to change notification settings

avd1729/Sync-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync-Chat

Table of Contents

Introduction

This project is a real-time chat application built using Go, Fiber, and HTMX. It allows users to join a single chat room and send messages in real-time. The backend is powered by Go and Fiber, a fast HTTP framework, while HTMX is used for dynamic, real-time interactions on the frontend without requiring a full page reload.

Features

  • Real-time messaging using WebSockets
  • Single chat room
  • User-friendly interface
  • Lightweight and fast
  • Easy to deploy

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/realtime-chat-app.git
    cd realtime-chat-app
  2. Install Go dependencies:

    go mod download

Configuration

Create a .env file in the root directory and add the following configuration variables:

PORT=3000

You can modify the values according to your environment.

Running the Application

  1. Start the Go server:

    go run main.go
  2. Open your browser and navigate to:

    http://localhost:3000

Usage

  • Open the app in your browser.
  • Join the chat room.
  • Start sending messages in real-time.

Contributing

Contributions are welcome! Please fork the repository and use a feature branch. Pull requests are reviewed on a regular basis.

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

About

This project is a real-time chat application built using Go, Fiber, and HTMX. It allows users to join a single chat room and send messages in real-time. The backend is powered by Go and Fiber, a fast HTTP framework, while HTMX is used for dynamic, real-time interactions on the frontend without requiring a full page reload.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published