This is similar in spirit to my app, TaskTXT (https://www.tasktxt.com). It's a plain text task manager which allows you to time your tasks, helping you avoid distraction. The timer data is stored right in the document.
I made a video about how it works: https://www.youtube.com/watch?v=gbGawb728xA