npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

remorch-connect

v0.2.0

Published

QR code generator for RemOrch - Remote AI CLI monitoring with remorch-agent

Downloads

97

Readme

remorch-connect

AI CLI(Claude Code, Gemini CLI, Codex CLI)をリモートからモニタリング・操作するための接続ツール。

tmuxセッション内でAI CLIを起動し、QRコードで接続情報を表示。外出先からスマホで監視・操作できます。

インストール

npm install -g remorch-connect

npxで直接実行も可能:

npx remorch-connect

クイックスタート

1. エイリアス設定(推奨)

npx remorch-connect --setup
source ~/.zshrc  # または ~/.bashrc

claude, gemini, codex, remorch エイリアスが追加されます。

2. AI CLIを起動

claude  # 通常の claude コマンドの代わりに

実行すると:

  1. "claude" という名前のtmuxセッションを作成
  2. その中でClaude Codeを起動
  3. リモート接続用のQRコードを表示
  4. セッションにアタッチ

使い方

# 接続情報のみ表示
remorch-connect

# tmuxでCLIを起動 + QR表示
remorch-connect claude
remorch-connect gemini
remorch-connect codex

# バックグラウンドで起動(アタッチしない)
remorch-connect claude --no-attach

# シェルエイリアスを設定
remorch-connect --setup

# ヘルプ
remorch-connect --help

機能

  • tmux自動セッション: tmuxセッションを自動作成
  • QRコード接続: RemOrchアプリでスキャンして接続(remorch://スキーム対応)
  • Tailscale検出: TailscaleのIPを自動検出・優先使用
  • シェルエイリアス設定: claude, gemini, codex を一発で設定
  • クロスプラットフォーム: macOS, Linux, WSL対応

出力例

┌─────────────────────────────────────────┐
│         RemOrch Connect                 │
│         AI CLI Remote Access            │
└─────────────────────────────────────────┘

Starting: claude
Session:  claude

✓ Created tmux session "claude"
✓ Started "claude"

Connection Info:
  Host:     xxx.xxx.xxx.xxx
  Port:     22
  User:     username
  Session:  claude

  ✓ Tailscale detected: xxx.xxx.xxx.xxx

Scan with RemOrch app:

  ✓ QR code opened: /tmp/remorch-qr-claude.png

Or enter code: XXXX-XXXX

Or open on your phone:
  https://remorch.dev/#...

Attaching to session...
(Press Ctrl+B, then D to detach)

必要環境

  • Node.js 18以上
  • tmux
  • SSHサーバー(リモートアクセス用)
  • Tailscale(推奨・簡単にリモートアクセス可能)

仕組み

┌─────────────────┐
│  スマートフォン   │
│  (RemOrch App)  │
└────────┬────────┘
         │ SSH (Tailscale経由)
         ▼
┌─────────────────┐
│  PC / VPS       │
│  ┌───────────┐  │
│  │   tmux    │  │
│  │ ┌───────┐ │  │
│  │ │claude │ │  │
│  │ └───────┘ │  │
│  └───────────┘  │
└─────────────────┘
  1. remorch-connect claude でClaude Codeをtmuxセッション内で起動
  2. QRコードにSSH接続情報を含む(ホスト, ユーザー, ポート, セッション名)
  3. RemOrchアプリでQRスキャン → SSH接続 → tmuxセッションにアタッチ
  4. スマホからモニタリング・コマンド送信

対応シェル

| プラットフォーム | シェル | 設定ファイル | |-----------------|--------|-------------| | macOS | zsh | ~/.zshrc | | macOS | bash | ~/.bash_profile | | Linux | bash | ~/.bashrc | | WSL | bash | ~/.bashrc | | 全OS | fish | ~/.config/fish/config.fish |

関連

ライセンス

MIT