Skip to main content

A command line tool for TimeTagger. This is a more feature-rich and ergonomic fork of the original timetagger-cli, providing better user experience and additional features.

Project description

(Better) TimeTagger CLI

Track your time with TimeTagger from the command line.

TimeTagger is a (self-)hosted time tracking tool that helps you keep track of time spent on your tasks and projects.

This project provides a command-line interface (CLI) for the TimeTagger time tracking application, allowing you to manage your time entries directly from your terminal. It is a more feature-rich and ergonomic fork of the original timetagger-cli by Almar Klein, adding a more user-friendly interface along with a number of new features, such as:

better-timetagger-cli timetagger-cli
Start / stop tasks
Resume previous tasks
Display status update
List records by timeframe
Diagnose & fix database errors
Natural language support date/time
Easily tag records
Filter tasks by tags
Summary per tag
Hide / restore records
Export records to CSV
Import records from CSV
Preview records from CSV
Color-code output and render tables
Output rounded record times
Configurable date/time formats
Command aliases

🚀 Quickstart

1. Install the better-timetagger-cli package.

$ pipx install better-timetagger-cli

2. Update the configuration with your base_url and api_token.

$ t setup

3. Review CLI commands and options.

$ t --help
# Usage: t [OPTIONS] COMMAND [ARGS]...
#
# Options:
#   ...
#
# Commands:
#   ...

$ t start --help
# Usage: t start [OPTIONS] [TAGS]...
#
# Options:
#   ...

4. Manage your time with the command line interface.

$ t start client-a
#         Started             Stopped             Duration   Description
# ──────────────────────────────────────────────────────────────────────
#   Tue   27-May-2025 08:15   ...                       0m   #client-a

$ t stop -a "in 15 minutes"
#         Started             Stopped             Duration   Description
# ──────────────────────────────────────────────────────────────────────
#   Tue   27-May-2025 08:15   27-May-2025 08:30        15m   #client-a

$ t show -s yesterday
#         Started             Stopped             Duration   Description
# ──────────────────────────────────────────────────────────────────────
#   Tue   27-May-2025 08:15   27-May-2025 08:30        15m   #client-a
#   Mon   26-May-2025 13:20   26-May-2025 17:57     4h 37m   #client-b
#   Mon   26-May-2025 09:34   26-May-2025 12:40     3h  6m   #client-b

$ t export -s "monday 8am" -e "friday 6pm" -o records.csv
# Exported 3 records to 'records.csv'.

📚 Documentation

For complete instructions, configuration details, and advanced features, visit the full documentation on Read the Docs.

🤝 Contributing

You are welcome to file bug reports and feature requests by opening a github issue on this repository. If you’d like to contribute code, please consider starting with an issue to discuss the change before opening a pull request, to allow for a discussion of the intended change.

Pull requests (PRs) are appreciated and should reference a related bug report or feature request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

better_timetagger_cli-0.2.3.tar.gz (125.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

better_timetagger_cli-0.2.3-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file better_timetagger_cli-0.2.3.tar.gz.

File metadata

  • Download URL: better_timetagger_cli-0.2.3.tar.gz
  • Upload date:
  • Size: 125.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for better_timetagger_cli-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f46a737a01bb4a6f74bd66735650c3ea928c8d51c4ba1549e00004f1f3d6b6f7
MD5 6464495a5683ab49b143e8ea6ab08570
BLAKE2b-256 384f0463d815bd1f58e0a4f53a1b00889ab2be0c10f9db9fb43344e590e9cef7

See more details on using hashes here.

Provenance

The following attestation bundles were made for better_timetagger_cli-0.2.3.tar.gz:

Publisher: auto-release.yml on PassionateBytes/better-timetagger-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file better_timetagger_cli-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for better_timetagger_cli-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea10062663852ca4af60aab5afec9f6692e3ad84b2d567aae60cd6c29819422a
MD5 06e0810602f644c00f0f83d4aba56f1a
BLAKE2b-256 1910b72d0b44ede02c10febd6d86b3fe951ff220345e3b4af3b3fb9ed52ebfe7

See more details on using hashes here.

Provenance

The following attestation bundles were made for better_timetagger_cli-0.2.3-py3-none-any.whl:

Publisher: auto-release.yml on PassionateBytes/better-timetagger-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page