All Projects → beatbrot → trackie

beatbrot / trackie

Licence: Apache-2.0 license
⏳ trackie is a private, daemon-less time tracker for your CLI.

Programming Languages

rust
11053 projects
Makefile
30231 projects

Projects that are alternatives of or similar to trackie

reading-list
Reading list to help people getting started in the industry & prospective employees
Stars: ✭ 26 (-33.33%)
Mutual labels:  project-management
PM-Dashboard-v2
Northeastern Electric Racing Project Management Dashboard - version 2
Stars: ✭ 16 (-58.97%)
Mutual labels:  project-management
general-interview-questions
Project Management Basics
Stars: ✭ 52 (+33.33%)
Mutual labels:  project-management
z-pot
project overview tool, used to analyze the amount of code, the number of files, code statistics and so on.
Stars: ✭ 18 (-53.85%)
Mutual labels:  project-management
goyave
A supervisor for git projects
Stars: ✭ 20 (-48.72%)
Mutual labels:  project-management
project-management-cheat-sheet
Project Management Cheat Sheet
Stars: ✭ 60 (+53.85%)
Mutual labels:  project-management
Gantt For React
🌿 Frappe Gantt components for React wrapper. 一个简单的甘特图 React 组件封装。
Stars: ✭ 250 (+541.03%)
Mutual labels:  project-management
Laravel-Project-mgmt
A Laravel Project Management Tool
Stars: ✭ 17 (-56.41%)
Mutual labels:  project-management
duck
Create command snippets for repetitive development task. Share them to an online repository system (self hosted options available).
Stars: ✭ 40 (+2.56%)
Mutual labels:  project-management
changelog-enforcer
A simple GitHub action that enforces that a maintained changelog is kept up to date.
Stars: ✭ 32 (-17.95%)
Mutual labels:  project-management
swdc-atom
Track your programming activity in real-time in Atom
Stars: ✭ 11 (-71.79%)
Mutual labels:  time-tracking
Log
Daily logging tool and data visualizer.
Stars: ✭ 30 (-23.08%)
Mutual labels:  time-tracking
bor
An app for managing work in a team
Stars: ✭ 24 (-38.46%)
Mutual labels:  project-management
pm-discussify
Discussify's project management repository
Stars: ✭ 17 (-56.41%)
Mutual labels:  project-management
phpcollab
Project management and collaboration over the internet.
Stars: ✭ 42 (+7.69%)
Mutual labels:  project-management
gedit-wakatime
Gedit 3.8+ plugin for automatic time tracking and metrics generated from your programming activity.
Stars: ✭ 18 (-53.85%)
Mutual labels:  time-tracking
team-compass
A repository for team interaction, syncing, and handling meeting notes across the JupyterHub ecosystem.
Stars: ✭ 59 (+51.28%)
Mutual labels:  project-management
projectile
An app for managing your JavaScript projects
Stars: ✭ 128 (+228.21%)
Mutual labels:  project-management
workflowr
Organize your project into a research website
Stars: ✭ 747 (+1815.38%)
Mutual labels:  project-management
clickrup
Interacting with the ClickUp v2 API from R
Stars: ✭ 13 (-66.67%)
Mutual labels:  project-management

trackie

Crates.io Crates.io GitHub Workflow Status

`trackie` is a private, daemon-less time tracker running in your CLI.

Trackie offers an easy CLI to track the time you spent on your various projects. It bundles up your busy days in easy digestible reports that you can filter to your liking.

All data is saved to ($XDG_DATA_HOME|%APPDATA%)/trackie/trackie.json where it can be processed by other tools.

Trackie is optimized to lower its complexity to the absolute minimum.


Usage

Trackie currently consists of three simple commands:

  • trackie start <project-ID>: Starts time tracking for a project with the given ID.
  • trackie stop: Stops the time tracking.
  • trackie resume: Resumes time tracking for the last tracked project.
  • trackie status [-f <format>]: Prints information about the currently tracked project.
  • trackie report [-d <num-days>] [-i/--include-empty-days] [--json]: Creates a report for the last n days (default: 5).

Shell integration

Trackie's customizable status command is a great fit for many shells.

Starship

The following starship configuration, for example, leads to a nice element that shows on which project you are working on and for how long you are already doing that.

[custom.trackie]
command = 'trackie status -f "%p[%D]"'
# Comment the following line if you don't want to hide the trackie block if no project is currently tracked
when = "trackie status"
symbol = ""
style = "bg:cyan fg:black"
format = "[$symbol($output)]($style)[](fg:cyan)"

This configuration leads to the following result:

Windows Terminal with starship and trackie extension
Use the following config to get better performance when using powershell
[custom.trackie]
command = ''
shell = ["cmd.exe", "/C", "trackie status -f %p[%D]"]
# Comment the following line if you don't want to hide the trackie block if no project is currently tracked
when = "trackie status"
symbol = ""
style = "bg:cyan fg:black"
format = "[$symbol($output)]($style)[](fg:cyan)"

Oh My Posh

To get an equivalent prompt with "Oh my Posh", use the following segement code in your config file.

{
  "type": "command",
  "style": "powerline",
  "foreground": "#100e23",
  "powerline_symbol": "\uE0B0",
  "background": "cyan",
  "properties": {
    "prefix": "",
    "command": "/root/trackie status -f %p[%D]"
  }
}

Completion

Use the completion command to generate the completion script for your shell. See trackie completion --help for details.

Exemple with zsh:

trackie completion zsh > /usr/local/share/zsh/site-functions/_trackie 

Note Make sure to restart your shell for the changes to take effect

Installation

Download prebuilt release

  1. Download the binary for your respective OS from the latest release.
  2. Copy it to a folder in your PATH.

Compile from source using cargo

  1. Run cargo install trackie.

Compile from source using make

git clone https://github.com/beatbrot/trackie
cd trackie
make
sudo make install
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].