Skip to content

pauldub/activity-watch-mode

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 24 commits ahead, 24 commits behind wakatime:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Emacs Minor Mode for ActivityWatch

MELPA

activity-watch-mode is an automatic time tracking extension for Emacs using ActivityWatch.

Installation

Heads Up! ActivityWatch depends on request.el being installed to work correctly.

It optionally depends on Projectile and Magit to detect project names.

  1. Install activity-watch-mode for Emacs using MELPA.

  2. Add (global-activity-watch-mode) to your init.el file, then restart Emacs.

  3. Use Emacs with activity-watch-mode turned on and your time will be tracked for you automatically.

  4. Visit http://localhost:5600 to see your logged time.

Usage

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

Configuration

Set variable activity-watch-api-host to your activity watch local instance (default to http://localhost:5600).

By default, the extension will try to infer the name of the project by consulting Projectile and Magit. Users can add resolution methods by defining functions in the form activity-watch-project-name-<NAME> and then adding 'NAME to the list of resolvers activity-watch-project-name-resolvers. See its documentation for a list of predefined resolvers.

The default project name used when a proper one cannot be determined is "unknown" and can be customized via activity-watch-project-name-default.

Acknowledgments

This mode is based of the wakatime-mode.

About

Emacs plugin for automatic time tracking and metrics generated from your programming activity.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%