{"by":"tomaszsobota","descendants":54,"id":35331233,"kids":[35335802,35336818,35332768,35334831,35333173,35332785,35335489,35332550,35336594,35340180,35338747,35332484,35332853,35332829,35333053,35336503,35332515,35344577,35337506,35352599],"score":122,"text":"Hi HN!<p>I was feeling incredibly frustrated with my struggles in context-switching and writing documentation, so I decided to take action and find a solution.<p>I wrote a simple tool for Alfred and Raycast that helps me be more mindful when switching between tasks, which can even prevent some of those switches. Plus, I can jot down quick notes on each task as I go, making it easier to document everything once I’m finished.<p>This tool is really simple with only 5 commands - tsr, tsn, tsl, tsv, tse<p>tsr writes a new record<p>tsn writes a new note<p>tsl shows you the current task<p>tsv builds a static html page displaying a single timeline of the tasks and notes<p>tse opens the directory where records are stored for easy manual editing<p>TSR stores your data as simple csv files in ~&#x2F;tsr, making it super easy to integrate with other tools or perform your own custom analysis and visualisation magic. The built-in tsv timeline visualisation is rather simple and doesn’t do any analysis (for now at least).<p>It depends solely on Python3 and works offline. \nI encourage you to check the python scripts to see how simple they are and potentially adapt them to your own needs.<p>Let me know what you think!","time":1679945648,"title":"Show HN: Time-tracker that helps me with context switches and documentation","type":"story","url":"https://github.com/tech-branch/tsr"}