Hackatime Terminal Viewer

Installation

Install the binary from crates.io, then run it.

cargo install hackatime
hackatime

Quick Start

  1. Run hackatime.
  2. Complete the browser-based sign-in flow.
  3. Return to the terminal after authentication finishes.

Views

hackatime
Shows the multi-range summary and lifetime languages.
hackatime --fetch
Shows a neofetch-style overview.
hackatime --graph
Shows a coding heatmap for the last 365 days.
hackatime --projects
Shows top projects with per-project language graphs and a key.
hackatime --current
Shows the current project report.
hackatime .
Shows stats for the current folder when it matches a Hackatime project.

Ranges

hackatime --today
Shows today's total and language breakdown.
hackatime --week
Shows this week's total and language breakdown.
hackatime --month
Shows this month's total and language breakdown.
hackatime --year
Shows this year's total and language breakdown.
hackatime --lifetime
Shows lifetime total and language breakdown.
hackatime --projects --week|--month|--year|--lifetime
Scopes the projects view to a selected range.

Lookup

hackatime --lookup <username>
Shows public stats for another user.
hackatime --lookup <username> -g
Shows that user's coding graph.
hackatime --lookup <username> --projects --year
Shows that user's yearly top projects.

Settings

hackatime settings
Shows the current saved settings.
hackatime settings color
Opens the color picker.
hackatime settings clear toggle
Toggles terminal clearing on or off.
hackatime settings clear on|off
Sets terminal clearing explicitly.