1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

Moved the PureBasic version to OldSource/, Started the Rust rewrite in Source/

The rewrite's plan and decisions are in revamp.md. Steps 0 to 10 are done:
the workspace and checks, bakashrot-proto, bakashrot-pki and
bakashrot-cert, bakashrot-config, bakashrot-storage (schema v9), the
server and the client library (every request but replication's,
attachments and retention included), the C DLL with its C, PureBasic and
Python bindings, and the bakashrot tool. Step 11 (replication) is next.

OldSource/ is the old implementation, kept building and passing as the
reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RwFeVTGs2SsufaH6zquzcb
This commit is contained in:
2026-11-14 12:47:40 +01:00
parent d0048b17c8
commit e044fcf359
225 changed files with 21849 additions and 123 deletions
+12 -8
View File
@@ -1,5 +1,9 @@
# BakaShrot
A message store with replication, written in PureBasic.
A message store with replication.
> [!IMPORTANT]
> Being rewritten in Rust, see [revamp.md](revamp.md): the new sources go in [Source/](Source/README.md).
> The PureBasic implementation described below is in [OldSource/](OldSource/), where its commands are run from.
Servers take messages (usually JSON) per topic and node from authenticated clients,
store them in SQLite, and replicate them to their peers by name.
@@ -20,16 +24,16 @@ store them in SQLite, and replicate them to their peers by name.
* A Python module over the DLL, without dependencies, as a wheel with the DLLs in it
## Building
Requires PureBasic 5.73 or 6.40+ and the submodules.
## Building (the PureBasic implementation)
Requires PureBasic 5.73 or 6.40+ and the submodules. From `OldSource/`:
* **Development:** `powershell -ExecutionPolicy Bypass -File Build.ps1` (into `Build\`)
* **Release:** `powershell -ExecutionPolicy Bypass -File Release.ps1` (into `Release\`)
* **Docker:** See [Docker/README.md](Docker/README.md)
* **Python:** See [Interactors/Python/README.md](Interactors/Python/README.md)
* **Docker:** See [OldSource/Docker/README.md](OldSource/Docker/README.md)
* **Python:** See [OldSource/Interactors/Python/README.md](OldSource/Interactors/Python/README.md)
See [Examples/](Examples/README.md) for ready-to-run setups,
and [Server/Config/schema.ini](Server/Config/schema.ini) for every option of the server.
See [OldSource/Examples/](OldSource/Examples/README.md) for ready-to-run setups,
and [OldSource/Server/Config/schema.ini](OldSource/Server/Config/schema.ini) for every option of the server.
## Cloning
@@ -45,4 +49,4 @@ All the code in this repo is released in the [Public Domain](LICENSE).
Please note that this doesn't apply to the required PureBasic archives.
The releases and the Python wheel include [libsodium](https://libsodium.org), under the [ISC license](Libs/libsodium/LICENSE).
The releases and the Python wheel include [libsodium](https://libsodium.org), under the [ISC license](OldSource/Libs/libsodium/LICENSE).