Skip to content

Worklog records single-line task entries in a plaintext file so you can quickly add, edit, search, and generate weekly reports from the terminal

License

Notifications You must be signed in to change notification settings

rogemus/worklog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Worklog

Worklog is a lightweight command-line tool for tracking what you're working on. It records short task entries in a local text file so you can quickly add, edit, remove, and review work without any cloud or subscription.

Key points:

  • Local-first: data is stored on your machine (no cloud).
  • Simple format: human-editable text file.
  • Fast workflow: add tasks from the terminal and generate weekly reports.

Data format

Entries are single-line records starting with a timestamp, a title, and optional metadata. Example entries:

[2006-01-02 15:04:00] Finish documentation @tags:docs,writing @issue_id:XXX-123 @repo:super-repo @branch:master
[2006-01-02 15:10:00] Quick note about a task
[2006-01-02 15:12:00] Follow up @issue_id:XXX-123

By default the database is a text file under your config directory (default: .config/worklog) and can be edited directly with your editor.

Features

  • Create new task entries
  • Edit or remove past entries
  • Generate weekly summary reports
  • Search and filter historical tasks

Installation

Install via Go:

go install github.com/rogemus/worklog@latest

Ensure the worklog binary is in your PATH.

Usage

worklog [command]

Common commands:

  • completion — generate shell autocompletion
  • drop — delete all tasks
  • find — search task history
  • new — add a new task
  • remove — delete a specific task
  • report — show the current week summary
  • version — show app version
  • help — command help

Flags

  • -p, --db-path string : Location of the database file (default .config/worklog)
  • -h, --help : Help for worklog

Use worklog [command] --help for details on a specific command.

Example

worklog new "Finish writing documentation"
worklog report
worklog find "documentation"

About

Worklog records single-line task entries in a plaintext file so you can quickly add, edit, search, and generate weekly reports from the terminal

Topics

Resources

License

Stars

Watchers

Forks