Skip to content
>> t͟t͟ym͟e͟t͟r͟a͟c͟k͟e͟r͟ ~$ the terminal time tracker
Python Shell Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
install/vim-logbook
modules
.gitignore
CHANGELOG
LICENSE
README.md
install.sh
requirements.txt
screenshot.png
ttymetracker.py
ttymetracker_aliases.cfg
ttymetracker_credentials.py

README.md

~$ ttymetracker

just a simple command-line tool that will help you to track your time
and manage your pending and completed tasks, among other things.

/content:


demo on https://youtu.be/fcJkX9iVoSQ

vim-logbook, huh?

this tool uses the vim-logbook system by james routley, explained on his project's readme and on his blogpost.
i forked it and tweaked it a little.

vim-logbook simply helps you to log your activity in .md files, like this:

lun 04 mar 2019 15:05:54 CET
---
> Correcciones en las gráficas del dashboard "Consumo de memoria"

lun 04 mar 2019 15:40:02 CET
---
> Reunión con el equipo de Madrid y [ ] depurar los scripts que nos han pasado

- Faltan implementar las últimas funciones
- Habrá dos parámetros en el JSON de config:
        * Desde cuándo cortar
        * Hasta cuándo cortar
- Meter en crontab

lun 04 mar 2019 16:59:34 CET
---
> Completada la actualización de las bases de datos

En local (habiendo hecho `git clone` del repo de la herramienta y luego dentro de un `virtualenv`),
` ` `
python update.py
python tool.py --regenerate_databases
` ` `

ttymetracker, huh?

ttymetracker prints all your .md files from a specific logbook/ directory.
there are several modules which load different features.
for example, along with ttymetracker's todo-list module, it would look like that:

$ python3 ttymetracker.py -m todo-list ~/logbook
=====

lun 04 mar 2019
---------------

15:05:54 > Correcciones en las gráficas del dashboard "Consumo de memoria"

15:40:02 > Reunión con el equipo de Madrid y [ ] depurar los scripts que nos han pasado

16:59:34 > Completada la actualización de las bases de datos

[[ lista de TO-DOs: ]]

0.[ ] depurar los scripts que nos han pasado
*****
13 tareas completadas
Marcar como completada la tarea nº: 

so now you can know at a glance when did you do any task and how much did it take you.
in addition, you can easily mark pending tasks as completed (that action will also be registered on your logbook).

You can’t perform that action at this time.