# BakaShrot A message store with replication. Servers take messages (usually JSON) per topic and node from authenticated clients, store them in SQLite, and replicate them to other servers by topic and node name. > [!NOTE] > Meant as an internal tool on trusted machines and networks. ## Features * TLS 1.3 connections, both ends proving who they are with certificates from your own CA (`bakashrot-cert`) * Replication between servers, by topic and node names * Attachments, one per message, 1 GB by default * Per-topic retention * Read-only SQL queries on the stored messages * Clients: * A C library (`bakashrot.dll`, `libbakashrot.so`), with a C header and PureBasic prototypes * A CLI tool to push, read, query and list * A Python module over the library, without dependencies, as a wheel with the library in it See [revamp.md](revamp.md) for what was decided, and the plan. ## Building Requires [rustup](https://rustup.rs) (it installs the pinned toolchain, [rust-toolchain.toml](rust-toolchain.toml), by itself; on Windows, Visual Studio's C++ tools for the linker) and Python 3.11+ for releases. From the repository's root, on Windows (`powershell -ExecutionPolicy Bypass -File