Home

Awesome

Knowledge Extensions

Chrome extension for the Knowledge application (Firefox extension coming soon!).

Download for Chrome

Table of Contents

Features

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.

Feature Roadmap

Screenshots

<img width="1284" alt="image" src="https://user-images.githubusercontent.com/19367848/179290906-458d374a-ce6d-482c-9dea-bcb5b6463c5a.png"> <img width="1284" alt="image" src="https://user-images.githubusercontent.com/19367848/179290995-4829401f-78bc-4279-9e79-395126c66613.png"> <img width="1175" alt="image" src="https://user-images.githubusercontent.com/19367848/179291568-ae6bf977-63f5-453b-88a5-d978d03df982.png">

Getting Started

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.

Instructions

  1. Download the prebuilt zip, or build from source (see below)
  2. Ensure that Knowledge version 0.6.0 or higher is installed
  3. In Knowledge, go to Settings > Import and enable "Browser Extensions"
  4. In Chrome, navigate to chrome://extensions
  5. Enable "Developer mode"
  6. Click "Load unpacked"
  7. Select the knowledge-extensions folder
  1. (Optional): Click the Chrome Extensions button and pin Knowledge Extension for quick access
<img width="1149" alt="image" src="https://user-images.githubusercontent.com/19367848/179329180-00022d28-1cf9-4540-88d5-2e9f637f82fd.png"> <img width="1278" alt="image" src="https://user-images.githubusercontent.com/19367848/179286999-10bc8da1-844e-4821-8e50-b2184ffeae49.png">

Build from source (Optional)

  1. Clone this repository
  2. Delete the .yarnrc.yml file. This will be replaced in the next steps
  3. Run the following commands to setup yarn and install dependencies:
yarn set version berry
yarn plugin import typescript
  1. Edit the .yarnrc.yml file and add nodeLinker: node-modules as the first line. The .yarnrc.yml file 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
  1. Run yarn install followed by yarn build
  2. The final build will be located in dist/knowledge-extensions
  3. (Optional) To clean the dist directory, run yarn clean. To remove all node dependencies, run yarn purge