GithubHelp home page GithubHelp logo

simsapa / simsapa-extensions-and-plugins Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.03 MB

Simsapa Extensions and Plugins

License: MIT License

Makefile 4.77% Python 1.97% TypeScript 40.45% JavaScript 5.18% Sass 10.71% SCSS 6.44% CSS 0.08% HTML 30.40%

simsapa-extensions-and-plugins's Introduction

Simsapa Extensions and Plugins

Companion tools for the Simsapa Dhamma Reader sutta reader and Pāli dictionary application.

Firefox Sidebar

Firefox Word Lookup

Install the Chrome plugin

The Chrome plugin is not yet published in the web store.

  • Download simsapa-chrome.zip
  • Extract to a folder
  • Open Menu > Extensions > Manage Extensions (chrome://extensions/)
  • Enable Developer mode in the top-right corner
  • Click Load unpacked, open the extracted extension folder
  • The extension is now installed
  • (πŸ“™ NOTE: Deleting the folder also removes the extension)

Development

Clone and build

The extension sidebar is built in this repository (src/sidebar.ts), and bundled into the extensions as sub-module repos.

Clone the repository with the submodules:

git clone --recurse-submodules https://github.com/simsapa/simsapa-extensions-and-plugins.git
cd simsapa-extensions-and-plugins

Later you can update the submodules with:

git submodule update --recursive --remote

Setup

Setup the dependencies. Poetry is required for Python packages.

npm install

poetry install

npm install -g web-ext

The Obsidian and Joplin plugins have further dependencies:

cd src-obsidian
# or
cd src-joplin
npm install

For the Google Docs Addon:

npm install -g @google/clasp

Start the Python venv and run the relevant make target to build the extension:

poetry shell

make dist-firefox
make dist-chrome
make dist-obsidian
make dist-joplin
make dist-gdocs

(The Emacs and Neovim package doesn't need a build step.)

Install from the local folder

The packaged (.zip) extension files will be in the dist/ folder.

The un-packaged extension will be in the folders:

dist-firefox/
dist-chrome/
dist-obsidian/
dist-joplin/
dist-gdocs/

simsapa-extensions-and-plugins's People

Contributors

gambhiro avatar

Stargazers

knlee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.