Skip to content

Wakatime

wakatime-cli

  • Github
  • Log: ~/.wakatime.log
  • Bolt DB: ~/.wakatime.bdb
  • Data dir: ~/.wakatime/)

Configuration

Install

sudo pacman -S wakatime

Usage:

Clients / Integrations

Android:

Plugins

From FAQ: Working offline:

When working offline with supported editors* your coding activity is saved in a boltdb database at $HOME/.wakatime.bdb. The next time you use your IDE when online, your coding activity is synchronized to your WakaTime dashboard. All editor plugins using the wakatime-cli have support for offline coding. * The Chrome extension supports working offline using IndexedDB. * The Brackets extension does not support working offline.

neovim

Wakatime browser plugin

Chrome extension for automatic time tracking and metrics generated from your browsing activity.

Configure browser-wakatime: * API URL: https://wakapi.dev/api/compat/wakatime/v1

Build plugin

  • The extension is going through a refactor, the new build instructions are in DEVELOPMENT.md

Install nvm and @xarc/run-cli (for xrun) (see ../../coding/node.md):

Change URL in plugin:

git clone https://github.com/wakatime/browser-wakatime ~/projects/timetracking/wakatime/browser-wakatime
cd ~/projects/timetracking/wakatime/browser-wakatime
git checkout -b wakapi
grep wakatime.com -irl |grep -vE '(AUTHORS|README.md)' | xargs sed -i 's/wakatime.com/wakapi.k.varac.net/g'

Build:

nvm use 18.13.0
npm install
xrun build

Other plugins

  • Terminal "Warning: Only use the terminal plugins if you don't work in a text editor or IDE. The normal editor plugins give much better coding stats."
  • Obsidian
  • Community plugins

Selfhosting server component

  • hakatime Haskell, current updates and releases

wakapi