Skip to content

clockify.el emacs package for tracking time in clockify

Notifications You must be signed in to change notification settings

oxalorg/emacs-clockify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

emacs-clockify

An emacs plugin to make time entries into https://clockify.me

Install

Add this to your config file

(use-package clockify
  :load-path "~/projects/emacs-clockify"
  :init
  (setq clockify-api-key "<api-key>")
  (setq clockify-user-id "<user-id>")
  (setq clockify-workspace "<workspace-id>")
)

;; or to not check the secrets in, you can create a file called 
;; secrets.el
(setq clockify-api-key "<api-key>")
(setq clockify-user-id "<user-id>")
(setq clockify-workspace "<workspace-id>")

;; then load it in your init.el
(load-file "./secrets.el")

You need to clone this repo to the path you mention in the :load-path as this package is not yet available on MELPA.

Usage

In any emacs session use M-X and call the clockify-get-projects once to populate all the projects from your workspace.

Then run clockify-clock whenever you want to clock in a time entry. It will show a nice popup where you can search for your project, search for start time, and end time. Really quick!

To start tracking for a project arbitrarily, run M-X clockify-clock-start and select the project. To end it, run M-X clockify-clock-stop

TODO

  • I'm working on a better way to store the api key and workspace id, probably in a file like ~/.emacs-clockify
  • Remove the need to call clockify-get-projects manually
  • Screenshot / GIF

About

clockify.el emacs package for tracking time in clockify

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published