No description
  • C 99.2%
  • CMake 0.8%
Find a file
2026-06-27 21:15:04 +03:00
.github/workflows build(cmake): set cmake_minimum_required to 3.22 2026-06-27 21:15:04 +03:00
client refactor: modularize commands system 2026-06-27 18:59:33 +03:00
include refactor: modularize commands system 2026-06-27 18:59:33 +03:00
lib refactor: modularize commands system 2026-06-27 18:59:33 +03:00
src feat: add argument parsing 2026-06-27 20:19:07 +03:00
.gitignore refactor: modularize commands system 2026-06-27 18:59:33 +03:00
CMakeLists.txt build(cmake): set cmake_minimum_required to 3.22 2026-06-27 21:15:04 +03:00
LICENSE feat: add MIT license 2026-06-27 19:05:26 +03:00
README.md feat: add argument parsing 2026-06-27 20:19:07 +03:00

save's pocket chat

A lightweight, concurrent chat server built in C using raw TCP sockets.

Featues

  • Command handling: Type /help to explore commands
  • Rooms: create and switch between named chat rooms
  • Room history: new joined users see recent messages on entry (circular buffer)

To-Do

  • Implement a custom CLI client
  • Implement user authentication
  • Personalization for Users
  • Add a support for private messages

Installation

git clone https://github.com/saveside/spc
cd spc
mkdir build & cd build
cmake ..
cmake --build .

Usage

To use spc, simply run the command below in your terminal:

./server start

To change the default port (8080), use the -p or --port flag:

./server start --port 9000

You can connect to server using standard networking tools like netcat (nc) or telnet.

nc localhost 8080

License

spc is licensed under the MIT License. See LICENSE for more information.