wakatime / micro-wakatime

Micro editor plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/micro
22 stars 4 forks source link
analytics metrics quantified-self time-tracker time-tracking

WakaTime for Micro Editor

Coding time tracker

Metrics, insights, and time tracking automatically generated from your programming activity.

Installation

Using the plugin manager:

micro -plugin install wakatime

Or from within micro (must restart micro afterwards for the plugin to be loaded):

> plugin install wakatime

Or manually install by cloning this repo as wakatime into your plug directory:

git clone https://github.com/wakatime/micro-wakatime ~/.config/micro/plug/wakatime

For the first time you install WakaTime in your machine the Micro startup could delay a bit.

  1. Enter your api key, then hit Enter.

    (If you’re not prompted, press ctrl + e then type wakatime.apikey.)

  2. Use Micro Editor and your coding activity will be displayed on your WakaTime dashboard.

Usage

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

Project Overview

Configuring

Extension settings are stored in the INI file at $HOME/.wakatime.cfg.

More information can be found from wakatime core.

Troubleshooting

First, turn on debug mode:

  1. Run micro with flag -debug.

    Logs are only generated when running with debug flag. Any other previous logs haven't been recorded.

Next, navigate to the folder you started micro and open log.txt.

Errors outside the scope of this plugin go to $HOME/.wakatime/wakatime.log from wakatime-cli.

The How to Debug Plugins guide shows how to check when coding activity was last received from your editor using the Plugins Status Page.

For more general troubleshooting info, see the wakatime-cli Troubleshooting Section.