Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
PluginAn toànDữ liệu & phân tíchDễ cho người mới

claude-code-wakatime

wakatime · wakatime/claude-code-wakatime

Một plugin Claude Code theo dõi việc sử dụng AI, số dòng code được tạo và thời gian dành cho việc prompt AI, tích hợp với WakaTime.

Theo dõi thời gian bạn sử dụng Claude Code để viết mã bằng AI.

93 sao17Giấy phép: BSD-3-ClauseCập nhật 3 tháng trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Theo dõi và phân tích thời gian dành cho các hoạt động coding có sự hỗ trợ của AI.
  • Theo dõi số dòng code được tạo bởi tác nhân Claude Code của bạn.
  • Thu thập thông tin chi tiết về năng suất và các mẫu coding AI của bạn.

Kiểm tra an toàn

An toàn

Không thấy dấu hiệu rủi ro trong các file đã quét.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

WakaTime for Claude Code

Track your AI usage, lines of code generated, time spent prompting AI, etc. using the WakaTime plugin for Claude Code.

WakaTime is an open source plugin for metrics, insights, and time tracking automatically generated from your programming activity.

Installation

  1. claude plugin marketplace add https://github.com/wakatime/claude-code-wakatime.git

  2. claude plugin i claude-code-wakatime@wakatime

  3. Add your API key to ~/.wakatime.cfg:

    [settings]
    api_key = waka_123
    

Upgrading

claude plugin marketplace update

Usage

New: See the lines of code generated by AI on your dashboard!

Visit https://wakatime.com to see your coding activity.

Development

npm run watch

Troubleshooting

Diagnostic tool for troubleshooting the installation and health of Claude Code and plugins:

claude doctor

Make sure you have node.js installed and in your $PATH:

node -v

Run claude with verbose logging to see any plugin load errors:

claude --debug

Look for errors in the wakatime-cli log file:

grep error ~/.wakatime/wakatime.log | grep -v backoff
Xem mã nguồn trên GitHub