mirror of
https://github.com/saveside/spc.git
synced 2026-09-29 19:38:12 +00:00
No description
- C 99.2%
- CMake 0.8%
| .github/workflows | ||
| client | ||
| include | ||
| lib | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
save's pocket chat
A lightweight, concurrent chat server built in C using raw TCP sockets.
Featues
- Command handling: Type
/helpto 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.