Skip to main content

One-command pair tool for iosHermes mobile app — generate a QR and start a relay bridge in 1 line.

Project description

iohermes-pair

One-command pair tool for the iosHermes mobile app.

pip install iohermes-pair
iohermes-pair

That's it. The command:

  1. Generates a unique pairing credential (stored in ~/.iohermes/bridge.json).
  2. Starts a tiny background daemon that proxies requests from your phone to your local Hermes / OpenAI-compatible LLM server (default: http://127.0.0.1:8765).
  3. Saves a QR PNG (./iohermes_pair.png) and prints an ASCII QR.

Open the iosHermes iOS app → My+Scan QR and point at the PNG. You'll be online from anywhere — 4G, hotel Wi-Fi, etc.

Options

iohermes-pair                       # default: connects to 127.0.0.1:8765
iohermes-pair --port 8642           # custom local port
iohermes-pair --name "My-Mac"       # custom display name
iohermes-pair --out ~/Desktop/p.png # custom PNG output
iohermes-pair --foreground          # don't daemonize (debug)
iohermes-pair --status              # is the daemon running?
iohermes-pair --stop                # stop the daemon
iohermes-pair --reset               # rotate credentials (old phones lose access)
iohermes-pair --json                # print only the JSON payload

How it works

[ iOS App ]  ──websocket──▶  [ Relay (cloud) ]  ──websocket──▶  [ Daemon on your machine ]
                                                                           │
                                                                           ▼
                                                                  http://127.0.0.1:PORT
                                                                  (your Hermes / agent)

The daemon makes a single outbound WebSocket connection to the relay; no inbound port is opened on your machine. All traffic is end-to-end between your phone and your machine through a thin relay.

Requirements

  • Python 3.8+
  • A Hermes-compatible / OpenAI-API-compatible HTTP server running on localhost:PORT. iosHermes works with any OpenAI-compatible chat completion endpoint at /v1/chat/completions (or the convenience wrapper at /api/chat).

License

MIT

Project details


Download files

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

Source Distribution

iohermes_pair-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

iohermes_pair-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file iohermes_pair-0.1.0.tar.gz.

File metadata

  • Download URL: iohermes_pair-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for iohermes_pair-0.1.0.tar.gz
Algorithm Hash digest
SHA256 639eb29484405e6feeaf29aef40790cc09a816a951cfcdc5306ce5d190cd3d01
MD5 c227e8ee8b47d9596b461d56c074fd9a
BLAKE2b-256 7ae9553577e5ee09268c1b718d3cc41061e0229ac948870a0d60ff4ea7a7d508

See more details on using hashes here.

File details

Details for the file iohermes_pair-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iohermes_pair-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for iohermes_pair-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a4cd73e27bb19ce36f162892b0d835f5d4cb5a9f215507f371beffc5d78c908
MD5 63f9b93dede74f4f8508f87fd905bca0
BLAKE2b-256 7e80d8d6ab364364db3d6261bfbb414a7ee69b7ac10a12b2b4f07b411dcbd102

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 Pingdom Monitoring Sentry Error logging StatusPage Status page