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

manako

v0.1.1

Published

CLI for Manako - all-in-one monitoring dashboard

Readme

manako

Manako のオールインワン監視ダッシュボード用 CLI ツール。

ターミナルからモニター、インシデント、サービスなどを管理できます。

English

インストール

npm install -g manako

Node.js >= 20 が必要です。

セットアップ

ブラウザログイン (推奨)

manako login

ブラウザが開き、OAuth 認証を行います。API キーが自動生成され ~/.manako.json に保存されます。

API キーで直接ログイン

manako login --api-key mk_xxxxx

API キーはダッシュボードから発行できます。

使い方

ステータス概要

manako status

全モニターの現在の状態を一覧表示します。

Monitors (3)

  ● api.example.com (http, 300s)
  ● db.example.com (tcp, 60s)
  ○ backup.example.com (http, 600s)

モニター

# 一覧
manako monitors list

# 詳細取得
manako monitors get <id>

# 追加
manako monitors add https://example.com                      # HTTP (デフォルト)
manako monitors add example.com:5432 -t tcp                  # TCP
manako monitors add example.com -t ping                      # Ping
manako monitors add example.com -t ssl                       # SSL 証明書
manako monitors add example.com -t domain                    # ドメイン有効期限
manako monitors add https://example.com -t webchange         # Web 変更検知
manako monitors add - -t heartbeat                           # ハートビート

# オプション
manako monitors add https://example.com -n "My API" -i 60    # 名前と間隔を指定
manako monitors add https://example.com -c '{"url":"https://example.com","method":"POST","expectedStatus":201,"timeoutMs":5000}'

# 更新
manako monitors update <id> --name "New Name"
manako monitors update <id> --interval 120
manako monitors update <id> --pause                          # 一時停止
manako monitors update <id> --resume                         # 再開

# 即時チェック実行
manako monitors check <id>

# 削除
manako monitors rm <id>

# ベースラインリセット (Web 変更検知モニター用)
manako monitors baseline-reset <id>

# 統計リセット
manako monitors stats-reset <id>
manako monitors stats-reset <id> --before 2025-01-01

メンテナンスウィンドウ

# メンテナンス開始 (デフォルト: 60分)
manako monitors maintenance <id>
manako monitors maintenance <id> -d 120                  # 120分間
manako monitors maintenance <id> -u "2025-12-31T23:59"   # 指定日時まで

# 一括メンテナンス
manako monitors maintenance --ids id1,id2,id3
manako monitors maintenance --all

# メンテナンス終了
manako monitors maintenance <id> --end
manako monitors maintenance --all --end

# 通知付きでメンテナンス開始/終了
manako monitors maintenance <id> --notify
manako monitors maintenance <id> --end --notify

インシデント

# 一覧
manako incidents list
manako incidents list -s ongoing                         # 進行中のみ
manako incidents list -s resolved                        # 解決済みのみ

# 手動インシデント作成
manako incidents create -t "API degradation" -c "High latency on DB"
manako incidents create -t "Service outage" --service-id <id>

# 更新
manako incidents update <id> -t "Updated title" -c "Root cause identified"

# 確認済み / 解決
manako incidents ack <id>
manako incidents resolve <id>
manako incidents resolve <id> -c "Deployed hotfix v1.2.3"

# 削除
manako incidents delete <id>

サービス

# 一覧
manako services list

# 統計リセット
manako services stats-reset <id>
manako services stats-reset <id> --before 2025-01-01

通知チャネル

# テスト通知送信
manako notification-channels test <id>

Webhook サブスクリプション

# 一覧
manako webhook-subscriptions list

# 作成
manako webhook-subscriptions create \
  -u https://example.com/webhook \
  -s "your-secret" \
  -e "incident.created,incident.resolved" \
  -d "Production alerts"

# 削除
manako webhook-subscriptions rm <id>

監査ログ

# 最近のログを表示
manako audit-logs list

# フィルタ (アクション、リソース種別、ユーザー、日付範囲)
manako audit-logs list -a monitor.created
manako audit-logs list -t monitor -u <userId>
manako audit-logs list -f 2025-01-01 --to 2025-01-31
manako audit-logs list -l 20

# JSON 出力
manako audit-logs list --json

設定

CLI の設定は ~/.manako.json に保存されます:

{
  "apiUrl": "https://api.manako.dev",
  "apiKey": "mk_xxxxx"
}

ログアウト

manako logout

設定ファイルを削除します。

言語

CLI の表示言語は MANAKO_LANG または LANG 環境変数で決まります。デフォルトは英語です。

MANAKO_LANG=ja manako status    # 日本語で表示

リンク

ライセンス

MIT