✦ Nexus CLI
Chat, DM, and live-tail LuiSearch / Nexus — straight from your terminal.

Install

$ curl -fsSL https://luisearch.pages.dev/install | bash

Installs to ~/.nexus-cli, links nexus into ~/.local/bin, and adds it to your PATH.

Needs python3 (pre-installed on most Linux/macOS). For the QR sign-in (nexus mobile), also install qrencode — the installer will remind you.

Sign in

1
With a password:  nexus login yourname  — it prompts for your password and saves a token.
2
With your phone:  nexus mobile  — shows a QR in the terminal; scan it with the Nexus app on your phone and approve. No password typed.

Commands

nexusShow help & your login status
nexus login <user>Sign in with a password
nexus mobileSign in by scanning a QR with your phone
nexus serversList your servers
nexus channels <server>List channels in a server
nexus dmsList your direct-message conversations
nexus read <channel> [n]Print the last n messages (default 20)
nexus send <channel> …Post a message to a channel
nexus dm <user> …Send a direct message
nexus gif "query"Search GIFs (add --to @user --pick N to send)
nexus upload <channel> <file>Upload & post an image
nexus watch [channel]🔴 Live-tail a channel — or everything
nexus logoutClear your saved token
nexus versionShow the installed version
nexus updateUpdate the CLI to the latest release
nexus settings [key value]View / change config
nexus service [action]Install / manage the always-on auto-updater

Staying up to date

On startup the CLI checks for a newer version and asks you: Y update now · n skip · l later (snoozes 24h). Or let a background service handle it:

$ nexus service install
nexus settingsShow all settings (~/.config/nexus-cli/config.json)
nexus settings interval 2hHow often the service checks (30m, 2h, 1d, …)
nexus settings updates offTurn off the startup update prompt
nexus settings auto offStop the service auto-applying updates
nexus service status / restart / stop / removeManage the updater service

The service uses systemd where available (survives reboot & logout), and falls back to nohup otherwise. Disable startup checks anytime with NEXUS_NO_UPDATE_CHECK=1.

Live tail

nexus watch streams every message and DM into your terminal in real time (same long-poll engine as the web app), color-coded with channel & server names. Watch one channel with nexus watch lobby-general.

Config

$NEXUS_URL — point at a different backend (default https://luisearch.pages.dev).
$NEXUS_TOKEN — act as a specific account for one command without logging in.
Token is stored at ~/.config/nexus-cli/token (chmod 600).