Skip to content

A browser extension to run scripts on the active tab URL.

License

Notifications You must be signed in to change notification settings

SteveCastle/shrike-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shrike

A browser extension to run a shell command with dynamic arguments and the current tab URL. The extension requires a Go webserver to execute a shell command with the provided arguments and URL. The server accepts a POST request containing json from the extension in the form {"Command":"echo", "Arguments":["https://example.com"]}

shrike-demo.mp4

Dependencies

Building the Server

  • Clone the repository from GitHub.
  • Change directory into the project directory. Then into the server directory cd shrike/server.
  • Modify the command whiteList in main.go to allow specific commands to be run.
  • Build the server by running go build .

Setup

  • Run the server with ./server or ./server.exe on Windows.
  • Install the extension in to your browser of choice by following the instructions in the extension directory readme. The extension is based off of the React TypeScript Web Extension Starter

Usage

  • Configure the command you want to run by editing the command and arguments in the extension pop up.
  • Hit the Run button to execute the command. You can see the StdOut and StdErr in the terminal where the web server is running.

About

A browser extension to run scripts on the active tab URL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published