gychen-NJU/dsh-overleaf

dsh-overleaf adds an embedded Overleaf workbench as a fourth session tab in DSH Web: a same-origin reverse proxy loads overleaf.com or a self-hosted instance so editing, compiling and PDF preview stay fully operable, with selection quoting, caret insertion, reviewed AI rewrites, compile-log fixes and bidirectional .tex/.bib sync wired between the editor and the native composer.

dsh-overleaf adds an embedded Overleaf workbench as a fourth tab next to Chat / Trajectory / Context on the DSH session page. The tab loads your Overleaf site (public cloud or self-hosted such as tex.nju.edu.cn) through a same-origin reverse proxy, so the full editor, compiler and PDF preview stay operable while the native DSH composer sits below with selection quoting, caret insertion and LaTeX assist panels wired between the two. An assist panel offers AI writing whose output is auto-captured into a review box before insertion at the caret, selection AI with reviewed replacement and drift checks, a compile-fix tab that reads the compile log's errors and warnings for one-click agent fixes, document-outline navigation, and login/logout/cookie management. Local .bib synchronization updates a same-named Overleaf bibliography, and bidirectional current-.tex sync saves the Overleaf source into the workspace (or the reverse with explicit whole-document confirmation plus document-ID, revision, snapshot and save-event checks). The default upstream is https://www.overleaf.com and the base URL is configurable.

Learning & Research ★ 2
View on GitHub ↗

Install

dsh plugin --profile web add github:gychen-NJU/dsh-overleaf

Copied verbatim from the README's Installation block (the recommended main-branch GitHub form). The README also documents dsh plugin --profile web add github:gychen-NJU/dsh-overleaf#v1.0.0 and a release-tarball form. The README states the npm name dsh-overleaf is occupied by another project, so this plugin is not published to npm.

Compatibility

The host process ships an HTTP/1.1 reverse proxy: all browser traffic goes to /overleaf-proxy/<original-path>, which forwards to your configured upstream origin - one fixed origin locked by configuration, with no open SSRF surface. Because the iframe and the GUI then share one origin, browser-level bridges become possible (structured selections flow into the composer, generated content writes back at the editor caret). The README documents deliberate isolation from existing plugins: a distinct Cordis row id (overleaf-workbench), client module id (dsh-overleaf), and dedicated /overleaf-proxy/ and /overleaf/workbench/ routes. Since v1.0.0 all settings are volatile hot-editable fields, so saving applies the new proxy target and feature switches immediately without a restart; older harness generations keep the legacy settings entry.

Details

Alternatives

1692775560/dsh-Mimir-Academic-research · Astervolans/dsh-literature-search · beibingyangliuying/dsh-autoresearch

More plugins in Learning & Research

Browse more in Learning & Research

Guides for Learning & Research plugins