#time-tracking #command-line #cli

app augr-cli

A simple command line time tracking application

4 releases

0.2.1 Sep 1, 2019
0.2.0 Aug 11, 2019
0.1.1 Jul 19, 2019
0.1.0 Jul 18, 2019

#48 in #time-tracking

GPL-3.0-or-later

71KB
2K SLoC

augr

augr tracks your time, generates summaries, and syncs between devices using Syncthing.

This project is heavily inspired by timewarrior.

Setup

Build the application:

$ git clone https://github.com/Geemili/augr
$ cd augr
$ cargo build

Create and edit the config file (located at ~/.config/augr/config.toml on linux):

sync_folder = "/some/sync/folder"
device_id = "laptop"

sync_folder should be a synchronized between devices by a service like Syncthing or dropbox.

device_id should be unique for all devices that use the same sync folder.

Once you have saved the config file, you can run augr:

$ augr
Date  Start Duration Total     Tags
――――― ――――― ―――――――― ――――――――  ――――――――

Using with Termux on Android

Build and upload the android executable:

$ nix-shell android.nix --run "cargo build --target=armv7-linux-androideabi"

# Upload the android executable using adb
$ adb push target/armv7-linux-androideabi/augr /storage/self/primary/

Then in termux on your phone:

$ cp /storage/self/primary/augr ./
$ chmod ./augr
$ ./augr

Dependencies

~7–9.5MB
~162K SLoC