{"repo":"vincequant/claude-code-monitor","free":true,"listed":false,"github":"https://github.com/vincequant/claude-code-monitor","clone":"git clone https://github.com/vincequant/claude-code-monitor.git","description":"Real-time monitoring tool for Claude Code CLI usage and network status | 實時監控 Claude Code CLI 使用狀態和網絡連接","language":"Python","stars":40,"topics":["claude-ai","claude-code","cli-tool","macos","monitoring","python","terminal"],"license":"MIT","category":"analytics","readme_excerpt":"Claude Code Monitor 🚀 實時監控您的 Claude Code CLI 使用狀態和網絡連接 English 中文 --- 🌟 功能特色 🔍 實時監控 - 網絡狀態檢測 : 即時顯示 Claude 服務連接狀態 - 對話追蹤 : 監控當前對話狀態、Token 使用量和費用 - 智能提醒 : 連接狀態變化時自動發送 macOS 桌面通知 - 自動恢復 : 工具失敗時自動更新並恢復監控 📊 數據分析 - 歷史統計 : 查看最近 7 天的使用趨勢 - 費用計算 : 基於實際 Token 使用量精確計算費用 - 視覺化圖表 : 彩色長條圖直觀顯示消費水平 - 日均分析 : 自動計算日均使用量和費用 ⚡ 技術優勢 - 高效能 : 3 秒更新間隔，實時響應 - 準確計費 : 採用 --mode calculate 確保費用計算準確性 - 多重啟動 : 支持命令行、腳本和 macOS 應用多種啟動方式 - 自動環境配置 : .command 腳本自動設置 Node.js 環境 📸 預覽 實時監控介面展示 🚀 快速開始 系統要求 - macOS (用於桌面通知功能) - Python 3.7+ - Node.js/npm (用於 ccusage 命令) - Claude Code CLI (已安裝並認證) 安裝步驟 1. 克隆倉庫 2. 安裝依賴 3. 確保 Claude Code CLI 已安裝 運行方式 方法 1: 直接運行 Python 方法 2: 使用啟動腳本 方法 3: macOS 雙擊啟動 雙擊 claude monitor.command 文件即可啟動（自動配置環境） 📖 使用指南 監控界面說明 狀態指示器 - 🟢 綠燈 : 服務正常連接 - 🔴 紅燈 : 服務連接異常 - 📊 長條圖顏色 : - 🟥 紅色: 高消費 ( $3) - 🟨 黃色: 中等消費 ($1.5-$3) - 🟩 綠色: 低消費 ( 通知 - 允許終端應用發送通知 📁 項目結構 🤝 貢獻指南 歡迎貢獻！請遵循以下步驟： 1. Fork 本倉庫 2. 創建功能分支 ( git checkout -b feature/AmazingFeature ) 3. 提交更改 ( git commit -m 'Add some AmazingFeature' ) 4. 推送到分支 ( git push origin feature/AmazingFeature ) 5. 開啟 Pull Request 📄 許可證 本項目採用 MIT 許可證 - 詳見 LICENSE 文件 🙏 致謝 - Claude Code CLI - Anthropic 官方 CLI 工具 - LiteLLM - Token 計費數據來源 --- English 🌟 Features - Real-time Monitoring : Track Claude service connection status - Session Tracking : Monitor current conversation status, token usage, and costs - Smart Notifications : Automatic macOS desktop notifications on connection changes - Auto-recovery : Automatically updates and recovers when tools fail ���","default_branch":null,"files":null,"tree":[],"storefront":"/r/vincequant","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vincequant/claude-code-monitor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}