A lightweight chat app in the terminal using libsodium
  • C++ 94.3%
  • CMake 5.7%
Find a file
2026-04-09 00:50:14 +02:00
CMakeLists.txt chore: import tcp foundation from http-server 2026-04-09 00:50:14 +02:00
main.cpp chore: import tcp foundation from http-server 2026-04-09 00:50:14 +02:00
README.md Add README.md 2026-04-06 22:39:26 +00:00
router.cpp chore: import tcp foundation from http-server 2026-04-09 00:50:14 +02:00
router.hpp chore: import tcp foundation from http-server 2026-04-09 00:50:14 +02:00
socket_wrapper.hpp chore: import tcp foundation from http-server 2026-04-09 00:50:14 +02:00
tcp_server.cpp chore: import tcp foundation from http-server 2026-04-09 00:50:14 +02:00
tcp_server.hpp chore: import tcp foundation from http-server 2026-04-09 00:50:14 +02:00

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