CHUI


CHUI is a terminal-first direct messaging app built with OpenTUI and backed by Convex.
It is designed to be fast, keyboard-native, and focused on clean conversation flow.
If you prefer chat in your terminal instead of browser tabs or desktop windows, CHUI is built for that exact use case.
Special thanks to the OpenTUI team for building the rendering/runtime foundation that makes this UX possible.
Release Status
CHUI is currently in active test mode while the 0.1.0-beta line is being finalized.
The current focus is stabilization, UX hardening, and packaging polish ahead of broader distribution.
0.1.0-beta is coming soon, with expanded install channels planned shortly after:
- Homebrew formula distribution
- npm distribution for streamlined CLI install flows
Screenshots
1) Splash Screen

2) Login Screen

3) Chat Screen

Why CHUI
CHUI focuses on a few practical priorities:
- Fast startup and low-friction messaging from the terminal
- Keyboard-first interaction with minimal visual clutter
- Clear two-panel chat layout (people on the left, conversation on the right)
- Realtime updates without manual refresh via Convex
- Simple install and upgrade flow
Quick Start (macOS)
Install the latest release with one command:
curl -fsSL https://raw.githubusercontent.com/4everlabs/chui/main/scripts/install.sh | sh
Then run:
chui
That’s it.
The installer automatically:
- Detects your architecture (
arm64 or x64)
- Downloads the matching release asset from GitHub Releases
- Downloads
checksums.txt
- Verifies SHA256 before installing
- Installs to
/usr/local/bin if writable, otherwise ~/.local/bin
First Run Walkthrough
When you launch CHUI with chui, you’ll move through these screens:
- Splash
- You’ll see the CHUI welcome view.
- Press Enter or select the entry button.
- Login
- Enter your username/email and password.
- If you do not have an account, use Make an account.
- Home Chat
- Left panel: user list and search
- Right panel: current conversation + message composer
How To Use CHUI
Sign In
- Open CHUI:
chui
- Enter credentials on the login screen
- Submit login
Create an Account
- On login screen, choose Make an account
- Enter username and password
- Submit signup
- Return to login and sign in
Find a User
- In Home, use the search input at the top of the left panel
- Type part of a username to filter the list
- Select a user to open their conversation
Send a Message
- Select a user first
- Type in the composer at the bottom-right
- Press Enter to send
Composer Behavior
- Empty message submission is blocked
- Status line shows inline feedback like sending/error state
- Composer keeps focus for rapid conversation flow
Keyboard and Interaction Notes
CHUI is built to feel natural from the terminal:
- Primary flow is keyboard-first
- Mouse selection/clicks are supported where useful
- Inputs support direct typing and submission
- The chat area stays pinned to recent messages as new messages arrive
Install Details
One-Line Installer (Recommended)
curl -fsSL https://raw.githubusercontent.com/4everlabs/chui/main/scripts/install.sh | sh
Manual Install (Alternative)
If you want to install manually:
- Open latest release:
https://github.com/4everlabs/chui/releases/latest
- Pick the right asset:
- Apple Silicon Macs:
chui-macos-arm64.gz
- Intel Macs:
chui-macos-x64.gz
- Download checksum file:
- Verify checksum locally:
shasum -a 256 chui-macos-arm64.gz
# Compare output against checksums.txt
- Extract and install:
gzip -dc chui-macos-arm64.gz > chui
chmod +x chui
mv chui /usr/local/bin/chui
If /usr/local/bin is not writable:
mkdir -p ~/.local/bin
gzip -dc chui-macos-arm64.gz > ~/.local/bin/chui
chmod +x ~/.local/bin/chui
Add ~/.local/bin to your PATH if needed:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Updating CHUI
The easiest path is reinstalling via the one-liner:
curl -fsSL https://raw.githubusercontent.com/4everlabs/chui/main/scripts/install.sh | sh
This fetches the latest release and overwrites the binary.
Uninstall
If installed to /usr/local/bin:
rm -f /usr/local/bin/chui
If installed to ~/.local/bin:
rm -f ~/.local/bin/chui
Troubleshooting
chui: command not found
Possible causes:
- Binary installed to
~/.local/bin but PATH not configured
- Shell session not refreshed after install
Fix:
- Add
~/.local/bin to PATH
- Restart terminal or
source ~/.zshrc
Login fails
Possible causes:
- Wrong credentials
- Backend/auth service unavailable
- Environment not configured correctly in your deployment
Fix:
- Retry credentials
- Confirm backend health in your Convex dashboard
- Verify auth/backend config for your environment
App opens but no users/messages appear
Possible causes:
- No users exist yet
- No conversation with selected user
- Backend connectivity issue
Fix:
- Create another account/user
- Start the first message
- Check network/backend status
Installer checksum mismatch
Possible causes:
- Partial/corrupt download
- Stale local file
Fix:
- Delete downloaded files
- Re-run installer
- Verify network integrity
FAQ
Is CHUI only for macOS right now?
Yes, current release artifacts are macOS arm64 and x64.
Does CHUI support realtime updates?
Yes. Conversations update reactively through Convex.
Can I use CHUI without mouse?
Yes. Core usage is keyboard-first.
Where are binaries published?
On GitHub Releases for this repository:
What CHUI Includes Today
- Splash, login, signup, and home chat flows
- Account creation and login
- User list with search/filtering
- Direct messaging conversations
- Realtime message updates
- Simple release install/upgrade path
Product Direction
CHUI currently optimizes for:
- Direct messaging in terminal workflows
- Simplicity over feature bloat
- Fast iteration with practical UX improvements
As the app evolves, expect ongoing UI/interaction refinements and broader platform support over time.
Security and Integrity Notes
- Release installer verifies SHA256 checksums before install
- You should still treat endpoint/backend configuration as your responsibility
- For production use, maintain your own operational security practices
For Developers (Short Appendix)
This README is user-focused. If you are running CHUI from source:
bun install
bun run convex:dev
bun dev
Tech stack includes Bun, TypeScript, OpenTUI Core, Convex, and Better Auth.
Primary references:
1.0 Roadmap
评论