项目作者: wakatime

项目描述 :
Emacs plugin for automatic time tracking and metrics generated from your programming activity.
高级语言: Emacs Lisp
项目地址: git://github.com/wakatime/wakatime-mode.git
创建时间: 2014-11-23T03:41:53Z
项目社区:https://github.com/wakatime/wakatime-mode

开源协议:

下载


Emacs Minor Mode for WakaTime

wakatime-mode is an automatic time tracking extension for Emacs using WakaTime.

Installation

  1. Install wakatime-mode for Emacs using MELPA (Doom users see @el.gamerph/how-to-install-wakatime-in-doom-emacs-e5c582e15261">these instructions instead).

  2. Download wakatime-cli to ~/.wakatime/ or somewhere in your $PATH. (Or brew install wakatime-cli on Mac)

  3. Add (global-wakatime-mode) to your init.el file, then restart Emacs.

  4. You will see a prompt asking for the path to wakatime-cli. Run which wakatime-cli and enter that path into the emacs prompt, then press enter.

  5. Enter your api key in your init.el or ~/.wakatime.cfg file (config file format).

  6. Use Emacs with wakatime-mode turned on and your time will be tracked for you automatically.

  7. Visit http://wakatime.com to see your logged time.

Installation for Spacemacs

See Installing WakaTime with Spacemacs.

Screen Shots

Project Overview

Usage

Enable WakaTime for the current buffer by invoking M-x wakatime-mode. If you wish to activate it globally, run M-x global-wakatime-mode.

Configuration

Set variable wakatime-api-key to your API key.

Point wakatime-cli-path to the absolute path of wakatime-cli.

Troubleshooting

To be sure heartbeats are getting sent, turn on debug mode by adding this line to your ~/.wakatime.cfg file:

  1. debug = true

Then run tail -f ~/.wakatime/wakatime.log and make sure you see a 201 response code from the WakaTime API.