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:
- Clone the repo
git clone https://github.com/jasonleyser/slate-web-extension.git
- In terminal, navigate to the new
slate-web-extension
folder - Run
npm install
- Update the build folder
npm run build
- Navigate to
chrome://extensions/
in your browser - Toggle the
Developer mode
switch on in the top right hand corner - Click the
Load unpacked
button in the top left corner - Select the
build
folder inside of this project folder
- For now, you'll have to add your Slate API key in the temporary settings page
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
- 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)