hkcli v0.4.1

Hike · One CLI

Hike in your terminal

A single binary that links to Hike as a web device, keeps a searchable copy of your chats in SQLite, and sends messages from the terminal, scripts and AI agents like OpenClaw.

go install github.com/vinaycodeaxe/hkcli/cmd/hkcli@latest
  • Pair
  • Sync
  • Search
  • Send
  • Media
  • Contacts
  • Groups
  • History
  • OpenClaw
  • Doctor

Other install options →

An unofficial, script-friendly command-line client for Hike Messenger. It links to your account the same way Hike Web does (you scan a QR code with your phone), keeps a searchable copy of your chats in SQLite on your machine, and sends messages from the terminal, shell scripts and AI agents such as OpenClaw.

Why hkcli#

  • Local copy, fast search. Messages are saved in SQLite with a full-text index, so messages search works offline and answers in milliseconds.
  • Live sync. hkcli sync stays connected, saves new messages, receipts, reactions and edits as they arrive, and reconnects on its own.
  • Stable output. Tables for people, --json for scripts, and one JSON event per line from sync --json. Progress and errors go to stderr, so pipes stay clean.
  • Built for agents. --read-only (or HKCLI_READONLY=1) blocks anything that sends to Hike or changes saved data. An OpenClaw skill is included.
  • Small and portable. One file for macOS, Linux or Windows, written in Go, with nothing else to install. Commands start in milliseconds.

Pick your path#

Status#

Version 0.1, tested against the Hike Messenger app relaunched in 2026 by Hike Messenger Ltd. Hike's web protocol is not a published API, so expect occasional breakage when Hike changes it. The changelog lists every release.

Out of scope#

  • Calls, and sending stickers, GIFs, voice notes or view-once media (they are received and stored).
  • A guaranteed complete copy of old history; Hike's server decides what is available.
  • Acting as an OpenClaw chat channel, where people talk to your agent over Hike.

Disclaimer#

hkcli is an independent project. It is not affiliated with, endorsed by or supported by Hike Messenger Ltd, and "Hike" belongs to its owner. Using an unofficial client may go against Hike's terms of service. Use it with your own account and at your own risk.

Edit this page on GitHub