5

使用 WakaTime 统计编码时间

 1 year ago
source link: https://einverne.github.io/post/2022/09/wakatime-unlock-all-your-code-stats.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

使用 WakaTime 统计编码时间

Posted on 09/21/2022 , Last modified on 09/22/2022 by Ein Verne | View revision history

[[WakaTime]] 是为程序员打造的编码统计 Dashboard,可以同来统计项目,编程语言,IDE,编码时间等等内容。 之前在折腾 GitHub Profile 的时候发现的,可以在 GitHub Profile 页面中动态的展示最近的编程状态。

WakaTime 可以统计的内容包括:

  • 每天在每个项目上的编码的时间
  • 使用的编辑器
  • 编程语言占比
  • 所使用的操作系统
  • 所在的项目

Price

WakaTime 基础使用是免费的,但有如下限制:

  • 只包含两个星期的历史
  • 有限的整合
  • 3 位朋友之间的 Leaderboards

对于 Premium 可以解锁更多的 功能

Config

WakaTime 的配置文件在 HOME 目录下的 .wakatime.cfg 文件中。

cat ~/.wakatime.cfg
[settings]
api_key=
proxy = 
debug = false
status_bar_enabled = true

IntelliJ IDEA (JetBrains 系列)

插件 Market 中搜索 wakatime,重启 IDEA,在弹出的 WakaTime Settings 中填入 API key。

如果要设置 proxy,可以在下面填入 http_proxy 类似:http://localhost:1080

Plug 'wakatime/vim-wakatime'

Self-hosted

  • [[wakapi]]

Related Posts


如果要使用 Remark42 进行评论确保访问的域名为 https://blog.einverne.info 或者点击 这里评论。


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK