/SefariaSidebarExtension

Sidebar extension for Google Chrome browsers

Primary LanguageCSS

Sefaria Sidebar Chrome Extension

Simple Chrome extension to display a sidebar with key references that are relevant to the webpage.

At the present moment, this is a prototype designed to work with Daf Yomi pages that are on a specific Daf.

Current sites supported:

  • YUTorah.org
  • OUTorah.org
  • AllDaf.com
  • Daf-yomi.com (hebrew portal daf yomi)
  • E-Daf.com
  • Daf HaChaim.org
  • Steinsaltz-center.org - English Daf Yomi PDFs
  • RealClearDaf.com
  • Hadran.org.il

Ultimately the aim is to crowdsource other websites where it's possible to recognize identity of elements on the page. This may also be useful to replace the Sefaria Linker button which could now run automatically on whitelisted webpages, and leverage the sidebar for enhanced display.

Demo (Video)

Demo Video on Youtube

Example Screenshots

image

image

image

Installation Instructions

To install and develop this:

  1. Clone the repo
git clone https://github.com/DovOps/SefariaSidebarExtension.git
  1. In google chrome, go to chrome://extensions, and 'Enable Developer Mode'. (See below for a screen shot)

  2. Click 'Load Unpacked' to load a chrome extension via its source code directory

  3. Select the main 'SefariaSidebarExtension' root folder of this repo on your filesystem and hit 'OK'

  4. Reminder: If you have the actual Chrome webstore extension enabled, you must disable it so you don't have this running twice!

  5. As you make modifications to the code, you will need to revisit chrome://extensions and click the 'Refresh' Arrow icon on this extension as listed

Packaging for the Chrome Extension Marketplace

  1. You must bump up the version in the manifest.json which Google Extension Store expects for updated packages
  2. Packaging this is as simple as zipping up the source directory. (I delete .git and README from the directory before zipping)
  3. This is then uploaded to the Chrome developer dashboard (right now I'm the only person who can do this)
  4. The goal is to move this to a CI/CD pipeline - but I'm not sure we want to publish to the store on every build as there's an approval prcess which takes up to 2 days based on experience

The Google Store listing is https://chrome.google.com/webstore/detail/sefaria-sidebar-extension/dmpiiciebnbekblfbcdeogjkbbmeeimi?hl=en-US&authuser=0