A lightweight chat app in the terminal using libsodium
- C++ 94.3%
- CMake 5.7%
| CMakeLists.txt | ||
| main.cpp | ||
| README.md | ||
| router.cpp | ||
| router.hpp | ||
| socket_wrapper.hpp | ||
| tcp_server.cpp | ||
| tcp_server.hpp | ||
Nisaba
Lightweight chat app in the terminal
Features
- End-to-end encrypted messaging via libsodium
- Ephemeral rooms — exist as long as at least one user is present
- Minimal CLI interface with a clean startup screen
Usage
Server
nisaba start
While running:
stop
sigterm is also handled cleanly
Client
nisaba connect <host>
While connected, messages are sent as-is. Commands are prefixed with /:
/create <name> # create a room
/delete <name> # delete a room (must be empty or only include you)
/disconnect
Building
conan install . --build=missing -s build_type=Debug
cmake --preset conan-debug
cmake --build --preset conan-debug
Dependencies
- libsodium — encryption