A browser extension to save pages on the internet. Get Atlas from in Chrome Extensions store.
yarn install
This extension can be run as a browser extension or as a regular web app.
Make sure you set the following environment variables
(see shared.env
for an example of what environment variables you'll need to set):
REACT_APP_ATLAS_API_URL_DEV="<YOUR_API_URL>"# for example:"http://127.0.0.1:8000"
REACT_APP_ATLAS_API_URL_PROD="<YOUR_API_URL>"
To set an API Key manually. Set atlasAPIKeyCredit
in your local storage.
yarn build:extension
Visit chrome://extensions in Chrome browser and click load unpacked and select the build/
folder
yarn install
yarn start
- Update the version number in
manifest.json
- Build deployment package:
yarn build:extension
- Zip
zip -r build.zip build
- Upload package in Chrome web store developer dashboard
- Follow instructions on page to submit for review
-
Right click inspect to open Devtools
-
Paste any commands below into your console, don't forget to remove
REMOVE_IF_YOU_ARE_SURE.
To view all the items in your storage:
chrome.storage.local.get(null,function(items){
console.log(items);
})
To delete a specific item at that key:
chrome.storage.local.get({savedContent: {}}, function(items) {
delete items.savedContent['<url_to_delete>']
console.log("items.savedContent", items.savedContent) // confirm that this looks like what you expect
chrome.storage.REMOVE_IF_YOU_ARE_SURE.set(items, function() {
alert('Item deleted!');
});
});