Skip to main content

Nazode Watch — バックグラウンドAIデーモン (クリップボード/ファイル/スクリーンショット監視)

Project description

Nazode Watch

日本語 | English | 中文


日本語

バックグラウンドで動くAIデーモン。コードをコピーしたりファイルを保存するだけで、自動的にAIがエラーを解析・コードをレビューします。

必要なもの: Ollama

インストール

pip install nazode-watch
ollama pull qwen2.5-coder:1.5b

使い方

nazode-watch start          # バックグラウンドで起動
nazode-watch stop           # 停止
nazode-watch status         # 状態確認
nazode-watch log            # 直近のログを表示
nazode-watch web            # ブラウザでログを確認 (localhost:8888)
nazode-watch install-hook   # Git pre-commitフックをインストール
nazode-watch config         # 設定を編集

機能

機能 説明
クリップボード監視 エラーやコードをコピーすると自動でAI解析・通知
URL自動要約 URLをコピーすると「何のサイトか」を自動要約
ファイル保存監視 コードファイルを保存するたびにAIがレビュー(20言語+)
ログ Web UI localhost:8888 でブラウザからログを確認
日次サマリー 毎朝9時に前日の統計を通知
Git pre-commit コミット前にAIが自動チェック
スクリーンショット 5分ごとに作業ログを自動保存(直近30枚)

設定

~/.nazode/watch/config.json:

{
  "watch_paths": ["~/projects"],
  "clipboard": true,
  "file_review": true,
  "screenshot_log": true,
  "daily_summary": true,
  "model": "qwen2.5-coder:1.5b"
}

macOS 権限

システム設定 > プライバシーとセキュリティ で以下を許可:

  • アクセシビリティ (クリップボード監視)
  • 画面収録 (スクリーンショット)
  • 通知 (AI解析結果の通知)

English

A background AI daemon. Just copy code or save a file — AI automatically analyzes errors and reviews your code.

Requirements: Ollama

Installation

pip install nazode-watch
ollama pull qwen2.5-coder:1.5b

Windows:

pip install nazode-watch[windows]

Usage

nazode-watch start          # Start background daemon
nazode-watch stop           # Stop daemon
nazode-watch status         # Check status
nazode-watch log            # Show recent logs
nazode-watch web            # Open log viewer in browser (localhost:8888)
nazode-watch install-hook   # Install Git pre-commit hook
nazode-watch config         # Edit config file

Features

Feature Description
Clipboard monitor Copies an error or code → instant AI analysis + notification
URL summarizer Copies a URL → auto-fetch and summarize what the site is
File save monitor Saves a code file → automatic AI review (20+ languages)
Log Web UI View logs in browser at localhost:8888, auto-refreshes every 5s
Daily summary Every morning at 9:00, get yesterday's stats as a notification
Git pre-commit AI checks staged files before every commit
Screenshot log Auto-saves screenshots every 5 min (keeps latest 30)

Configuration

~/.nazode/watch/config.json:

{
  "watch_paths": ["~/projects"],
  "clipboard": true,
  "file_review": true,
  "screenshot_log": true,
  "daily_summary": true,
  "model": "qwen2.5-coder:1.5b"
}

macOS Permissions

Go to System Settings > Privacy & Security and allow:

  • Accessibility (clipboard monitoring)
  • Screen Recording (screenshots)
  • Notifications (AI analysis results)

Platform Support

OS Status
macOS Supported
Linux Supported (xclip/xsel, notify-send, scrot)
Windows Beta (pip install nazode-watch[windows])

中文

后台运行的AI守护进程。只需复制代码或保存文件,AI就会自动分析错误并进行代码审查。

必要条件: Ollama

安装

pip install nazode-watch
ollama pull qwen2.5-coder:1.5b

Windows 用户:

pip install nazode-watch[windows]

使用方法

nazode-watch start          # 在后台启动
nazode-watch stop           # 停止
nazode-watch status         # 检查状态
nazode-watch log            # 查看最近日志
nazode-watch web            # 在浏览器中查看日志 (localhost:8888)
nazode-watch install-hook   # 安装 Git pre-commit 钩子
nazode-watch config         # 编辑配置文件

功能

功能 说明
剪贴板监控 复制错误或代码 → 自动AI分析并发送通知
URL自动摘要 复制URL → 自动获取并总结网站内容
文件保存监控 保存代码文件 → 自动AI审查(支持20+语言)
日志Web界面 在浏览器 localhost:8888 查看日志,每5秒自动刷新
每日摘要 每天早上9点推送前一天的统计通知
Git pre-commit 每次提交前AI自动检查暂存文件
截图日志 每5分钟自动保存截图(保留最新30张)

配置

~/.nazode/watch/config.json:

{
  "watch_paths": ["~/projects"],
  "clipboard": true,
  "file_review": true,
  "screenshot_log": true,
  "daily_summary": true,
  "model": "qwen2.5-coder:1.5b"
}

macOS 权限设置

前往 系统设置 > 隐私与安全性 允许以下权限:

  • 辅助功能 (剪贴板监控)
  • 屏幕录制 (截图)
  • 通知 (AI分析结果通知)

平台支持

系统 状态
macOS 支持
Linux 支持 (xclip/xsel, notify-send, scrot)
Windows Beta (pip install nazode-watch[windows])

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

nazode_watch-0.2.5.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

nazode_watch-0.2.5-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file nazode_watch-0.2.5.tar.gz.

File metadata

  • Download URL: nazode_watch-0.2.5.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for nazode_watch-0.2.5.tar.gz
Algorithm Hash digest
SHA256 0e67fa7508295be312cf3fd064d396af4980ff454cc26c125ee4c15cab36d2f2
MD5 44dd7d33ea610fc5b8ab9a7d2a9e44e3
BLAKE2b-256 0b770242e4a7c00e61c8e49c514ab1d751a71bd6f54ceb5a46287a0ffabbaca5

See more details on using hashes here.

File details

Details for the file nazode_watch-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: nazode_watch-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for nazode_watch-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 978e070ca2371e6bb8fb2756980a67dd519411b6c283628bd78a08f1fe4ec56b
MD5 def5c4f5b4427e6a719a150e65dfd4f6
BLAKE2b-256 8936aaa0c70aa018ca4d435776f9097e56f2c6bf33064ed81d6e7d8a9e15233c

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