2023

Redis Terminal Chat App

A real-time Redis-powered multi-room console chat system with Pub/Sub, chat history, presence events, and private messaging.

Redis Advanced Chat Console

Redis Advanced Chat Console

A real-time Redis-powered terminal chat application built with .NET, allowing multiple users to join chat rooms, send messages, receive live updates, and communicate via private messages.

The app supports multiple rooms, user presence events, chat history, and Redis Pub/Sub messaging for real-time communication.


Features

  • Join and leave chat rooms
  • Real-time messaging using Redis Pub/Sub
  • User join / leave notifications
  • Chat history loading per room
  • Private messages
  • Room discovery
  • Interactive command system
  • Color-coded console output

Technologies Used

LanguageC#
Runtime.NET 7 / .NET 8
MessagingRedis (Pub/Sub)
Client TypeConsole Application
InfrastructureRedis Server (local or remote)
MiscellaneousANSI Console Colors, Multi-Session Support

Installation & Run

Clone the repository and navigate into the project folder:

git clone https://github.com/B3atrixKiddo/redisLiveChat.git  

cd redisLiveChat 

Run the application.

dotnet run

First Launch Flow

When starting the app, you will be prompted for:

  • Username
  • Password
  • Chat room name

Example:

Enter Your Name: Kiddo2

Create Password: **********

Enter Chat room Name: channel1

Redis Chat Console

Chat Room Experience

Once connected:

  • Chat history is loaded

  • You receive join notifications

  • Messages appear in real-time

    Redis Chat Console

Messaging

Type directly into the console to send messages.

hey kiddo!

are you here?

Messages appear instantly for all connected users in the same room.

Redis Chat Console
Redis Chat Console
Redis Chat Console

User Presence Events

The system automatically broadcasts join and leave events.

[11:22] Kiddo joined the room.

[11:36] Kiddo left the room.

Redis Chat Console

Commands

Type /help to see all available commands.

/join roomName - join a chat room
/leave - leave current room
/rooms - list all rooms
/dm user message - send private message
/exit - exit app

Redis Chat Console

Redis Chat Console
Explore more projects