Skip to content

Access scientific literature in your browser using standard template construct, an IPFS-backed website for nexus search.

License

Notifications You must be signed in to change notification settings

aokellermann/nexus-now

Repository files navigation

Nexus Now!

Inspired by Sci-Hub Now!

Usage

When on a website for an article that is identifiable by a DOI, click the Nexus Now extension icon. The STC page for that article will be opened in a new tab. If you enable autodownload, a PDF of the article will attempt to download.

Autodownload

STC provides a Hub API, which maps a DOI to a PDF. Nexus Now uses this API to automatically download PDFs of articles.

The PDF may not be accessible through this API, but may still be accessible through STC, so if Nexus Now cannot find the PDF within 30 seconds, STC will be opened in a new tab as if autodownload is not enabled.

You can opt in or out of autodownload:

Chrome/Edge

  1. Right click the extension icon or click the three dots next to the extension icon and select "Options" from the dropdown.
  2. Check or uncheck autodownload.

Firefox

  1. Right click the extension icon or click the gear next to the extension icon and select "Manage extension" from the dropdown.
  2. Check or uncheck autodownload.

Installation

You can manually install the extension using the installers attached in the latest release. The .xpi installer should work for gecko-based browsers (Firefox), and the .crx installer should work for Chromium-based browsers (basically everything else).

Chrome/Edge

Windows/MacOS

  1. Go to the latest release and download the chromium.zip file.
  2. Go to the webpage chrome://extensions/ and make sure the toggle Developer mode is on. This will allow you to install extensions unaffiliated with the Chrome Web Store.
  3. Drag the downloaded .zip file anywhere onto the page to install the extension.

Linux

  1. Go to the latest release and download the .crx file.
  2. Go to the webpage chrome://extensions/ and make sure the toggle Developer mode is on. This will allow you to install extensions unaffiliated with the Chrome Web Store.
  3. Drag the downloaded .crx file anywhere onto the page to install the extension.

Firefox

  1. Go to the latest release and download the .xpi file.
  2. It will ask you if you want to install the addon. Click yes.

Updating

Automatic extension updating was introduced in version 0.2.1 and should work at least on Linux. If you have an older version than 0.2.1 installed, it is highly recommended that you manually install the latest version, which will subsequently be able to update itself without your manual intervention.

Compatibility

This extension uses Manifest V3, which is supported in:

  • Firefox >= 109
  • Chromium >= 88

Building

You can build the extension yourself:

First, install dependencies:

npm install -g web-ext

Then build:

./build.sh