Skip to main content

Voice-to-text paste and approval bridge for Claude CLI on remote SSH sessions

Project description

janus-remote

Voice-to-text paste bridge for Claude CLI on remote SSH sessions.

Use your voice to interact with Claude CLI running on remote servers, with transcriptions pasted directly into the terminal - no window switching needed!

Installation

pip install janus-remote

Requirements

  1. Local Mac: Janus Electron app running (provides voice recognition + WebSocket server)
  2. SSH Config: Port forwarding enabled (one-time setup)

SSH Setup (One-Time)

Add this to your ~/.ssh/config on your local Mac:

Host *
    RemoteForward 9473 localhost:9473

Or for specific hosts:

Host myserver
    HostName myserver.example.com
    RemoteForward 9473 localhost:9473

This forwards the Janus WebSocket bridge (port 9473) to the remote server.

Usage

On your remote server via SSH:

# Start a new Claude session with voice paste support
claude-janus

# Resume a previous session
claude-janus --resume
claude-janus -r

How It Works

LOCAL MAC                           REMOTE SERVER (via SSH)
┌─────────────────────┐             ┌─────────────────────┐
│ Janus Electron      │             │ claude-janus        │
│ (Voice Recognition) │             │ (This package)      │
│         │           │             │         │           │
│         ▼           │             │         │           │
│ WebSocket :9473 ────┼─────────────┼───────► │           │
│                     │  SSH Tunnel │         ▼           │
│                     │             │ Inject into PTY     │
└─────────────────────┘             └─────────────────────┘
  1. Speak into your Mac's microphone
  2. Janus transcribes and sends via WebSocket
  3. SSH tunnel forwards to remote server
  4. claude-janus receives and injects text directly into Claude CLI

Features

  • Sexy Terminal Banner: Claude + Janus ASCII art on startup 🔮
  • Voice Paste: Speak on your Mac → text appears in remote terminal
  • Approval Overlay: Claude permission requests show on your local Mac overlay
  • Zero latency feel: WebSocket connection, no polling
  • Background paste: No window switching - text appears directly in terminal
  • Multi-session support: Run multiple claude-janus sessions on different servers
  • Auto-reconnect: Handles connection drops gracefully

Troubleshooting

"Bridge connection failed"

  • Ensure Janus Electron is running on your local Mac
  • Verify SSH port forwarding is configured
  • Check that port 9473 isn't blocked

"Could not find 'claude' binary"

  • Install Claude CLI: npm install -g @anthropic-ai/claude-cli
  • Or ensure it's in your PATH

License

MIT

Author

He Who Seeks

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

janus_remote-0.9.21.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

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

janus_remote-0.9.21-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file janus_remote-0.9.21.tar.gz.

File metadata

  • Download URL: janus_remote-0.9.21.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for janus_remote-0.9.21.tar.gz
Algorithm Hash digest
SHA256 61d4a0d4f964101c158e17e0e27218b9588f7214218d6255efc5ee8f6591ea77
MD5 db1fc464f5a08b6b3773186573bf8f8c
BLAKE2b-256 6035b34f3210fe5b1d1d44aaf75defcd04c277cefc52fc3dd8d2b01e656d8fe2

See more details on using hashes here.

File details

Details for the file janus_remote-0.9.21-py3-none-any.whl.

File metadata

  • Download URL: janus_remote-0.9.21-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for janus_remote-0.9.21-py3-none-any.whl
Algorithm Hash digest
SHA256 7cf9a147daaea8dbf42ab5c4347b92a8ce847a4a721f08c2bb05491f6deb30bf
MD5 efd2cbc9dd4a42896e016309f6f6b680
BLAKE2b-256 b5df1d0f080a3c9ae4a874562948b3ddfc241f99f7d88de9ee20dcc46edf776a

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