@binarytreereversal/open-project-tabs
v1.0.6
Published
Keep your research tabs versioned with your project and open all of them in your default browser with a single command.
Downloads
25
Readme
open-project-tabs
What's better than having 34 Stack Overflow tabs open trying to fix some arcane bug? Calling it a night and saving 34 tabs to your desktop or in a junked up bookmarks folder in Chrome.
Perhaps you want to share a resource with a colleague that you were using a few weeks ago and you don't want to grep your search history?
open-project-tabs is a small node.js util script that simplifies the issue of keeping a bunch of tabs associated with a repo/project.
Installation and Setup
You can install the npm module by running
npm i --save-dev @binarytreereversal/open-project-tabs
next, run the setup file
node node_modules/@binarytreereversal/open-project-tabs/setup.js
This will copy two files to your root directory (openTabs.js and tabs.txt).
Then you can save your urls in tabs.txt. You may use a .txt file stored pretty much anywhere, but you will have to pass the filePath argument when running the script if you choose to save tabs.txt somewhere other than the root directory.
Usage
Simply run
node openTabs.js
to open all of the URLs in tabs.txt
or with the optional parameter, filePath:
node openTabs.js --filePath="relativeFilePathToTabsTxtFile"
Tabs.txt File
The tabs file can be named anything and located anywhere reachable from the directory where you will run the script.
Important Note: The tabs.txt file should include newlines after each url.