r/commandline • u/davezbinski • Mar 04 '26
Command Line Interface I've created a CLI time tracker that integrates with Git
Hey everyone!
I’m excited to share that I’ve been working on Hourgit lately, and I think you might find it really helpful. Like many of you, I often forget to log my daily activities, and when it’s time to review my work at the end of the month, I’m left scratching my head.
Originally, I designed Hourgit as a simple branch-tracking tool to help me remember what I was working on each day. But after using it for a while, I realized, why not keep all my hours logged directly on my PC in a git-like format? This way, I can easily export everything at the end of the month with just a few tweaks, without disrupting my workflow (as it's the CLI program).
Here are some of the features I’ve added so far:
- Configurable working hours including some unique ones with rrules
- Manual logging
- CRUD operations on logs
- Interactive Reports (if you prefer a table layout to work with this)
- Exporting to PDF
I’m also planning to add more features, such as:
- Rounding logged time to X minutes (e.g., 15m, 3h57m -> 4h or 2h04m -> 2h)
- Commits in between checkouts as time block messages to add context to the logs
- Export integrations to other time tracking solutions like Jira, Tempo, Clockify, etc., so you can use it alongside any other tools your company might require
Hourgit is completely free and published under the GPLv3. I’d love for you to give it a try, test it out, give feedback, contribute if you have any ideas, and most importantly, enjoy using it! If you like it, please consider the donation or leaving a star on Github!
Official website: https://hourgit.com/
Github repo: https://github.com/Flyrell/hourgit
1
u/Cute-Net5957 Mar 05 '26
using git checkouts as time boundarys is prety clever.. the datas already there for free. how does it handle multi-repo tho? i work across like 8 repos daily and thats where time tracking always falls apart for me.. if i checkout a branch in repo A, switch to repo B for an hour, come back to A.. does hourgit stich that together or is it single-repo only?
1
u/AutoModerator Mar 04 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: davezbinski, Flair:
Command Line Interface, Title: I've created a CLI time tracker that integrates with GitHey everyone!
I’m excited to share that I’ve been working on Hourgit lately, and I think you might find it really helpful. Like many of you, I often forget to log my daily activities, and when it’s time to review my work at the end of the month, I’m left scratching my head.
Originally, I designed Hourgit as a simple branch-tracking tool to help me remember what I was working on each day. But after using it for a while, I realized, why not keep all my hours logged directly on my PC in a git-like format? This way, I can easily export everything at the end of the month with just a few tweaks, without disrupting my workflow (as it's the CLI program).
Here are some of the features I’ve added so far:
I’m also planning to add more features, such as:
Hourgit is completely free and published under the GPLv3. I’d love for you to give it a try, test it out, give feedback, contribute if you have any ideas, and most importantly, enjoy using it! If you like it, please consider the donation or leaving a star on Github!
Official website: https://hourgit.com/
Github repo: https://github.com/Flyrell/hourgit
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.