|
|
2 days ago | |
|---|---|---|
| openwiki | 2 days ago | |
| src | 2 days ago | |
| .gitignore | 3 days ago | |
| AGENTS.md | 2 days ago | |
| Cargo.lock | 2 days ago | |
| Cargo.toml | 2 days ago | |
| README.md | 2 days ago | |
| config.toml.global.template | 2 days ago |
Terminal WhatsApp client (ratatui) with per-chat and global AI autoreply via an OpenAI-compatible API.
cargo build --release
Built from Windows with cargo-zigbuild. Zig provides the C cross-compiler and linker for the bundled C code (SQLite, aws-lc-sys, ring).
One-time prerequisites:
rustup target add x86_64-unknown-linux-musl
winget install -e --id zig.zig # or: pip install ziglang
cargo install --locked cargo-zigbuild
Build:
cargo zigbuild --release --target x86_64-unknown-linux-musl
Output: target/x86_64-unknown-linux-musl/release/wh
Verify on Linux:
file wh # ELF 64-bit x86-64, statically linked
chmod +x wh && ./wh
On Linux, config and databases live in ~/.config/wh/ (config.toml, session.db, history.db); on Windows in %APPDATA%\wh.
Copy session.db from Windows to reuse the linked session instead of scanning the QR again.