Features | Installation | Usage | Changelog
timetracker
is a personal time tracker for simple tasks. It is loosely based on a time tracking program I used in the early 2000s.
timetracker
tracks the date and time that a task starts at and stops at in a database. It can report on how long was spent on each task in a given time period.
- Cross-platform; supporting Linux, macOS, and Windows
- Tested on Ubuntu 22.04, macOS Monterey + Sonoma, Windows 10 and 11
- GUI app to start, stop, and manage tasks
- System tray app
- Convenient access to start, stop, and create tasks
- Task status (idle, running)
- CLI app for scripting or other command-line tasks
To build timetracker
from source, install the following tools followed by the dependencies that your Operating System requires below:
- Golang v1.18 or newer
- GNU Make v3.82 or newer
- Git
Run one of the commands below to install dependency packages:
sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev
sudo dnf install golang gcc libXcursor-devel libXrandr-devel mesa-libGL-devel libXi-devel libXinerama-devel libXxf86vm-devel
Install the Xcode tools from the Terminal using the following command:
xcode-select --install
Please consult the following sites for information on dependencies for other platforms:
- Clone the repository to your machine using GitHub's download feature or by using the following
git
command:
git clone https://github.com/neflyte/timetracker
- Build the
timetracker
app:
make
- The app will be placed in the
dist
subdirectory
- Copy the apps from the
dist
subdirectory to a directory on the system path, for example/usr/local/bin
or$HOME/bin
:
cp dist/timetracker* $HOME/bin
- Copy the
Timetracker.app
bundle from thedist
subdirectory into theApplications
folder.
- Copy the apps from the
dist
subdirectory to a new directory, for exampleC:\Program Files\Timetracker
, and add it to the systemPATH
environment variable:
New-Item 'C:\Program Files\Timetracker' -Type Directory -Force
Copy-Item dist\timetracker*.exe 'C:\Program Files\Timetracker'
To start the GUI app, run the following command:
timetracker-gui
To start the GUI app, double-click on the app icon.
To start the system tray app as a background process, run one the following commands:
nohup timetracker-tray &
nohup /Applications/Timetracker.app/Contents/MacOS/timetracker-tray &
timetracker-tray
- The system tray app can also be launched by double-clicking the
timetracker-tray.exe
app icon.