DocuThinker-AI-App

DocuThinker Viewer – VS Code Extension

Embed DocuThinker (AI‑powered document upload, summarization & insight extraction) directly into your VS Code.

DocuThinker Logo

Features

VS Code Marketplace

To avoid manual installation, you can find the extension on the VSCode Marketplace.

Feel free to leave a review or report issues there!

Launch from VS Code

We also provide a quick way to launch the DocuThinker Viewer extension directly from VS Code:

  1. Go to the Run and Debug view (Ctrl+Shift+D / ⌘+Shift+D).
  2. Select Run Extension from the dropdown.
  3. Click the green play button to start the extension in a new Extension Development Host window.
  4. Open the Command Palette (Ctrl+Shift+P / ⌘+Shift+P) and run DocuThinker: Open Document Panel.
  5. Upload your PDF or Word document to view summaries and insights.

This is achieved via the .vscode/launch.json configuration, which allows you to run the extension in a development environment without needing to package it first.

VSIX Installation

  1. Clone & enter the extension folder
      git clone https://github.com/hoangsonww/DocuThinker-AI-App.git
      cd DocuThinker-AI-App/extension
    
  2. Install dependencies & compile
  npm install
  npm run compile
  1. Package as a VSIX
  vsce package

→ produces docuthinker-chat-0.0.1.vsix

  1. Install the VSIX

    • CLI:
     code --install-extension docuthinker-chat-0.0.1.vsix
    
    • VS Code UI: Extensions view → “ ” → **Install from VSIX ** → select the file

Usage

  1. Open the Command Palette (Ctrl+Shift+P / ⌘+Shift+P).
  2. Run DocuThinker: Open Document Panel.
  3. Upload your PDF or Word document, then view summaries and extracted insights in the embedded panel.

Configuration

Open SettingsExtensionsDocuThinker Viewer:

Setting Default Description
docuthinkerChat.panelTitle DocuThinker Viewer Title of the Webview panel.
docuthinkerChat.viewColumn 1 Editor column (0=active, 1–3) to open the panel in.
docuthinkerChat.retainContext true Keep the upload/session state when hidden.
docuthinkerChat.enableScripts true Allow scripts to run inside the iframe.
docuthinkerChat.iframeWidth 100% CSS width of the embedded iframe.
docuthinkerChat.iframeHeight 100% CSS height of the embedded iframe.
docuthinkerChat.openOnStartup false Auto‑open panel on VS Code startup.

Development

Troubleshooting

License

MIT (see LICENSE for details).


About DocuThinker

DocuThinker is a full‑stack FERN‑Stack AI app for document upload, summarization, and insight extraction. Learn more in the main repo: 👉 hoangsonww/DocuThinker-AI-App or try it live: https://docuthinker.vercel.app/home