jasonleyser / slate-web-extension-second

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slate-web-extension

Screen Shot 2021-08-30 at 11 43 16 AM



Testing on Chrome

This project needs to be built in order to take advantage of the Chrome Extension API, such as using the Content script to get the extension's ID, or using the Chrome Storage API. These features cannot be used when running this project locally.

To load as a developer extension inside of Chrome:

  1. Clone the repo git clone https://github.com/jasonleyser/slate-web-extension.git
  2. In terminal, navigate to the new slate-web-extension folder
  3. Run npm install
  4. Update the build folder npm run build
  5. Navigate to chrome://extensions/ in your browser
  6. Toggle the Developer mode switch on in the top right hand corner
  7. Click the Load unpacked button in the top left corner
  8. Select the build folder inside of this project folder

Adding an API key

  1. For now, you'll have to add your Slate API key in the temporary settings page

Shortcuts

option + S opens the main app modal
option + O opens your Slate data page

When the app modal is open:

  • option + B bookmark the current page

Archiving

  1. When you bookmark a website in Chrome (cmd+D) or download a file to your desktop, the Slate extension will automatically archive the file.
    • Images are uploaded as a file and every other type is saved from it's raw link (e.g. pdf and mp4)

About


Languages

Language:JavaScript 79.1%Language:CSS 17.4%Language:HTML 3.4%