From 504e433c0093ecf66ff5ce9ae5b534e64aa5c27a Mon Sep 17 00:00:00 2001
From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com>
Date: Tue, 17 Feb 2026 11:12:19 -0800
Subject: [PATCH] Rename Prep (#63)
* Remove Nim-Chat-POC references
* Update nimble file.
* Remove references to ChatSDK as a product
---
.gitignore | 4 ++--
DEVELOPING.md | 12 ++++++------
Makefile | 14 +++++++-------
README.md | 2 +-
library/liblogoschat.nim | 4 ++--
nim_chat_poc.nimble => logos_chat.nimble | 12 ++++++------
6 files changed, 24 insertions(+), 24 deletions(-)
rename nim_chat_poc.nimble => logos_chat.nimble (87%)
diff --git a/.gitignore b/.gitignore
index 7fe05ef..d81d275 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
/waku_vibe_template
/waku_vibe_template.dSYM
-/nim_chat_poc
+/logos_chat
*.dSYM
nimble.develop
nimble.paths
@@ -21,7 +21,7 @@ nimble.paths
/tags
# a symlink that can't be added to the repo because of Windows
-/nim_chat_poc.nims
+/logos_chat.nims
# Ignore dynamic, static libs and libtool archive files
*.so
diff --git a/DEVELOPING.md b/DEVELOPING.md
index 32fe621..e707d70 100644
--- a/DEVELOPING.md
+++ b/DEVELOPING.md
@@ -5,9 +5,9 @@
```mermaid
flowchart TD
- NIM("nim-chat-poc
c-bingings, process control, networking")
+ NIM("Logos-Chat
c-bingings, process control, networking")
LIB("libchat
encryption, encoding")
- PROTO("chat_proto
protobufs, language specific types")
+ PROTO("chat-proto
protobufs, language specific types")
LMN("logos-messaging-nim
p2p networking")
@@ -22,13 +22,13 @@ style LMN fill:#fff
## Repositories
-### nim-chat-poc
+### logos-chat
Root of the Logos chat SDK, written in Nim.
Handles async operations and bridges network operations with the cryptographic backend.
**Responsibilities:**
-- C bindings to libchat
+- C bindings to Libchat
- Async execution (Chronos)
- Network integration
@@ -42,12 +42,12 @@ Operates as a pipeline: accepts either encrypted payloads or plaintext content,
- Encoding/decoding
-### logos-messaging-nim
+### logos-message-delivery
P2P networking layer using logos-messaging protocol.
Provides decentralized message transport. This is an external dependency.
-### chat_proto
+### chat-proto
Protobuf definitions.
Defines the protobufs used in the logos-chat protocol and provides generated types for various languages.
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 2c3f724..236d4fa 100644
--- a/Makefile
+++ b/Makefile
@@ -41,12 +41,12 @@ define test_name
$(shell echo '$(MAKECMDGOALS)' | cut -d' ' -f3-)
endef
-nim_chat_poc.nims:
- ln -s nim_chat_poc.nimble $@
+logos_chat.nims:
+ ln -s logos_chat.nimble $@
update: | update-common
- rm -rf nim_chat_poc.nims && \
- $(MAKE) nim_chat_poc.nims $(HANDLE_OUTPUT)
+ rm -rf logos_chat.nims && \
+ $(MAKE) logos_chat.nims $(HANDLE_OUTPUT)
clean:
rm -rf build
@@ -97,7 +97,7 @@ build-libchat:
.PHONY: tests
tests: | build-waku-librln build-waku-nat build-libchat nim_chat_poc.nims
echo -e $(BUILD_MSG) "build/$@" && \
- $(ENV_SCRIPT) nim tests $(NIM_PARAMS) nim_chat_poc.nims
+ $(ENV_SCRIPT) nim tests $(NIM_PARAMS) logos_chat.nims
##########
@@ -107,7 +107,7 @@ tests: | build-waku-librln build-waku-nat build-libchat nim_chat_poc.nims
# Ensure there is a nimble task with a name that matches the target
tui bot_echo pingpong: | build-waku-librln build-waku-nat build-libchat nim_chat_poc.nims
echo -e $(BUILD_MSG) "build/$@" && \
- $(ENV_SCRIPT) nim $@ $(NIM_PARAMS) --path:src nim_chat_poc.nims
+ $(ENV_SCRIPT) nim $@ $(NIM_PARAMS) --path:src logos_chat.nims
###########
## Library ##
@@ -127,7 +127,7 @@ LIBLOGOSCHAT := build/liblogoschat.$(LIBLOGOSCHAT_EXT)
.PHONY: liblogoschat
liblogoschat: | build-waku-librln build-waku-nat build-libchat nim_chat_poc.nims
echo -e $(BUILD_MSG) "$(LIBLOGOSCHAT)" && \
- $(ENV_SCRIPT) nim liblogoschat $(NIM_PARAMS) --path:src nim_chat_poc.nims && \
+ $(ENV_SCRIPT) nim liblogoschat $(NIM_PARAMS) --path:src logos_chat.nims && \
echo -e "\n\x1B[92mLibrary built successfully:\x1B[39m" && \
echo " $(shell pwd)/$(LIBLOGOSCHAT)"
diff --git a/README.md b/README.md
index 746e9b2..0129dc9 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Nim Chat POC
+# Logos Chat
This is the technical proof of a modular e2ee chat protocol using Waku. You can find discussion and details [here](https://github.com/waku-org/specs/pull/73)
diff --git a/library/liblogoschat.nim b/library/liblogoschat.nim
index 5d86a6e..f0f87f3 100644
--- a/library/liblogoschat.nim
+++ b/library/liblogoschat.nim
@@ -1,7 +1,7 @@
-## liblogoschat - C bindings for the Chat SDK
+## liblogoschat - C bindings for Logos-Chat
## Main entry point for the shared library
##
-## This library exposes the Chat SDK functionality through a C-compatible FFI interface.
+## This library exposes the chat functionality through a C-compatible FFI interface.
## It uses nim-ffi for thread-safe async request handling.
import std/[json, options]
diff --git a/nim_chat_poc.nimble b/logos_chat.nimble
similarity index 87%
rename from nim_chat_poc.nimble
rename to logos_chat.nimble
index c10c360..cb4a705 100644
--- a/nim_chat_poc.nimble
+++ b/logos_chat.nimble
@@ -1,11 +1,11 @@
# Package
version = "0.1.0"
-author = "jazzz"
-description = "An example of the chat sdk in Nim"
+author = "Logos.co"
+description = "LogosChat is a decentralized permissionless messaging protocol."
license = "MIT"
srcDir = "src"
-bin = @["nim_chat_poc"]
+bin = @["logos_chat"]
# Dependencies
@@ -76,8 +76,8 @@ task bot_echo, "Build the EchoBot example":
task pingpong, "Build the Pingpong example":
let name = "pingpong"
- buildBinary name, "examples/", "-d:chronicles_log_level='INFO' -d:chronicles_disabled_topics='waku node' "
+ buildBinary name, "./", "-d:chronicles_log_level='INFO' -d:chronicles_disabled_topics='waku node' "
-task liblogoschat, "Build the Chat SDK shared library (C bindings)":
- buildLibrary "logoschat", "library/",
+task liblogoschat, "Build the Logos-Chat shared library (C bindings)":
+ buildLibrary "logoschat", "library/",
"-d:chronicles_log_level='INFO' -d:chronicles_enabled=on --path:src --path:vendor/nim-ffi"