dsh-lit-fetch

Free literature fetching: give it a DOI, a title or a keyword and it locates the paper, then walks 8 Sci-Hub mirrors first and falls back to Unpaywall open access only when every mirror fails. PDFs are checked for the %PDF- magic bytes and a minimum size, and a clickable manifest is generated for the ones that cannot be fetched. No paid subscription, no API key. Adapts DSH kernel 0.2.2-rc.1.

Overview

Free literature fetching: give it a DOI, a title or a keyword and it locates the paper, then walks 8 Sci-Hub mirrors first and falls back to Unpaywall open access only when every mirror fails. PDFs are checked for the %PDF- magic bytes and a minimum size, and a clickable manifest is generated for the ones that cannot be fetched. No paid subscription, no API key. Adapts DSH kernel 0.2.2-rc.1.

Installation

Install from npm

dsh plugin --profile web add dsh-lit-fetch

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:loyalchiiina/dsh-lit-fetch

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands