Self-hosted chat server + normal peer UI (shared ChatScan) - #5
Draft
EricksonAtHome wants to merge 4 commits into
Draft
EricksonAtHome wants to merge 4 commits into
EricksonAtHome wants to merge 4 commits into
Conversation
Vendor ChatScan as the immutable message ledger, add a messaging bridge and web UI that registers users by phone number, encrypts messages, and records only ciphertext hashes on chain. Flutter 1:1 sends also commit to ChatScan. Includes e2e tests, screenshots, and a demo video. Co-authored-by: Erickson Hyppolite Poel <EricksonAtHome@users.noreply.github.com>
Ship a runnable flutter_demo client with phone OTP login and WhatsApp-like chat UI. Messages seal through the ChatScan bridge (hash-only on chain). Includes Android project, web runner, screenshots, and demo video proving Alice→Bob send/receive with contentAvailable=false. Co-authored-by: Erickson Hyppolite Poel <EricksonAtHome@users.noreply.github.com>
Peer-to-peer Flutter and web chat now use CrypterChat-style bubbles with message text and timestamps only. Ciphertext refs/hashes stay on the ChatScan explorer (long-press for optional seal details). Conversation previews use decrypted last-message text. Co-authored-by: Erickson Hyppolite Poel <EricksonAtHome@users.noreply.github.com>
Users can run their own messaging server, paste its base URL into CrypterChat, and keep encrypted chat data on that host while hashes still seal on the shared ChatScan X11 chain. Co-authored-by: Erickson Hyppolite Poel <EricksonAtHome@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CrypterChat users can run their own chat server, paste its base URL into the app, and keep encrypted chat data on that host. ChatScan stays shared for immutable ciphertext hashes only.
Also includes the normal peer chat UI (readable bubbles; hashes only on ChatScan).
Self-host flow
./scripts/start-own-server.sh(optionalSERVER_NAME,PUBLIC_URL,CHATSCAN_URL)messaging/dataApp / API changes
ServerStore, login URL field + Test connection, Server settings screen, banner shows server name + ChatScanSERVER_NAME/PUBLIC_URL,/api/server, health includesserverobjectdocs/SELF_HOST.md, README section,messaging/.env.examplePeer chat UI
contentAvailable=false)How to try
Details: docs/SELF_HOST.md