No Description

softword aa9ecd558d feat: add global AI autoreply feature with configuration and UI updates 3 days ago
openwiki 484f1487ed feat: add initial configuration template for OpenAI API and system prompts 3 days ago
src aa9ecd558d feat: add global AI autoreply feature with configuration and UI updates 3 days ago
.gitignore 299473ef60 Add initial session database configuration file 4 days ago
AGENTS.md 484f1487ed feat: add initial configuration template for OpenAI API and system prompts 3 days ago
Cargo.lock 43873aee9e feat: implement WhatsApp client wrapper with event handling and message sending capabilities 4 days ago
Cargo.toml aa9ecd558d feat: add global AI autoreply feature with configuration and UI updates 3 days ago
README.md aa9ecd558d feat: add global AI autoreply feature with configuration and UI updates 3 days ago
config.toml.global.template e8bb415f55 Merge branch 'main' of https://gogs.gvoci.com/softword/whattsreply 3 days ago

README.md

wh

Terminal WhatsApp client (ratatui) with per-chat and global AI autoreply via an OpenAI-compatible API.

Build

cargo build --release

Cross-compile: Linux x86_64 static (musl)

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

Data directory

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.