docs: install guide and GitHub Actions release binaries
Some checks are pending
ci / test (push) Waiting to run

Add a README install path for CI-built Linux binaries (curl, checksum,
PATH) plus source builds. CI runs tests/clippy on main; tags v*.*.*
publish stripped x86_64 and aarch64 artifacts. --version/--help so a
download can be checked without booting Tor.
This commit is contained in:
Sirius DevOps 2026-09-10 03:04:56 -04:00
commit b3f8307168
No known key found for this signature in database
5 changed files with 304 additions and 5 deletions

View file

@ -1,7 +1,31 @@
use onionwire::tui::AppExit;
fn print_help() {
let v = env!("CARGO_PKG_VERSION");
println!("onionwire {v} — Tor messenger (in-process Arti). Runs a TUI; no server.");
println!("Usage: onionwire [--version | --help]");
println!("Data: $ONIONWIRE_HOME or ~/.local/share/onionwire");
}
#[tokio::main]
async fn main() {
match std::env::args().nth(1).as_deref() {
Some("--version") | Some("-V") => {
println!("onionwire {}", env!("CARGO_PKG_VERSION"));
return;
}
Some("--help") | Some("-h") => {
print_help();
return;
}
Some(other) => {
eprintln!("onionwire: unknown argument {other}");
eprintln!("Try: onionwire --help");
std::process::exit(2);
}
None => {}
}
if let Err(e) = boot().await {
eprintln!("onionwire: {e}");
std::process::exit(1);