A Chrome extension that lets you run local terminal commands on your local Linux / MacOS machine directly from the browser.
Here are some possible cases where the extension immensely accelerates working with the shell:
- Installing
npm
or Python libraries from a documentation website - Setting up a Linux installation (especially Arch!)
- Fixing a bug in Linux (maybe the Wi-Fi wasn't working and you need a
board.bin
?)
Coming soon to the Chrome Web Store!
As of now, head over to releases and install the latest you can find (and maybe ... pin it?).
Here's what you can do with the extension:
- Open a website that contains some commands
- Use the mouse to select a command
- Right-click and select Run command
- Wait for a success notification!
- Click the extension icon in the Chrome extension bar (or
Alt+X
) - See the output and be zen!
In short, yes. Read on to know how.
For privacy sake, you're totally justified wanting to know. Well, every other layer of abstraction over password input increases your chances of getting snooped. This feature is no exception. As of now, the password is bundled into the body of every POST request to a local Node.js server that ultimately executes the command in question. The password is in clear and not hashed and if you're serious about stuff like MITM, I'd recommend you clear the password from the extension settings (which also clears it from the browser storage). In that case, you're super safe for sure but, of course, you can't run sudo
commands!
Internally, the Node.js server takes the password from the request body and runs echo <your-password> | sudo -S -p "" <your-command>
.
I ran a command with this extension but didn't receive a notification of completion. What's going on?
It's quite likely that the command is waiting for some kind of user input or the sudo
password could be wrong or maybe the command is long-running.
You're probably not running the local server or maybe the port 7236 is taken. Head over to releases and carefully run through the installation once more.
Note: As of now, the port of the local server cannot be changed. You might've to close another application that's using this port.
Made with ❤️ by theGeekyLad