papersearch 0.7.3 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +8 -37
- package/README.fr.md +265 -0
- package/README.ja.md +265 -0
- package/README.ko.md +265 -0
- package/README.md +149 -148
- package/README.zh-Hant.md +265 -0
- package/README.zh.md +265 -0
- package/dist/capabilities/download/batch/batch.d.ts +20 -1
- package/dist/capabilities/download/batch/batch.d.ts.map +1 -1
- package/dist/capabilities/download/batch/batch.js +1057 -208
- package/dist/capabilities/download/batch/batch.js.map +1 -1
- package/dist/capabilities/download/batch/batchFolder.d.ts.map +1 -1
- package/dist/capabilities/download/batch/batchFolder.js +3 -2
- package/dist/capabilities/download/batch/batchFolder.js.map +1 -1
- package/dist/capabilities/download/batch/networkLoss.d.ts +11 -2
- package/dist/capabilities/download/batch/networkLoss.d.ts.map +1 -1
- package/dist/capabilities/download/batch/networkLoss.js +24 -3
- package/dist/capabilities/download/batch/networkLoss.js.map +1 -1
- package/dist/capabilities/download/batch/resume.d.ts +7 -0
- package/dist/capabilities/download/batch/resume.d.ts.map +1 -1
- package/dist/capabilities/download/batch/resume.js +50 -9
- package/dist/capabilities/download/batch/resume.js.map +1 -1
- package/dist/capabilities/download/batch/windowPlan.d.ts +96 -0
- package/dist/capabilities/download/batch/windowPlan.d.ts.map +1 -0
- package/dist/capabilities/download/batch/windowPlan.js +196 -0
- package/dist/capabilities/download/batch/windowPlan.js.map +1 -0
- package/dist/capabilities/download/content/markdown/pro.d.ts +6 -0
- package/dist/capabilities/download/content/markdown/pro.d.ts.map +1 -1
- package/dist/capabilities/download/content/markdown/pro.js.map +1 -1
- package/dist/capabilities/download/content/markdown/shortfall.d.ts +8 -5
- package/dist/capabilities/download/content/markdown/shortfall.d.ts.map +1 -1
- package/dist/capabilities/download/content/markdown/shortfall.js +22 -10
- package/dist/capabilities/download/content/markdown/shortfall.js.map +1 -1
- package/dist/capabilities/download/content/markdown/step.d.ts +9 -0
- package/dist/capabilities/download/content/markdown/step.d.ts.map +1 -1
- package/dist/capabilities/download/content/markdown/step.js +46 -3
- package/dist/capabilities/download/content/markdown/step.js.map +1 -1
- package/dist/capabilities/download/content/markdown/types.d.ts +10 -1
- package/dist/capabilities/download/content/markdown/types.d.ts.map +1 -1
- package/dist/capabilities/download/content/pdf/open/tiers/scihub.d.ts.map +1 -1
- package/dist/capabilities/download/content/pdf/open/tiers/scihub.js +3 -1
- package/dist/capabilities/download/content/pdf/open/tiers/scihub.js.map +1 -1
- package/dist/capabilities/download/handler.d.ts.map +1 -1
- package/dist/capabilities/download/handler.js +13 -5
- package/dist/capabilities/download/handler.js.map +1 -1
- package/dist/capabilities/download/outputLayout.d.ts.map +1 -1
- package/dist/capabilities/download/outputLayout.js +3 -1
- package/dist/capabilities/download/outputLayout.js.map +1 -1
- package/dist/capabilities/download/tools.js +2 -2
- package/dist/capabilities/download/tools.js.map +1 -1
- package/dist/capabilities/download/types.d.ts +9 -1
- package/dist/capabilities/download/types.d.ts.map +1 -1
- package/dist/cli.js +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/infrastructure/http/hostGate.d.ts +24 -0
- package/dist/infrastructure/http/hostGate.d.ts.map +1 -0
- package/dist/infrastructure/http/hostGate.js +72 -0
- package/dist/infrastructure/http/hostGate.js.map +1 -0
- package/dist/infrastructure/pdf/PdfDownload.d.ts +1 -0
- package/dist/infrastructure/pdf/PdfDownload.d.ts.map +1 -1
- package/dist/infrastructure/pdf/PdfDownload.js +6 -1
- package/dist/infrastructure/pdf/PdfDownload.js.map +1 -1
- package/dist/infrastructure/runlog/RunLedger.d.ts +14 -0
- package/dist/infrastructure/runlog/RunLedger.d.ts.map +1 -1
- package/dist/infrastructure/runlog/RunLedger.js +30 -4
- package/dist/infrastructure/runlog/RunLedger.js.map +1 -1
- package/dist/infrastructure/runlog/failureClass.d.ts +2 -1
- package/dist/infrastructure/runlog/failureClass.d.ts.map +1 -1
- package/dist/infrastructure/runlog/failureClass.js +27 -4
- package/dist/infrastructure/runlog/failureClass.js.map +1 -1
- package/dist/infrastructure/school/SchoolAttempt.d.ts +11 -0
- package/dist/infrastructure/school/SchoolAttempt.d.ts.map +1 -1
- package/dist/infrastructure/school/SchoolAttempt.js +48 -5
- package/dist/infrastructure/school/SchoolAttempt.js.map +1 -1
- package/dist/infrastructure/school/SchoolMcpClient.d.ts +13 -2
- package/dist/infrastructure/school/SchoolMcpClient.d.ts.map +1 -1
- package/dist/infrastructure/school/SchoolMcpClient.js +138 -15
- package/dist/infrastructure/school/SchoolMcpClient.js.map +1 -1
- package/dist/infrastructure/school/SchoolProgress.d.ts +2 -0
- package/dist/infrastructure/school/SchoolProgress.d.ts.map +1 -1
- package/dist/infrastructure/school/SchoolProgress.js +2 -0
- package/dist/infrastructure/school/SchoolProgress.js.map +1 -1
- package/dist/infrastructure/school/SchoolReadiness.d.ts +9 -0
- package/dist/infrastructure/school/SchoolReadiness.d.ts.map +1 -1
- package/dist/infrastructure/school/SchoolReadiness.js +10 -0
- package/dist/infrastructure/school/SchoolReadiness.js.map +1 -1
- package/dist/infrastructure/school/SchoolResultNormalizer.d.ts.map +1 -1
- package/dist/infrastructure/school/SchoolResultNormalizer.js +4 -0
- package/dist/infrastructure/school/SchoolResultNormalizer.js.map +1 -1
- package/dist/infrastructure/school/index.d.ts +2 -2
- package/dist/infrastructure/school/index.d.ts.map +1 -1
- package/dist/infrastructure/school/index.js +1 -1
- package/dist/infrastructure/school/index.js.map +1 -1
- package/dist/infrastructure/school/types.d.ts +73 -1
- package/dist/infrastructure/school/types.d.ts.map +1 -1
- package/dist/infrastructure/school/types.js.map +1 -1
- package/dist/infrastructure/security/SecurityUtils.d.ts.map +1 -1
- package/dist/infrastructure/security/SecurityUtils.js +6 -2
- package/dist/infrastructure/security/SecurityUtils.js.map +1 -1
- package/dist/management/failures/index.d.ts +23 -0
- package/dist/management/failures/index.d.ts.map +1 -1
- package/dist/management/failures/index.js +68 -20
- package/dist/management/failures/index.js.map +1 -1
- package/dist/management/school/autoUpdate.d.ts.map +1 -1
- package/dist/management/school/autoUpdate.js +9 -1
- package/dist/management/school/autoUpdate.js.map +1 -1
- package/dist/management/school/cliProgress.d.ts.map +1 -1
- package/dist/management/school/cliProgress.js +3 -1
- package/dist/management/school/cliProgress.js.map +1 -1
- package/package.json +8 -3
- package/school/NOTICE +3 -2
- package/school/paper_search_school/adapters/__init__.py +2 -0
- package/school/paper_search_school/adapters/aps/__init__.py +3 -6
- package/school/paper_search_school/adapters/base.py +19 -2
- package/school/paper_search_school/adapters/copernicus/__init__.py +2 -7
- package/school/paper_search_school/adapters/elsevier/__init__.py +50 -1
- package/school/paper_search_school/adapters/frontiers/__init__.py +41 -2
- package/school/paper_search_school/adapters/ieee/__init__.py +6 -4
- package/school/paper_search_school/adapters/iop/__init__.py +8 -0
- package/school/paper_search_school/adapters/jama/__init__.py +8 -0
- package/school/paper_search_school/adapters/lww/__init__.py +14 -6
- package/school/paper_search_school/adapters/mdpi/__init__.py +12 -7
- package/school/paper_search_school/adapters/neurology/__init__.py +5 -2
- package/school/paper_search_school/adapters/optica/__init__.py +52 -13
- package/school/paper_search_school/adapters/oup/__init__.py +7 -4
- package/school/paper_search_school/adapters/platforms/__init__.py +4 -1
- package/school/paper_search_school/adapters/platforms/atypon/__init__.py +12 -3
- package/school/paper_search_school/adapters/platforms/figshare/__init__.py +23 -4
- package/school/paper_search_school/adapters/platforms/jstage/__init__.py +64 -0
- package/school/paper_search_school/adapters/taylor_francis/__init__.py +0 -3
- package/school/paper_search_school/adapters/thieme/__init__.py +2 -9
- package/school/paper_search_school/api_keys.py +63 -13
- package/school/paper_search_school/assets/api_keys.json +14 -0
- package/school/paper_search_school/assets/capsule.html +526 -147
- package/school/paper_search_school/assets/capsule_en.json +140 -49
- package/school/paper_search_school/assets/capsule_fr.json +141 -50
- package/school/paper_search_school/assets/capsule_ja.json +140 -49
- package/school/paper_search_school/assets/capsule_ko.json +140 -49
- package/school/paper_search_school/assets/capsule_zh-Hant.json +134 -48
- package/school/paper_search_school/browser/backend.py +125 -4
- package/school/paper_search_school/browser/batch_session.py +189 -8
- package/school/paper_search_school/browser/challenge/__init__.py +12 -9
- package/school/paper_search_school/browser/challenge/continuation.py +83 -0
- package/school/paper_search_school/browser/challenge/handlers/__init__.py +1 -0
- package/school/paper_search_school/browser/challenge/handlers/aws_waf.py +260 -0
- package/school/paper_search_school/browser/challenge/handlers/recaptcha_hcaptcha.py +167 -0
- package/school/paper_search_school/browser/challenge/handlers/text_captcha.py +128 -0
- package/school/paper_search_school/browser/challenge/handlers/turnstile.py +174 -0
- package/school/paper_search_school/browser/challenge/kinds.py +203 -0
- package/school/paper_search_school/browser/challenge/local/__init__.py +1 -0
- package/school/paper_search_school/browser/challenge/{interaction.py → local/interaction.py} +94 -13
- package/school/paper_search_school/browser/challenge/{pointer.py → local/pointer.py} +2 -2
- package/school/paper_search_school/browser/challenge/local/prompt.py +283 -0
- package/school/paper_search_school/browser/challenge/local/submission.py +33 -0
- package/school/paper_search_school/browser/challenge/pro.py +24 -0
- package/school/paper_search_school/browser/challenge/services/__init__.py +1 -0
- package/school/paper_search_school/browser/challenge/services/solver.py +292 -0
- package/school/paper_search_school/browser/engine.py +4 -1
- package/school/paper_search_school/browser/user_turn.py +126 -0
- package/school/paper_search_school/browser/watchdog.py +213 -60
- package/school/paper_search_school/cli_config.py +10 -5
- package/school/paper_search_school/config.py +16 -10
- package/school/paper_search_school/download_diagnostics.py +7 -2
- package/school/paper_search_school/engine/access_rules.py +12 -3
- package/school/paper_search_school/engine/batch.py +52 -18
- package/school/paper_search_school/engine/batch_access.py +62 -16
- package/school/paper_search_school/engine/batch_capture.py +260 -31
- package/school/paper_search_school/engine/batch_common.py +3 -0
- package/school/paper_search_school/engine/batch_diagnostics.py +25 -5
- package/school/paper_search_school/engine/batch_institution.py +52 -3
- package/school/paper_search_school/engine/batch_login.py +398 -36
- package/school/paper_search_school/engine/batch_pdf_urls.py +38 -7
- package/school/paper_search_school/engine/batch_user.py +48 -3
- package/school/paper_search_school/engine/batch_waits.py +221 -14
- package/school/paper_search_school/engine/bridge.py +29 -6
- package/school/paper_search_school/engine/fulltext_page.py +55 -8
- package/school/paper_search_school/engine/router.py +16 -1
- package/school/paper_search_school/engine/supplements.py +7 -1
- package/school/paper_search_school/entitlements.py +29 -1
- package/school/paper_search_school/pdf_utils.py +25 -16
- package/school/paper_search_school/progress_capsule.py +69 -11
- package/school/paper_search_school/progress_reporter.py +243 -11
- package/school/paper_search_school/progress_view.py +205 -91
- package/school/paper_search_school/publishers/builtin/iop.json +2 -1
- package/school/paper_search_school/publishers/builtin/neurology.json +4 -2
- package/school/paper_search_school/publishers/site.py +12 -4
- package/school/paper_search_school/rate_limit.py +24 -1
- package/school/paper_search_school/school_login.py +170 -8
- package/school/paper_search_school/school_test.py +1 -1
- package/school/paper_search_school/server.py +179 -23
- package/school/paper_search_school/user_settings.py +46 -4
- package/school/pyproject.toml +1 -0
- package/skills/paper-search/SKILL.md +107 -107
- package/skills/paper-search/references/browser-download.md +102 -99
- package/skills/paper-search/references/capability-routing.md +89 -89
- package/skills/paper-search/references/cli-contract.md +78 -78
- package/skills/paper-search/references/federation-support.md +172 -172
- package/skills/paper-search/references/management-layer.md +78 -78
- package/skills/paper-search/references/publisher-support.md +38 -38
- package/skills/paper-search/references/school-setup.md +56 -55
- package/skills/paper-search/references/setup.md +20 -20
- package/skills/paper-search/references/troubleshooting.md +12 -12
- package/README.en.md +0 -264
- package/school/paper_search_school/browser/challenge/prompt.py +0 -154
package/README.md
CHANGED
|
@@ -1,264 +1,265 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="assets/logo.svg" width="80" alt="PaperSearch
|
|
2
|
+
<img src="assets/logo.svg" width="80" alt="PaperSearch logo">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">PaperSearch</h1>
|
|
6
6
|
|
|
7
|
-
<p align="center"><b
|
|
8
|
-
|
|
7
|
+
<p align="center"><b>A lightweight, fully automated all-in-one literature tool for AI</b><br>
|
|
8
|
+
One sentence and your AI searches, verifies and downloads full texts and supplementary files, all in the background.</p>
|
|
9
9
|
|
|
10
|
-
<p align="center"
|
|
10
|
+
<p align="center">English | <a href="README.zh.md">简体中文</a> | <a href="README.zh-Hant.md">繁體中文</a> | <a href="README.ja.md">日本語</a> | <a href="README.ko.md">한국어</a> | <a href="README.fr.md">Français</a></p>
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<a href="https://www.npmjs.com/package/papersearch"><img src="https://
|
|
14
|
-
<a href="https://github.com/dr-dumpling/PaperSearch/actions/workflows/publish.yml"><img src="https://
|
|
15
|
-
<a href="https://nodejs.org/"><img src="https://
|
|
16
|
-
<a href="#1
|
|
17
|
-
<a href="docs/guide.
|
|
18
|
-
<a href="
|
|
19
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0-2F9E44?style=flat-square" alt="AGPL-3.0
|
|
20
|
-
<a href="https://linux.do/"><img src="https://img.shields.io/badge/LINUX%20DO-community-F1A033?style=flat-square" alt="LINUX DO
|
|
13
|
+
<a href="https://www.npmjs.com/package/papersearch"><img src="https://badgen.net/npm/v/papersearch?style=flat" alt="npm"></a>
|
|
14
|
+
<a href="https://github.com/dr-dumpling/PaperSearch/actions/workflows/publish.yml"><img src="https://github.com/dr-dumpling/PaperSearch/actions/workflows/publish.yml/badge.svg" alt="Publish workflow status"></a>
|
|
15
|
+
<a href="https://nodejs.org/"><img src="https://badgen.net/npm/node/papersearch?style=flat" alt="Required Node.js version"></a>
|
|
16
|
+
<a href="#1-school-subscription-downloads"><img src="https://img.shields.io/badge/school%20login-eduGAIN%20%2B%20OpenAthens-7284CE?style=flat-square" alt="School subscription downloads: academic identity federations in eduGAIN, and OpenAthens"></a>
|
|
17
|
+
<a href="docs/guide.en.md#agent-skill"><img src="https://img.shields.io/badge/Agent%20Skill-bundled-D97757?style=flat-square" alt="Bundled Agent Skill"></a>
|
|
18
|
+
<a href="#quick-start"><img src="https://img.shields.io/badge/platform-macOS%20%7C%20Windows-555555?style=flat-square" alt="Runs on macOS and Windows"></a>
|
|
19
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0-2F9E44?style=flat-square" alt="AGPL-3.0 license"></a>
|
|
20
|
+
<a href="https://linux.do/"><img src="https://img.shields.io/badge/LINUX%20DO-community-F1A033?style=flat-square" alt="LINUX DO community"></a>
|
|
21
21
|
</p>
|
|
22
22
|
|
|
23
23
|
<p align="center">
|
|
24
|
-
<a href="
|
|
24
|
+
<a href="#demo-video">Demo video</a> · <a href="#quick-start">Quick start</a> · <a href="#1-school-subscription-downloads">School subscription downloads</a> · <a href="#2-api-keys">API keys</a> · <a href="docs/guide.en.md">Guide</a> · <a href="docs/ARCHITECTURE.zh.md">Architecture</a> · <a href="docs/ROADMAP.zh.md">Roadmap</a> · <a href="https://github.com/dr-dumpling/PaperSearch/issues/new/choose">Report an issue</a>
|
|
25
25
|
</p>
|
|
26
26
|
|
|
27
|
-
PaperSearch
|
|
27
|
+
PaperSearch provides the `paper-search` command and a bundled Skill. Once installed, Claude Code, Codex, DeepSeek, GLM, Kimi Code, Qwen Code, CodeBuddy and other AI tools that can run local commands can do this for you:
|
|
28
28
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
29
|
+
- **Search papers**: query more than 20 sources at once, including PubMed, Crossref, OpenAlex, Semantic Scholar and arXiv, with duplicates merged by DOI and DOIs verified.
|
|
30
|
+
- **Search full-text snippets**: search the paper bodies Semantic Scholar indexes for passages on methods or results, with their sources.
|
|
31
|
+
- **Look up journal IF and quartiles**: through EasyScholar, look up JCR impact factors, JCR quartiles and CAS zones.
|
|
32
|
+
- **Look up citations and references**: from one paper, find the studies that cite it and the works it cites.
|
|
33
|
+
- **Download full texts and supplementary files**:
|
|
34
|
+
- Open-access papers: downloaded directly.
|
|
35
|
+
- Subscription papers: through "[school subscription downloads](#1-school-subscription-downloads)" (recommended) or [API keys](#2-api-keys).
|
|
36
36
|
|
|
37
|
-
<p align="center"><img src="assets/overview.png" width="840" alt="PaperSearch
|
|
37
|
+
<p align="center"><img src="assets/overview.en.png" width="840" alt="What PaperSearch does: search papers, full-text snippets, journal metrics, citations and references, full texts and supplementary files"></p>
|
|
38
38
|
|
|
39
|
-
##
|
|
39
|
+
## Demo video
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
https://github.com/user-attachments/assets/
|
|
45
|
+
https://github.com/user-attachments/assets/6c75c5de-9dd5-42e0-9dea-f44a1b4f3aac
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
##
|
|
51
|
+
## Quick start
|
|
52
52
|
|
|
53
|
-
### 1.
|
|
53
|
+
### 1. Install
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Send your AI tool this sentence (Claude Code, Codex, DeepSeek, GLM, Kimi Code, Qwen Code, CodeBuddy and others all work):
|
|
56
56
|
|
|
57
57
|
```text
|
|
58
|
-
|
|
58
|
+
Please install the PaperSearch Skill: npx skills add dr-dumpling/PaperSearch -g -y
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
Windows
|
|
61
|
+
On Windows the command needs Git; install [Git for Windows](https://git-scm.com/download/win) first if you do not have it.
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Once it is installed, mention the Skill and send:
|
|
64
64
|
|
|
65
65
|
```text
|
|
66
|
-
/paper-search
|
|
66
|
+
/paper-search Start setup
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
AI
|
|
69
|
+
Your AI first asks whether to install the PaperSearch command-line program; once you agree, it installs it and then walks you through school subscription downloads and API keys.
|
|
70
70
|
|
|
71
|
-
<p align="center"><img src="assets/install.webp" width="840" alt="
|
|
71
|
+
<p align="center"><img src="assets/install.en.webp" width="840" alt="Install demo: send your AI one sentence and it installs the Skill; mention the Skill and say Start setup, and it asks before installing the command-line program, lists what works, and goes on to setup"></p>
|
|
72
72
|
|
|
73
|
-
### 2.
|
|
73
|
+
### 2. Add school subscription downloads during setup
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
After "Start setup", your AI first asks whether to add [school subscription downloads](#1-school-subscription-downloads): full texts and supplementary files of subscription papers through your school account; it needs Chrome (installed too if missing). It installs only after you agree, then asks for your school, sets it, and opens the settings window.
|
|
76
76
|
|
|
77
|
-
<p align="center"><img src="assets/config.webp" width="840" alt="
|
|
77
|
+
<p align="center"><img src="assets/config.en.webp" width="840" alt="Setup demo: say Start setup; your AI asks first, then installs school subscription downloads and Chrome and sets your school; then enter keys in the settings window and test them"></p>
|
|
78
78
|
|
|
79
|
-
### 3.
|
|
79
|
+
### 3. Add API keys when you need them
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
After "Start setup", your AI first asks whether you want school subscription downloads, then goes step by step down the route you pick:
|
|
82
82
|
|
|
83
|
-
-
|
|
84
|
-
-
|
|
83
|
+
- **With school subscription downloads**: API keys, the download folder, waiting times and notifications all go in the settings window, and every key has a Test button. To change them later, ask your AI to open the settings, or click the gear on the capsule.
|
|
84
|
+
- **Without**: your AI lists the missing keys and where to get them (also in [API keys](#2-api-keys)); you enter them by running `paper-search setup` in a terminal, where the input is hidden, and your AI then tests each one.
|
|
85
85
|
|
|
86
|
-
### 4.
|
|
86
|
+
### 4. Start using it
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
Once set up, mention the PaperSearch Skill and say what you want to search for, for example:
|
|
89
89
|
|
|
90
|
-
|
|
|
90
|
+
| To do | You can say |
|
|
91
91
|
|---|---|
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
|
|
|
95
|
-
|
|
|
96
|
-
|
|
|
92
|
+
| Search papers | `/paper-search` Find randomized trials of SGLT2 inhibitors in heart failure since 2020, and verify the DOIs |
|
|
93
|
+
| Search full-text snippets | `/paper-search` How did these trials define their primary endpoint? Quote a few passages |
|
|
94
|
+
| Look up journal IF and quartiles | `/paper-search` Which journals were they published in, and what are their impact factors and quartiles? |
|
|
95
|
+
| Look up citations and references | `/paper-search` Which studies have cited the DAPA-HF trial since it was published? |
|
|
96
|
+
| Download full texts and supplementary files | `/paper-search` Download the full texts and supplementary files of these papers to the folder you name |
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
**Results:**
|
|
99
99
|
|
|
100
|
-
<p align="center"><img src="assets/chat-results.webp" width="840" alt="
|
|
100
|
+
<p align="center"><img src="assets/chat-results.en.webp" width="840" alt="Results: papers, full-text passages, journal metrics and citations come back in the chat"></p>
|
|
101
101
|
|
|
102
|
-
<p align="center"><img src="assets/results.webp" width="840" alt="
|
|
102
|
+
<p align="center"><img src="assets/results.en.webp" width="840" alt="Results: the chat lists the 6 papers saved and how many supplementary files each has; the download folder holds one folder per paper, supplementary files in supplements/"></p>
|
|
103
103
|
|
|
104
|
-
-
|
|
105
|
-
-
|
|
104
|
+
- Search results, snippets, journal metrics and citations come back in the conversation.
|
|
105
|
+
- Each download gets its own `YYYYMMDD-HHmmss_PaperSearchDownload` folder inside your download folder: PDFs lie directly in it; a paper whose supplementary files were saved gets a folder of its own, holding its PDF and its supplementary files (supplements/); a paper's PDF and supplementary files are done together when it is downloaded. You are told why any paper was not obtained.
|
|
106
106
|
|
|
107
|
-
##
|
|
107
|
+
## Optional setup
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
Feature comparison:
|
|
110
110
|
|
|
111
|
-
| |
|
|
111
|
+
| | Works once installed | API keys | School subscription downloads |
|
|
112
112
|
|---|:---:|:---:|:---:|
|
|
113
|
-
|
|
|
114
|
-
| &emsp
|
|
115
|
-
| &emsp
|
|
116
|
-
|
|
|
117
|
-
| &emsp
|
|
118
|
-
| &emsp
|
|
119
|
-
|
|
|
120
|
-
| &emsp
|
|
121
|
-
| &emsp
|
|
122
|
-
| &emsp
|
|
113
|
+
| **Search** | | | |
|
|
114
|
+
|  Search papers, citations and references | ✅ | — | — |
|
|
115
|
+
|  More search sources and limits | — | ✅ | — |
|
|
116
|
+
| **Journals and full text** | | | |
|
|
117
|
+
|  Impact factors and quartiles | — | ✅ | — |
|
|
118
|
+
|  Full-text snippets | — | ✅ | — |
|
|
119
|
+
| **Download** | | | |
|
|
120
|
+
|  Open-access papers | ✅ | — | — |
|
|
121
|
+
|  Subscription papers | — | ✅ (Elsevier, Springer) | ✅ (30+ major publishers) |
|
|
122
|
+
|  Supplementary files | — | — | ✅ |
|
|
123
123
|
|
|
124
|
-
### 1.
|
|
124
|
+
### 1. School subscription downloads
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
Papers the open channels cannot get can come through your school's subscriptions: the program signs in to the publishers through the academic identity federation your school belongs to, with your school account. At setup you only name your school, and you can then sign in and download non-OA papers.
|
|
127
127
|
|
|
128
|
-
1
|
|
129
|
-
2
|
|
128
|
+
1. Through the federations interconnected via [eduGAIN](https://edugain.org/), such as CARSI in China, HKAF in Hong Kong and SGAF in Singapore;
|
|
129
|
+
2. Schools in no national federation that have [OpenAthens](https://www.openathens.net/) access can sign in through it as well.
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
**Supported academic identity federations**
|
|
132
132
|
|
|
133
|
-
<p align="center"><img src="assets/federation-map.png" width="840" alt="
|
|
133
|
+
<p align="center"><img src="assets/federation-map.en.png" width="840" alt="Where school subscription downloads work: 76 countries and regions through their national academic identity federation (eduGAIN), across Asia, Europe, the Americas, Oceania and Africa; Taiwan, Thailand, the Philippines and more through OpenAthens"></p>
|
|
134
134
|
|
|
135
135
|
<details>
|
|
136
|
-
<summary
|
|
136
|
+
<summary>Show the federations by country (by continent and region)</summary>
|
|
137
137
|
|
|
138
|
-
|
|
|
138
|
+
| Continent | Region | Supported (place: federation) |
|
|
139
139
|
|---|---|---|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
|
|
|
148
|
-
|
|
|
149
|
-
|
|
|
150
|
-
|
|
|
151
|
-
|
|
|
152
|
-
|
|
|
153
|
-
|
|
|
154
|
-
|
|
|
155
|
-
|
|
|
140
|
+
| Asia | East Asia | Chinese mainland, Macau: CARSI; research institutions in the Chinese mainland: CSTCloud; Hong Kong: HKAF; Japan: GakuNin; South Korea: KAFE; Taiwan: through OpenAthens |
|
|
141
|
+
| Asia | Southeast Asia | Singapore: SGAF; Malaysia: SIFULAN; Thailand, the Philippines and others: through OpenAthens |
|
|
142
|
+
| Asia | South Asia | India: INFED; Sri Lanka: LIAF; Bangladesh: TIGERfed; Pakistan: PKIFED |
|
|
143
|
+
| Asia | West Asia | Turkey: YETKİM; Saudi Arabia: Maeen; Cyprus: CyNet; Israel: IUCC; Iran: IRFED; Azerbaijan: AzScienceNet; Oman: OMREN |
|
|
144
|
+
| Europe | Western Europe | United Kingdom: UK federation; Ireland: Edugate; France: RENATER; Netherlands: SURFconext; Belgium: Belnet; Luxembourg: eduID Luxembourg |
|
|
145
|
+
| Europe | Northern Europe | Denmark (with Iceland and Greenland): WAYF; Sweden: SWAMID; Finland: Haka; Norway: Feide |
|
|
146
|
+
| Europe | Central Europe | Germany: DFN-AAI; Switzerland: Switch edu-ID; Austria: ACOnet; Poland: PIONIER.Id; Czechia: eduID.cz; Slovakia: safeID; Hungary: eduId.hu |
|
|
147
|
+
| Europe | Southern Europe | Spain: SIR; Portugal: RCTSaai; Italy: IDEM; Greece: GRNET; Malta: RiċerkaNET; Slovenia: ArnesAAI; Croatia: AAI@EduHr; Serbia: iAMRES; Montenegro: IDeduME; North Macedonia: AAIEduMk; Albania: RASH; Bulgaria: BIF; Romania: RoEduNetID |
|
|
148
|
+
| Europe | Eastern Europe | Estonia: TAAT; Latvia: LAIFE; Lithuania: LITNET FEDI; Belarus: FEBAS; Ukraine: PEANO; Moldova: LEAF |
|
|
149
|
+
| Americas | North America | United States: InCommon; Canada: CAF |
|
|
150
|
+
| Americas | Central America | Mexico: FENIX |
|
|
151
|
+
| Americas | South America | Brazil: CAFe; Chile: COFRe; Colombia: COLFIRE; Ecuador: MINGA |
|
|
152
|
+
| Oceania | Australia and New Zealand | Australia: AAF; New Zealand: Tuakiri |
|
|
153
|
+
| Africa | Eastern Africa | Uganda: RIF; Kenya: RAFIKI; Tanzania: TERNET IF; Malawi: MAREN; Zambia: FIDERN |
|
|
154
|
+
| Africa | Western Africa | Nigeria: NgRENID; Ghana: GARNET; Burkina Faso: eduID.bf; Togo: eduID.tg |
|
|
155
|
+
| Africa | Northern and Southern Africa | Morocco: eduIDM; South Africa: SAFIRE |
|
|
156
156
|
|
|
157
157
|
</details>
|
|
158
158
|
|
|
159
|
-
-
|
|
160
|
-
-
|
|
159
|
+
- Full names, school counts and tested schools of each federation: [federation support table](skills/paper-search/references/federation-support.md).
|
|
160
|
+
- If your school cannot sign in, or you would like your school supported, [open an issue](https://github.com/dr-dumpling/PaperSearch/issues/new?template=school-login.yml) with the school sign-in template, giving the school's name and website domain, and the publisher and paper DOI where it failed.
|
|
161
161
|
|
|
162
|
-
-
|
|
163
|
-
-
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
-
|
|
162
|
+
- **Your school account is enough**: no keys to apply for; publisher API keys only cover Elsevier and Springer.
|
|
163
|
+
- **Deep publisher adaptation**: the general download flow is deeply optimized, and more than 30 publishers have dedicated rules, one by one: where the institutional login is and how to fetch the PDF and supplementary files follow each publisher as it really is, so downloads are more accurate and fewer papers are missed. The main publishers:
|
|
164
|
+
- General: Elsevier (including Cell and The Lancet), Springer Nature (including Nature and BMC), Wiley, Oxford Academic, Taylor & Francis, Sage, PNAS, Science
|
|
165
|
+
- Medicine: NEJM, JAMA, AHA, ASH, Wolters Kluwer, Karger, Thieme
|
|
166
|
+
- Science and engineering: ACS, IEEE, ACM
|
|
167
|
+
- Full list: [publisher support table](skills/paper-search/references/publisher-support.md)
|
|
168
|
+
- Need another publisher? [Open an issue](https://github.com/dr-dumpling/PaperSearch/issues/new/choose) with the DOI of an article you can access; these rules are maintained and extended over time.
|
|
169
|
+
- **Verification boxes clicked for you**: it finds and clicks human-verification boxes and carries on once the site lets it through; you are asked only when it does not pass.
|
|
170
|
+
- **Quiet background downloads**: the browser works in the background. The progress capsule in a screen corner shows the progress; it turns amber when you need to sign in or verify, one click switches to the browser, and the download carries on once you are done.
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
Install:
|
|
173
173
|
|
|
174
174
|
```bash
|
|
175
|
-
paper-search school install #
|
|
176
|
-
paper-search school status --format text #
|
|
175
|
+
paper-search school install # choose your school during installation
|
|
176
|
+
paper-search school status --format text # check that it is ready
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
|
|
179
|
+
**Progress capsule**
|
|
180
180
|
|
|
181
|
-
<p align="center"><img src="assets/school-capsule.webp" width="840" alt="
|
|
181
|
+
<p align="center"><img src="assets/school-capsule.en.webp" width="840" alt="Progress capsule: a small capsule shows the progress, hover for each paper, minimized to the Dock it keeps downloading, one click brings it back"></p>
|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
**Verification pages**
|
|
184
184
|
|
|
185
|
-
<p align="center"><img src="assets/school-verify.webp" width="840" alt="
|
|
185
|
+
<p align="center"><img src="assets/school-verify.en.webp" width="840" alt="Verification pages: when a verification page stops the download, it passes on its own, no clicks from you"></p>
|
|
186
186
|
|
|
187
|
-
|
|
187
|
+
**School sign-in**
|
|
188
188
|
|
|
189
|
-
<p align="center"><img src="assets/school-signin.webp" width="840" alt="
|
|
189
|
+
<p align="center"><img src="assets/school-signin.en.webp" width="840" alt="School sign-in: the institution login is clicked and your school filled in, on to your school login page"></p>
|
|
190
190
|
|
|
191
|
-
|
|
191
|
+
**Asks when needed**
|
|
192
192
|
|
|
193
|
-
<p align="center"><img src="assets/school-attention.webp" width="840" alt="
|
|
193
|
+
<p align="center"><img src="assets/school-attention.en.webp" width="840" alt="Asks when needed: the capsule turns amber for the school login; click to switch to the browser, or skip the paper"></p>
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
**Results**
|
|
196
196
|
|
|
197
|
-
<p align="center"><img src="assets/school-finish.webp" width="840" alt="
|
|
197
|
+
<p align="center"><img src="assets/school-finish.en.webp" width="840" alt="Results: skip a paper; the final card lists what was saved and why the rest wasn't; clicking a title opens it in your own browser"></p>
|
|
198
198
|
|
|
199
|
-
### 2. API
|
|
199
|
+
### 2. API keys
|
|
200
200
|
|
|
201
|
-
|
|
201
|
+
Keys fall into four groups by what they are for. Get the key you need (an email needs no sign-up) and enter it any of the ways in [Quick start step 3](#3-add-api-keys-when-you-need-them).
|
|
202
202
|
|
|
203
|
-
####
|
|
203
|
+
#### Recommended
|
|
204
204
|
|
|
205
|
-
|
|
|
205
|
+
| Feature | Key | Where to get it |
|
|
206
206
|
|---|---|---|
|
|
207
|
-
|
|
|
208
|
-
|
|
|
209
|
-
|
|
|
210
|
-
|
|
|
207
|
+
| Look up impact factors and quartiles | `EASYSCHOLAR_KEY` | [EasyScholar](https://www.easyscholar.cc/) ([guide](https://docs.qq.com/aio/DTUxwZ3hUckVtZVJN), in Chinese) |
|
|
208
|
+
| Search full-text snippets | `SEMANTIC_SCHOLAR_API_KEY` | [Semantic Scholar](https://www.semanticscholar.org/product/api) ([guide](https://docs.qq.com/aio/DTW9RdFVHc2hJUmpx), in Chinese) |
|
|
209
|
+
| Find free full texts when downloading | `PAPER_SEARCH_UNPAYWALL_EMAIL` | No sign-up ([Unpaywall: about](https://unpaywall.org/products/api)) |
|
|
210
|
+
| Search papers, check that DOIs are real | `CROSSREF_MAILTO` | No sign-up ([Crossref: about](https://www.crossref.org/documentation/retrieve-metadata/rest-api/tips-for-using-the-crossref-rest-api/)) |
|
|
211
|
+
| Solve picture verifications during school subscription downloads | `YESCAPTCHA_KEY` | [YesCaptcha](https://yescaptcha.com/i/E9n1T5/) ([guide](https://docs.qq.com/aio/DTUhYbkVjektKeHdV), in Chinese) |
|
|
211
212
|
|
|
212
|
-
#### 下载订阅全文(非必须)
|
|
213
213
|
|
|
214
|
-
|
|
214
|
+
#### Subscribed full texts (optional)
|
|
215
|
+
|
|
216
|
+
| Publisher | Key | Where to get it |
|
|
215
217
|
|---|---|---|
|
|
216
|
-
| Elsevier | `ELSEVIER_API_KEY
|
|
218
|
+
| Elsevier | `ELSEVIER_API_KEY`; off campus, subscription articles also need `ELSEVIER_INSTTOKEN` | [Elsevier](https://dev.elsevier.com/apikey/manage) |
|
|
217
219
|
| Springer | `SPRINGER_API_KEY` | [Springer Nature](https://dev.springernature.com/) |
|
|
218
220
|
|
|
219
|
-
####
|
|
221
|
+
#### More search sources (optional)
|
|
220
222
|
|
|
221
|
-
|
|
|
223
|
+
| Source | Key | Where to get it |
|
|
222
224
|
|---|---|---|
|
|
223
225
|
| Web of Science | `WOS_API_KEY` | [Clarivate](https://developer.clarivate.com/apis) |
|
|
224
226
|
| IEEE Xplore | `IEEE_API_KEY` | [IEEE](https://developer.ieee.org/docs/read/Searching_the_IEEE_Xplore_Metadata_API) |
|
|
225
|
-
| ScienceDirect
|
|
226
|
-
| Springer | `SPRINGER_API_KEY
|
|
227
|
+
| ScienceDirect, Scopus | `ELSEVIER_API_KEY` (the same key as above) | [Elsevier](https://dev.elsevier.com/apikey/manage) |
|
|
228
|
+
| Springer | `SPRINGER_API_KEY` (the same key as above) | [Springer Nature](https://dev.springernature.com/) |
|
|
227
229
|
|
|
228
|
-
####
|
|
230
|
+
#### Faster, steadier search (optional)
|
|
229
231
|
|
|
230
|
-
|
|
|
232
|
+
| Source | Key | Where to get it |
|
|
231
233
|
|---|---|---|
|
|
232
234
|
| PubMed | `PUBMED_API_KEY` | [NCBI](https://ncbiinsights.ncbi.nlm.nih.gov/2017/11/02/new-api-keys-for-the-e-utilities/) |
|
|
233
|
-
| OpenAlex
|
|
235
|
+
| OpenAlex (all citing papers past 10,000) | `OPENALEX_API_KEY` | [OpenAlex](https://openalex.org/settings/api) |
|
|
234
236
|
| CORE | `CORE_API_KEY` | [CORE](https://core.ac.uk/services/api) |
|
|
235
237
|
| OpenAIRE | `OPENAIRE_API_KEY` | [OpenAIRE](https://develop.openaire.eu/) |
|
|
236
238
|
|
|
237
|
-
|
|
239
|
+
Settings are saved in `~/.config/paper-search-cli/config.json`, readable only by you. The download folder, proxy, automatic updates and other settings are in [Guide · Other settings](docs/guide.en.md#other-settings).
|
|
238
240
|
|
|
239
|
-
##
|
|
241
|
+
## More documentation
|
|
240
242
|
|
|
241
|
-
[
|
|
243
|
+
The [guide](docs/guide.en.md): [command examples](docs/guide.en.md#command-examples), [how it works](docs/guide.en.md#how-it-works), [search sources](docs/guide.en.md#search-sources), [Agent Skill](docs/guide.en.md#agent-skill), [all commands](docs/guide.en.md#all-commands), [troubleshooting](docs/guide.en.md#troubleshooting). `paper-search tools --pretty` lists every tool and its parameters in the terminal.
|
|
242
244
|
|
|
243
|
-
[
|
|
245
|
+
The [changelog](CHANGELOG.md) (in Chinese) lists every version under the same seven aspects: setup, search and checks, open download, school subscription download, progress window, download results and documentation.
|
|
244
246
|
|
|
245
|
-
##
|
|
247
|
+
## Roadmap
|
|
246
248
|
|
|
247
|
-
|
|
249
|
+
Next on the list:
|
|
248
250
|
|
|
249
|
-
1.
|
|
250
|
-
2.
|
|
251
|
-
3.
|
|
251
|
+
1. **A better progress capsule**: better-timed reminders, with no early prompt when the school login page lets you through by itself; less of the browser briefly jumping to the front on Windows when it starts or changes pages; a cleaner look.
|
|
252
|
+
2. **Parallel downloads**: papers from different publishers download at the same time, cutting the total time for dozens or hundreds of papers; each publisher's download limits still apply.
|
|
253
|
+
3. **Better paper search and full-text snippets**: learn from similar tools and improve how papers and passages are found.
|
|
252
254
|
|
|
253
|
-
|
|
255
|
+
The full plan is in the [roadmap](docs/ROADMAP.zh.md) (Chinese); how it works inside is in the [architecture](docs/ARCHITECTURE.zh.md) (Chinese). Feature ideas are welcome as [issues](https://github.com/dr-dumpling/PaperSearch/issues/new/choose) and pull requests; for failed downloads or publisher requests use the matching issue template, and to add publisher rules yourself see [school/CONTRIBUTING.md](school/CONTRIBUTING.md).
|
|
254
256
|
|
|
255
|
-
##
|
|
257
|
+
## Acknowledgements
|
|
256
258
|
|
|
257
|
-
-
|
|
258
|
-
- [openags/paper-search-mcp](https://github.com/openags/paper-search-mcp)
|
|
259
|
-
- [
|
|
260
|
-
- [Rimagination/scansci-pdf](https://github.com/Rimagination/scansci-pdf)(MIT):机构下载后端(`school/`)借鉴了它的架构(CARSI 等联盟登录、出版社网站抓取、会话复用、PDF 捕获)。
|
|
259
|
+
- Thanks to the [LINUX DO community](https://linux.do/): the command-plus-Skill approach and workflow improvements came from discussion and open sharing there.
|
|
260
|
+
- [openags/paper-search-mcp](https://github.com/openags/paper-search-mcp): the project draws on its ideas, reworked into a standalone command.
|
|
261
|
+
- [Rimagination/scansci-pdf](https://github.com/Rimagination/scansci-pdf) (MIT): the institutional download backend (`school/`) draws on its architecture (CARSI and other federation sign-in, publisher site capture, session reuse, PDF capture).
|
|
261
262
|
|
|
262
263
|
## License
|
|
263
264
|
|
|
264
|
-
[AGPL-3.0](LICENSE)
|
|
265
|
+
[AGPL-3.0](LICENSE), with a commercial license available.
|