Skip to content

turbo-src/chrome-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This only works for Chrome or anything downstream of Chromium. Unless you're in alpha launch, you won't be able to use this directly with cloud hosted Turbosrc. You'll have to launch it locally or on the cloud yourself and edit where necessary to do so. Further documentation is forthcoming.

extension install

Clone the repo.

git clone https://github.com/turbo-src/extension

Install.

yarn install

Build everything.

yarn devLocal

Run E2E testing

yarn devLocalTest

NB

You will need a cypress.env.json file in the root directory to run the tests. See cypress/readme.md

Build for online endpoint

yarn devOnline

But you'll need a config.devOnline.json in the project root directory.

{
    "url": "https://your-domain"
}

Note you'll likely want to setup you endoint so that you don't need to append /graphql to the port.

The above command will create or update a dist/ directory, which is used to load the extension.

  1. Go to extension page. For chrome extensions chrome://extensions.

  2. Enable developer mode.

  3. Click on load unpacked extension and select the dist/ folder.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 93.6%
  • CSS 3.9%
  • HTML 2.2%
  • Shell 0.3%