Skip to content

hoducha/klogreport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

klogreport

A command-line tool that generates beautiful time tracking reports from klog files.

Features

  • Project Time Spent: Shows total time logged per project
  • Tags Time Spent: Aggregates time across all projects by tags
  • Tags per Project: Breaks down tag usage within each project
  • Daily Working Time: Shows daily time totals across all projects
  • Colorful bar charts with dynamic scaling
  • Automatic detection of .klg files in specified directory

Screenshot

screenshot

Installation

  1. Make sure you have klog installed
  2. Build the program:
    go build -o klogreport main.go

Usage

Set the KLOG_DIR environment variable to point to your klog files directory:

export KLOG_DIR=/path/to/your/klog/files
./klogreport

Or specify it inline:

KLOG_DIR=/path/to/your/klog/files ./klogreport

If KLOG_DIR is not set, it defaults to ~/klog.

Dependencies

  • klog - Must be installed and available in PATH
  • fatih/color - Terminal colors

License

MIT

About

A command-line tool that generates beautiful time tracking reports from klog files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages