PaperViz's native DSH client plugin: a sidebar entry and reading shell for library browsing, PDF reading, notes, translation, and paper-specific AI assistance.
This repository contains only the DSH plugin package. The PaperViz web app, API, database schema, and worker services remain in the main PaperViz repository and are not bundled here.
- Node.js 22 or newer
- A compatible DSH host with the web client module loader
npm install
npm run typecheck
npm run buildThe build writes generated JavaScript and declaration files to lib/. Those
files are intentionally ignored; they can be recreated from the tracked
source at any time.
After building, add the package directory to the DSH web profile:
dsh plugin --profile web add /absolute/path/to/PaperViz-dshThe included cordis.patch.yml registers the plugin's module-loader entry.
src/client/— DSH web client entry, sidebar toggle, shell, and host data adapterssrc/library/— library domain, controller, and viewsrc/reader/— PDF reader, notes, and feature panelssrc/assistant/— paper context and assistant runtimesrc/translation/— translation domain, controller, and runtimesrc/native/— host-side persistence domain and HTTP integrationtsdown.config.ts— separate host and browser bundle configuration