Omxus Terminal Guide

The version of 4 Nov 2026, 12:54 am by Omxus Wiki: "Editorial review". Show the page
+ The **Omxus Terminal** is a collection of CLI and terminal tools for interacting with the Omxus ecosystem. This guide covers what actually exists and how to use it.
+ ## The Python CLI (omxus.py)
+
+ **Built**
+
+ The primary CLI tool. Pure Python, zero dependencies, 413 lines.
+
+ ### Running It
+
+ ``` bash
+ python3 omxus.py
+
+ # Or with a command
+ python3 omxus.py identity
+ python3 omxus.py status
+ python3 omxus.py sign
+ python3 omxus.py attest
+ ```
+
+ ### What It Does
+
+ | Command | What It Does | Status |
+ |----|----|----|
+ | `identity` | Derive your identity from name + birthday + words. Shows your ETH address. | **Built** |
+ | `status` | Show current identity and node status | **Built** |
+ | `sign` | Sign a message with your derived key (EIP-191) | **Built** |
+ | `attest` | Create a device trust attestation | **Built** |
+ | Interactive dashboard | Full-screen CLI dashboard | **Built** |
+
+ ### How Identity Works
+
+ The CLI reimplements the entire Omxus crypto stack in pure Python:
+
+ - Keccak-256 (24-round sponge construction)
+ - BIP-39 (PBKDF2-SHA512 seed derivation)
+ - BIP-32 (hierarchical key derivation, path m/44'/60'/0'/0/0)
+ - secp256k1 point multiplication
+ - EIP-191 message signing
+
+ **Same inputs produce the same address as the browser.** Verified. Your identity is the same whether you use the web or the CLI.
+
+ ## The Browser Terminal (xterm.js)
+
+ **Built**
+
+ A lightweight browser-based terminal:
+
+ - xterm.js frontend (~50 lines)
+ - Python WebSocket bridge (~40 lines, uses pty.fork + websockets + asyncio)
+ - omxus.py runs as a command inside it
+
+ This is designed to converge with:
+
+ - **Hyperswarm** — shared terminals across the mesh
+ - **Document doorbell** (Concept \#21) — open a document, the author feels it via Hyperswarm keyed by document hash
+
+ ## The Omxus Search Binary
+
+ **Built**
+
+ A separate tool — single Python script, ~600 lines:
+
+ ``` bash
+ ./omxus # Start server + tunnel
+ ./omxus serve --no-tunnel # Local only (localhost:7777)
+ ./omxus index ~/Documents # Index your files
+ ./omxus search "query" # Search from command line
+ ./omxus status # Overview
+ ./omxus name "Your Name" # Set your name (appears as Google-style logo)
+ ```
+
+ Features:
+
+ - Semantic search (MiniLM-L6-v2, 86MB ONNX model, 384-dim embeddings)
+ - DuckDuckGo proxy (private web search)
+ - Cloudflare quick tunnel (\*.trycloudflare.com — your search engine accessible from anywhere)
+ - Google-style frontend with your name as the logo
+ - **Private — runs on your machine, nothing leaves**
+
+ Dependencies: onnxruntime, tokenizers, numpy, cloudflared (brew).
+
+ ## What's Not Built
+
+ - Token, voting, emergency and mesh commands do not exist yet
+ - No mobile apps are published
+
+ ## Keyboard Shortcuts
+
+ If you're using the xterm.js browser terminal, standard terminal shortcuts apply. There are no custom Omxus shortcuts.
+
+ ## Privacy
+
+ - omxus.py derives keys locally — nothing leaves your machine
+ - The search binary indexes locally and searches locally
+ - The Cloudflare tunnel (if enabled) exposes your search to the web — turn it off with `--no-tunnel` if you want fully local
+
+ ## What's Next
+
+ - Bundle omxus.py to a single binary (PyInstaller or Nuitka)
+ - Mesh connectivity via Hyperswarm
+ - Shared terminals
+ - Document doorbell (Concept \#21)
+
+ ## See Also
+
+ - [Terminal](/wiki/Terminal) — Overview of terminal approaches
+ - [Authentication](/wiki/Authentication) — How identity works
+ - [Getting Started](/wiki/Getting_Started) — Create your identity
+