Skip to content

Usage

This section covers typical user workflows in Enclave Messenger.

Starting Enclave

TUI

python tui.py

You will be prompted to:

  1. Select or create a profile.
    A tui with no profile that is creating a profile

  2. Enter your passkey. TUI asking for your passkey

  3. Access the main menu (home, peers, chats, settings).
    TUI home for PradhyaTheFirst

Web UI

python web.py

Then open the printed URL in a browser, e.g.:

http://localhost:8000

The web UI provides:

  • Setup wizard for new profiles Settings page for profiles

  • Home screen with chats and peers

    NOTE: I advise you to use the TUI because the Web UI is still a bit buggy... Web UI Home

  • Settings for profile management Profile settings

Creating a profile

  1. Launch Enclave (TUI or web).
  2. Choose Create new profile.
  3. Enter:
  4. Profile name
  5. Passkey (twice, for confirmation)
  6. Any required network settings (e.g., web port for web UI)
  7. Confirm. Enclave creates the profile and associated keys.

Sending a message

  1. Ensure at least two profiles are running (on the same or different devices).
  2. In each instance, navigate to Peers and confirm discovery.
  3. Open a chat with the desired peer.
  4. Type a message and send.

Messages are encrypted end-to-end before transmission.

Managing profiles

  • Rename a profile from Settings -> Profile.
  • Create additional profiles for different identities or test scenarios.
  • Delete a profile by removing its directory.