• Stars
    star
    319
  • Rank 127,103 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created over 3 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Task Timer (tt) is a dead simple TUI task timer

header image

tasktimer

Task Timer (tt) is a dead simple TUI task timer.


Usage

To get started, just run tt:

tt

You'll be presented with something like this:

image

You can just type a small description of what you're working on and press ENTER to start timing.

At any time, press ENTER again to stop the current timer or type a new task description and press ENTER to stop the previous task and start the new one.

Each task will have its own timer, and the sum of all tasks will be displayed in the header:

image

At any time, press CTRL+c to stop the current timer (if any) and exit.

You can also press ESC stop the current task and blur the input field and navigate around a long list of tasks using the arrow keys/page up/page down/etc.

Note: there is no concept of "resuming tasks", you can however create several tasks with the same description.

Report

You can extract a markdown file by running:

tt report

It will output the given project (via -p PROJECT) to STDOUT. You can then save it to a file, pipe to another software or do whatever you like:

image

Edit

Let's say you forgot the timer running... you can edit it using the edit command:

tt edit

image

The project will be exporter to a JSON file and will open with your $EDITOR. Once you close it, it will be imported over the old one.

You can also backup/edit/restore using tt to-json and tt from-json.

Help

At any time, check --help to see the available options.

Install

homebrew:

brew install caarlos0/tap/tt

apt:

echo 'deb [trusted=yes] https://repo.caarlos0.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list
sudo apt update
sudo apt install tt

yum:

echo '[caarlos0]
name=caarlos0
baseurl=https://repo.caarlos0.dev/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/caarlos0.repo
sudo yum install tt

arch linux:

yay -S tasktimer-bin

deb/rpm/apk:

Download the .apk, .deb or .rpm from the releases page and install with the appropriate commands.

manually:

Download the pre-compiled binaries from the releases page or clone the repo build from source.

FAQ

Where are data and logs stored?

Depends on the OS, but you can see yours running:

tt paths

Stargazers over time

Stargazers over time

Badges

Release

Software License

Build

Go Report Card

Powered By: GoReleaser

More Repositories

1

env

A simple and zero-dependencies library to parse environment variables into structs
Go
4,239
star
2

starcharts

Plot your repository stars over time.
Go
1,016
star
3

dotfiles.zsh

Config files for ZSH, Java, Ruby, Go, Editors, Terminals and more.
Shell
700
star
4

svu

Semantic Version Util
Go
413
star
5

dotfiles.fish

my dotfiles
Lua
305
star
6

timer

A `sleep` with progress
Go
290
star
7

fork-cleaner

Quickly clean up unused forks on your github account.
Go
261
star
8

domain_exporter

Exports the expiration time of your domains as prometheus metrics.
Go
185
star
9

org-stats

Get the contributor stats summary from all repos of any given organization
Go
180
star
10

twitter-cleaner

Automatically delete tweets, retweets, and favorites from your timeline, and, if provided, from your twitter archive as well.
Go
93
star
11

jsonfmt

Like gofmt, but for JSON files.
Go
71
star
12

dotfiles

dotfiles (home-manager), nixOS, and nix-darwin configurations
Nix
66
star
13

clone-org

Clone all repos of a github organization
Go
65
star
14

parttysh

something really useful: a party parrot over ssh
Go
55
star
15

httperr

func(w http.ResponseWriter, r *http.Request) error
Go
51
star
16

log

Colorful CLI logger
Go
47
star
17

speedtest-exporter

Exports speedtest-cli metrics in the prometheus format
Go
45
star
18

testfs

A simple fs.FS implementation to be used inside tests.
Go
31
star
19

timea.go

timea.go (did you see what I did there?) is a simple library to print given times in "time ago" manner.
Go
26
star
20

name-generator

quick'n'dirty name generator using docker's namesgenerator pkg
Go
24
star
21

github_releases_exporter

Exports GitHub release metrics to the Prometheus format
Go
21
star
22

version_exporter

Monitor the versions of the things you run and care about
Go
20
star
23

go-version

Version library extracted from sigs.k8s.io/release-utils
Go
19
star
24

awesome-twitter-communities

A list of awesome twitter communities
18
star
25

karmahub

Compares the amount of issues and pull requests you created with the amount of comments and code reviews you did.
Go
17
star
26

xdg-open-svc

xdg-open as a service
Go
16
star
27

go-gumroad

Easily check licenses against Gumroad's API.
Go
16
star
28

go-sshagent

A simple SSH Agent implementation, written in Go, mainly to be used within tests.
Go
15
star
29

fastcom-exporter

Prometheus Fast.com exporter
Go
15
star
30

discord-applemusic-rich-presence

Discord's Rich Presence from Apple Music
Go
14
star
31

promfmt

format prometheus .rules files
Go
13
star
32

caarlos0

13
star
33

nur

My Nix User Repository
Nix
12
star
34

kube-shutdown-after

Shutdown pods in sandbox clusters when it's not work hours
Go
12
star
35

duration

Copy of stdlib's time.Duration, but ParseDuration accepts other bigger units such as days, weeks, months and years
Go
11
star
36

tablewriter

A very simple table using lipgloss and text/tabwriter.
Go
11
star
37

sshmarshal

Code copied from x/crypto and golang/go#37132
Go
11
star
38

ctrlc

Go library that provides an easy way of having a task that is context-aware and deals with SIGINT and SIGTERM signals
Go
11
star
39

home

my home k3s cluster
10
star
40

goreleaserfiles

my goreleaser.yml files
Shell
9
star
41

homekit-amt8000

Homekit bridge for Intelbras AMT8000 Alarm Systems
Go
9
star
42

meta

reusable github actions workflows and other shareable configuration files 🫥
Go
7
star
43

linktree

static linktree with tailwindcss and html
HTML
6
star
44

uhr

Zeichenorientierte Benutzerschnittstelle Uhr
Go
6
star
45

homekit-shelly

Homekit bridge for Shelly Flood and Smoke sensors
Go
5
star
46

homekit-solarman

Homekit bridge for Solarman Inverters
Go
5
star
47

solarman-exporter

Prometheus Exporter for SolarmanPV
Go
5
star
48

advent-of-code-2022

Advent Of Code 2022 — In Rust, btw
Rust
5
star
49

teatest-example

example teatest app
Go
4
star
50

sinkhole

docker image that just responds any path with 200 and does nothing, for testing
Go
4
star
51

homebrew-tap

Homebrew Formulae to my binaries, powered by @goreleaser
Ruby
4
star
52

esp8266-garage-door

Homekit controller and firmware for an ESP8266-based automated garage door
Go
3
star
53

beckeros

Rust
3
star
54

ziglings

learning some zig :P
Zig
3
star
55

go-solarman

Go client for the SolarmanPV API
Go
2
star
56

transactional

a sqlx transaction wrapper for http.Handler
Go
2
star
57

servers

ansible playbook for my servers
Jinja
2
star
58

goreleaser

Deliver Go binaries as fast and easily as possible
Go
1
star
59

sync

Simple sync primitives I use here and there, extracted so I can reuse them
Go
1
star
60

dockerfiles

Dockerfile
1
star
61

fish-git-fetch-merge

git fetch && git merge in a breeze
Shell
1
star