Why and What?
When I am working on something that I know I will get back to in a while and have to switch context (sometimes even a machine and an environment), I want to save all the relevant opened tabs from my browser to reopen them later. Ideally, I would like to avoid saving them to my bookmarks and rather save them together with a project (context) I was working on.
Before I wrote this small utility, I used to store the links in markdown
format as a list with description of what I can find under given links. That was rather impractical and took a long time to initially write down, and also open later on.
With the utility, I can now save the links into the sources.txt
file, one link per line. Then I just check-in the file together with the project into the VCS. When the time comes to start where I left of, I just run python resume.work.from.file path/to/directory/with/sources.txt/file
and it opens all the tabs in my default browser.