Skip to main content

English documentation 简体中文文档

Haoleme

Haoleme

Monitor commands on your computer or server from your phone.

[!TIP] Codex / Claude Code Skills are now supported

Codex and Claude Code can automatically identify important training, full evaluations, and long-running tasks, then use hao to sync status and output to the Haoleme app. Dependency installs, quick pretests, and other routine commands stay local. See installation

Website · Download APK · Quick Start · PyPI

Android APK 0.9.43 Haoleme CLI on PyPI Total GitHub Issues License: AGPL-3.0-or-later

HaolemeApp/Haoleme | Trendshift

Official Links

What Is It

Haoleme is a command monitoring tool.

Start a command with hao, then watch its status, console output, device online state, and finish notification in the mobile app. It is useful for training jobs, remote scripts, batch tasks, crawlers, long SSH sessions, and anything you do not want to babysit in a terminal.

Preview

The home screen shows active and completed runs in one place. Settings covers pairing, shared spaces, appearance, and security options.

Home run list Settings and pairing

Quick Start

1. Download the App

Download Android APK 0.9.43

2. Install the CLI

pip install -U haoleme

3. Pair a Device

hao login

Choose Haoleme Cloud or a self-hosted Private Relay, then open the app and scan the QR code or enter the 6-digit pairing code.

4. Run a Command

Prefix your original command with hao:

hao python train.py
hao bash script.sh
hao echo hello

The app will show status and console output automatically.

5. Let Codex / Claude Code Monitor Important Tasks

Install the skill globally for both Codex and Claude Code:

npx skills add HaolemeApp/Haoleme --skill monitor-with-haoleme -g -a codex -a claude-code -y

The skill adds hao to training, full evaluations, long batch jobs, and other important work. It leaves dependency installs, quick pretests, formatting, and routine Git commands local.

Features

  • running / succeeded / failed status
  • console output and search
  • finish notifications
  • multiple devices and online status
  • device rename
  • project grouping
  • GPU / CPU monitoring
  • QR code and 6-digit pairing
  • end-to-end encryption for sensitive run content

Source

  • CLI and cloud protocol: src/haoleme
  • Android app: android
  • Cloud deployment examples: deploy

Security

The public source tree does not include official signing keys, private production deployment config, real IP addresses, passwords, personal donation QR codes, or access tokens.

Official Android signing material and server credentials are injected through environment variables or private local configuration. See SECURITY.md for reporting guidance.

The app and CLI connect to the official service by default. You can also self-host from source. Do not commit your own keys, tokens, databases, signing files, or server passwords to a public repository.

Private Relay

The normal Haoleme app also works with a self-hosted relay; no custom APK is required. Deploy the Docker/Caddy stack in deploy/RELAY.md, then pair a computer with one command:

hao login https://hao.example.com

Scanning that QR switches the app to the named relay. App credentials and E2EE keys are isolated per relay, and private-relay QR codes never fall back to the public Haoleme service.

For a trusted local network, a domain is optional:

hao login

Choose Private Relay, then Start a LAN Relay on this computer. hao starts it in the background and immediately shows the pair code and QR. Other computers can use the LAN address it prints. For explicit Relay-only control, haoleme-relay --lan --port 8000 remains available; add --no-pair to keep it in the foreground without pairing the Relay host.

Local HTTP is restricted to private IP addresses. Keep it inside the LAN; use HTTPS for any Internet-facing relay. See deploy/RELAY.md.

License

Haoleme is licensed under AGPL-3.0-or-later.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

haoleme-0.4.29.tar.gz (104.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

haoleme-0.4.29-py3-none-any.whl (85.6 kB view details)

Uploaded Python 3

File details

Details for the file haoleme-0.4.29.tar.gz.

File metadata

  • Download URL: haoleme-0.4.29.tar.gz
  • Upload date:
  • Size: 104.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for haoleme-0.4.29.tar.gz
Algorithm Hash digest
SHA256 586195c6fdcef5ae93b9f2ad04b83d25bb96c9b71340afacc59f4370328e21b2
MD5 6d61223c91b00978a3c85b0533ec3d8f
BLAKE2b-256 9949f8ffe01712a5f5b39f0db933c0bfc9a02537e36e1f42cf1bb7afc05ad295

See more details on using hashes here.

File details

Details for the file haoleme-0.4.29-py3-none-any.whl.

File metadata

  • Download URL: haoleme-0.4.29-py3-none-any.whl
  • Upload date:
  • Size: 85.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for haoleme-0.4.29-py3-none-any.whl
Algorithm Hash digest
SHA256 b51bd8f7fd093336e315ab5e4f430c482bee9169ba8fb0ac3de09a373f6f1931
MD5 dbd2bb9eb81e0971ed577e41dd46802e
BLAKE2b-256 02b93383e9da83afccfb43be7af43b50568e0675c32dfbd1b7412fa9005889e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page