Tabs Reopen CLI is a simple Node.js command-line application that helps you reopen multiple tabs in your browser if you accidentally closed them.
You can reopen a single tab by 'Ctrl+Shift+T'
But, what if you want to reopen 10,20 or 30 tabs in that specific order ?
Here comes this nodejs-cli tool, Just specify the number of tabs to reopen & the browser, it will reopen the tabs.
- Reopen a specified number of tabs using 'Ctrl+Shift+T' of the selected browser
Make sure you have the following installed on your system:
-
Node.js: Ensure you have Node.js installed.
-
wmctrl
: A command-line tool to interact with an EWMH/NetWM-compatible X Window Manager. -
xdotool
: A command-line tool to simulate keyboard input and mouse activity.sudo apt install wmctrl xdotool
-
Clone the repository:
git clone https://github.com/anubhavgh023/tabs-reopen-cli.git cd tabs-reopen-cli
-
Install dependencies:
npm i
Run the app with the following command:
node tabs_reopen.js
- Google Chrome
- Mozilla Firefox
- Brave
If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.