From a204151b7fcc89952a92cf494d8fe2e91e2e7396 Mon Sep 17 00:00:00 2001 From: Emendir Date: Sat, 21 Jun 2025 15:11:28 +0200 Subject: [PATCH] UI: renamed 'Correspondence' to 'Chat' --- README.md | 24 ++++++++++++++++++++++-- src/endra_app/chat_page.kv | 2 +- src/endra_app/side_bar.kv | 8 ++++---- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0a19e50..e65833f 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,35 @@ ## Endra App + _P2P Messenger_ Based on IPFS, the Walytis database blockchain, and Walytis-Identities DID management technologies, this peer to peer messenger support multiple devices per user, and group chats. +## Run From Source + +Install Prerequisites: + +```sh +./install_prereqs.sh +pip install -r requirements.txt +pip install -r requirements-dev.txt +``` + +```sh +USE_PANGO=0 python . +``` + +### Environment Variables + +- `USE_PANGO` (defaults to true on Linux): Use the Pango text provider to enable broader character & emoji text rendering support +- `USE_BRENTHY` (defaults to false): Instead of running an embedded IPFS and Walytis node, use the separately running system services for IPFS and Walytis. This enables faster loading times. To set up IPFS & Walytis in this way, [install Brenthy](https://github.com/emendir/BrenthyAndWalytis) + ## DevOps -For speedy starting and termination of the app, on Linux, install Brenthy to run Walytis & IPFS as a systemd service. +For speedy starting and termination of the app, on Linux, [install Brenthy](https://github.com/emendir/BrenthyAndWalytis) to run Walytis & IPFS as a systemd service. Then run Endra with: ```sh -USE_BRENTHY=1 python tests/test_app.py +USE_PANGO=0 USE_BRENTHY=1 python tests/test_app.py ``` Pressing Ctrl+C in the terminal should promptly close the Endra app. diff --git a/src/endra_app/chat_page.kv b/src/endra_app/chat_page.kv index f779a5b..3b6727b 100644 --- a/src/endra_app/chat_page.kv +++ b/src/endra_app/chat_page.kv @@ -49,7 +49,7 @@ Button: id: invite_btn size_hint_x: 1 - text: "invite to this correspondence" + text: "invite to this chat" size_hint: 1, None height: 50 background_color: 0.8, 0.3, 0.3, 1 # Light red button diff --git a/src/endra_app/side_bar.kv b/src/endra_app/side_bar.kv index e8483de..a0cd7b5 100644 --- a/src/endra_app/side_bar.kv +++ b/src/endra_app/side_bar.kv @@ -61,13 +61,13 @@ Button: id: add_corresp_btn - text: "Add Correspondence" + text: "Add Chat" size_hint: 1, None height: 50 background_color: 0.8, 0.3, 0.3, 1 # Light red button font_size: sp(16) : - title:'New Correspondence' + title:'New Chat' size_hint: None, None size_hint: 0.9,0.9 auto_dismiss: True @@ -82,12 +82,12 @@ id: join_conv_btn size_hint_y:1 font_size: sp(16) - text: 'join existing correspondence' + text: 'join existing chat' Button: id: create_conv_btn size_hint_y:1 - text: 'create new correspondence' + text: 'create new chat' Button: size_hint_y:1 text: 'cancel'