MCPcopy
hub / github.com/embedpdf/embed-pdf-viewer

github.com/embedpdf/embed-pdf-viewer @v2.14.4 sqlite

repository ↗ · DeepWiki ↗ · release v2.14.4 ↗
6,807 symbols 18,066 edges 2,062 files 737 documented · 11%
README

EmbedPDF logo

EmbedPDF

License Live demo Join our Discord

Open‑Source JavaScript PDF Viewer

EmbedPDF is a framework‑agnostic, MIT‑licensed PDF viewer that drops into any JavaScript project. Whether you build with React, Vue, Svelte, Preact, or vanilla JS, EmbedPDF delivers a smooth, modern reading experience and a clean developer API.


📚 Documentation

Full docs, installation guides, API reference, and examples:

👉 https://www.embedpdf.com

🚀 Live Demo

Try it now — load your own PDF or use the sample:

👉 https://app.embedpdf.com


💖 Sponsors

We are grateful for the support of our sponsors!

Silver Sponsors

With Love Internet

Bronze Sponsors

Accrual   Layer   Lefebvre   forml


✨ Features

  • Annotations (highlight, sticky notes, free text, ink)
  • True redaction (content is actually removed)
  • Search, text selection, zoom, rotation
  • Smooth, virtualized scrolling
  • Pluggable architecture & tree-shakable plugins

🤝 Contributing

We love contributions! To get started, read our contributing guide and jump into the GitHub discussions.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

Third-Party Licenses

This project includes PDFium, licensed under the Apache License, Version 2.0.

Extension points exported contracts — how you extend this code

Logger (Interface)
(no doc) [5 implementers]
packages/models/src/logger.ts
BookmarkScope (Interface)
(no doc) [5 implementers]
packages/plugin-bookmark/src/lib/types.ts
PlatformAdapter (Interface)
(no doc) [4 implementers]
packages/ai/src/lib/runtime/types.ts
RenderScope (Interface)
(no doc) [3 implementers]
packages/plugin-render/src/lib/types.ts
SelectionHandlerFactory (Interface)
(no doc) [2 implementers]
packages/plugin-annotation/src/lib/handlers/types.ts
CustomZoomToolbarProps (Interface)
* Custom Zoom Toolbar Component * * This component is designed to be registered with the UI plugin and used * as a cu
examples/react-tailwind/src/components/custom-zoom-toolbar.tsx
CustomZoomToolbarProps (Interface)
* Custom Zoom Toolbar Component * * This component is designed to be registered with the UI plugin and used * as a cu
viewers/snippet/src/components/custom-zoom-toolbar.tsx
CommandScope (Interface)
(no doc) [1 implementers]
packages/plugin-commands/src/lib/types.ts

Core symbols most depended-on inside this repo

provides
called by 514
packages/core/src/lib/types/plugin.ts
getPlugin
called by 509
packages/core/src/lib/registry/plugin-registry.ts
useState
called by 482
packages/plugin-annotation/src/lib/utils/use-state.ts
forDocument
called by 471
packages/plugin-ui/src/lib/types.ts
createPluginRegistration
called by 355
packages/core/src/lib/utils/plugin-helpers.ts
debug
called by 273
packages/models/src/logger.ts
get
called by 257
packages/plugin-ui/src/vue/registries/component-registry.ts
dispatch
called by 242
packages/core/src/lib/store/store.ts

Shape

Function 3,175
Method 2,178
Interface 1,219
Class 184
Enum 51

Languages

TypeScript100%

Modules by API surface

website/public/wasm/pdfium.js280 symbols
packages/engines/src/lib/pdfium/engine.ts249 symbols
packages/models/src/pdf.ts210 symbols
packages/plugin-annotation/src/lib/annotation-plugin.ts109 symbols
packages/plugin-interaction-manager/src/lib/types.ts83 symbols
packages/plugin-annotation/src/lib/types.ts81 symbols
packages/engines/src/lib/webworker/engine.ts77 symbols
packages/engines/src/lib/orchestrator/pdf-engine.ts75 symbols
packages/plugin-ui/src/lib/types.ts70 symbols
packages/engines/src/lib/orchestrator/remote-executor.ts69 symbols
packages/plugin-redaction/src/lib/redaction-plugin.ts58 symbols
examples/react-tailwind/src/components/icons/index.tsx57 symbols

Dependencies from manifests, versioned

@babel/core7.22.10 · 1×
@babel/preset-env7.22.10 · 1×
@babel/preset-react7.22.5 · 1×
@babel/preset-typescript7.22.5 · 1×
@changesets/cli2.29.6 · 1×
@changesets/get-github-info0.6.0 · 1×
@dnd-kit/core6.3.1 · 1×
@dnd-kit/modifiers9.0.0 · 1×
@dnd-kit/sortable10.0.0 · 1×
@dnd-kit/utilities3.2.2 · 1×
@embedpdf/aiworkspace:* · 1×
@embedpdf/buildworkspace:* · 1×

For agents

$ claude mcp add embed-pdf-viewer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact