Chrome extension for the Knowledge application (Firefox extension coming soon!).
Table of Contents
Knowledge Extensions are meant to augment the use of the Knowledge application by making it easier to import sources without leaving the browser. Extensions automatically extract content from the active tab and allows user customization before sending that data to the Knowledge application.
- Automatic Extraction
- Basic extraction (title, url, icon)
- Topics (keywords) extraction
- OpenGraph extraction (description, thumbnail, type, etc.)
- Twitter tag extraction
- Highlighted text extraction
- Article extraction
- Code blocks extraction
- YouTube video metadata extraction
- Mark source
Importanton import - Sync with
Knowledgefor existing sources- Show source details in extension if it exists in
Knowledge - Show related/similar sources
- Persist highlights and other markup
- Show source details in extension if it exists in
- Save as PDF on Import
- Set a custom port for communicating with
Knowledge
Note: Extensions only work with Knowledge version 0.6.0 or higher. Knowledge must be opened and Browser Extensions must be enabled in the Import Settings menu. Extensions are side-loaded using developer mode in Chrome for now. We are still investigating the viability of hosting the extension on the Chrome Web Store.
- Download the prebuilt zip, or build from source (see below)
- Ensure that
Knowledgeversion 0.6.0 or higher is installed - In
Knowledge, go toSettings > Importand enable "Browser Extensions" - In Chrome, navigate to
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked"
- Select the
knowledge-extensionsfolder
- When building from source, this will be under
<root>/dist/knowledge-extensions
- (Optional): Click the Chrome Extensions button and pin
Knowledge Extensionfor quick access
- Clone this repository
- Delete the
.yarnrc.ymlfile. This will be replaced in the next steps - Run the following commands to setup yarn and install dependencies:
yarn set version berry
yarn plugin import typescript- Edit the
.yarnrc.ymlfile and addnodeLinker: node-modulesas the first line. The.yarnrc.ymlfile should have the following contents:
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
yarnPath: .yarn/releases/yarn-3.2.1.cjs- Run
yarn installfollowed byyarn build - The final build will be located in
dist/knowledge-extensions - (Optional) To clean the
distdirectory, runyarn clean. To remove allnodedependencies, runyarn purge




