Skip to content
welearn browser extension
JavaScript Jupyter Notebook CSS Shell HTML Python Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github build: dont forget web target for panda Dec 23, 2019
.storybook Fix webpack config used by storybook to stub web-ext polyfill, and ad… Sep 9, 2019
assets Add next map layers proc notebook Dec 16, 2019
docs Add stories for ConceptList Sep 19, 2019
modules Add gitignore for prod dotatlas Dec 5, 2019
src docs: update changelog and prep v0.0.46 Dec 30, 2019
tests test: expand coverage for wikipedia api Dec 30, 2019
tools Add --silent flag to locale script Oct 8, 2019
.babelrc Improve Babelrc to target es6 Aug 21, 2019
.dockerignore Stub Dockerfile for docker based build tooling Dec 5, 2019
.env.sample docs: update sample env file with wext keys Dec 30, 2019
.eslintrc.yml Add karma fixture and sourcemap plugins May 3, 2019
.gitignore Move node-plugins to modules/plugins from tools Sep 2, 2019
Caddyfile Caddyfile and karma configs Nov 13, 2019
Dockerfile Stub Dockerfile for docker based build tooling Dec 5, 2019
LICENSE Add the supporting config files Nov 7, 2018
README.md docs: add netlify badges in readme Dec 16, 2019
karma.conf.js build: prepare tests for upcoming ci config Dec 23, 2019
netlify.toml Setup netlify preview build configs Dec 16, 2019
package.json build: upgrade js packages Jan 7, 2020
panda build: add wext-shipit for publishing to chrome and refactor panda ro… Dec 30, 2019
requirements.txt build: conditionally source .env and update python requirements Dec 16, 2019
runtime.txt Setup netlify preview build configs Dec 16, 2019
web-ext-config.js Update web-ext config paths Sep 8, 2019
webpack.common.js Ensure we append a hash to avoid outdated caches Dec 11, 2019
webpack.dev.js Don't add LiveReloadPlugin Dec 5, 2019
webpack.prod.js Update webpack config Nov 19, 2019
yarn.lock build: upgrade js packages Jan 7, 2020

README.md

Hi 🖖

You're looking at the source code for WeLearn project which powers WeLearn Browser Extension.

Netlify Status

Components

Ideally it would be trivial to build and test this extension thanks to the build scripts with our friendly ./panda glue-scripts. Use ./panda help for commands.

Overview

  • dev:build: Build development version of extension. Helpful for debugging.
  • dev:server: Run a dev server using webpack-dev-server
  • dev:watch: Watch and compile as you change the source files.
  • dev:webext: Start a firefox instance with the extension installed.
  • release: Build production version, sign with mozilla extension signing service, and upload the artifacts.
iLearn Ext Panda! (@,@)

Usage:
  panda <command> [--command-options] [<arguments>]
  panda -?
  panda --version

Options:
  -?  Display this help information.
  --version  Display version information.

Version: 0.1.1

Help:
  panda help [<command>]

Available commands:
  commands
  dev:build
  dev:server
  dev:storybook
  dev:watch
  dev:webext
  gen:webfonts
  help
  release
  release:build
  release:bump
  release:dev
  release:pack
  release:publish
  release:sign
  version

Usage

After cloning this repo:

  • Copy sample dotenv file from .env.sample to .env. You may wish to change the variables depending on your requirements.
  • Install JS packages using yarn install
  • Run any of the script described above using ./panda.

Notes

  • Extension uses react, you can find the components in src directory.
  • Handlers for extension are in src/procs within same source file name as relevant web-ext API it uses (eg. runtime, background, etc.)

Resources

:wq

You can’t perform that action at this time.