Skip to content

Computes and renders Org-mode clocked time

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.html
Notifications You must be signed in to change notification settings

gscano/org-clock-stat

Repository files navigation

Org-clock statistics

Compute and render Org-mode clocked time.

Check out the demo (the initial display could appear a bit slow because random data generation is done by the browser).

Repositories are available on GitHub and code.malloc.fr.

Usage

Displays the following mandatory and optional CSV file columns:

task, parents, start, end, effort, ishabit, tags

with every column being text except that:

  • start and end are Javascript dates (could be YYYY-MM-DD HH:mm);
  • effort is a Javascript duration (could be HH:mm);
  • ishabit is equal to t or empty.

However, it is intended to work out of the box for Org-mode files processed by org-clock-csv which can be installed as a submodule for convenience. Please read the README first in order to setup a specific init file (~/.emacs.d/init.el will be used by default).

On Linux, the run.sh script could be used to generate the targeted CSV file for a standard installation and configuration (csv content is on the standard output). As a reminder, if no arguments are supplied and if your Emacs init file contains the org-agenda-files variable, all enclosed Org-mode files will be parsed.

Install

This project depends on

For a better latency, run the install.sh command in order to retrieve and store locally the required JavaScript and CSS files. Then comment/uncomment the remote/local sections of main.html.

The general behavior can be controlled by three variables at the top of main.js and three more at the beginning of the window.onload function.

Contributing

Contributions and ideas are most welcome, either on GitHub or by email.