# webodf/ViewerJS

ViewerJS: Document Reader in JavaScript

Repository: https://github.com/webodf/ViewerJS
Canonical: https://ross.abutalabs.com/products/webodf-viewerjs
Homepage: http://viewerjs.org
Language: JavaScript
License Family: other
Last push: 2022-08-09T16:05:54+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4898, "days_push": 1485, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1971, forks 418 (observed 2026-08-28T04:06:00.857823+00:00)

## What it is
ViewerJS is a JavaScript document viewer that renders PDF and OpenDocument Format (ODF) files directly in the browser, built on top of PDF.js and WebODF. It is self-hosted on your own webserver with no external dependencies, plugins, or third-party services required.

## Use cases
- embed pdf viewer in website
- display odt documents in browser
- show odp presentations on my site without plugins
- self-hosted document viewer for intranet
- render openoffice documents in a web app
- view spreadsheets in browser without google docs
- present slides directly from the browser

## When to choose
- you need to display PDF or ODF documents on your own site without third-party services
- privacy matters and you cannot send documents to hosted converters like Google Docs or Zoho
- you need offline-capable document viewing with embedded font support

## When to avoid
- you need to view proprietary formats like DOCX or XLSX natively
- you want a maintained library with active development and clear licensing
- you need AGPL-incompatible commercial use without purchasing a license

## Facets
- artifact type: library
- maturity: maintenance
- function: pdf, parser, ui-components
- domain: web-development, pdf, frontend, files
- platform: browser
- tags: document-viewer, odf, pdfjs, webodf, in-browser-viewer, office-documents, web-server, javascript

## Member repositories
- webodf/ViewerJS (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:00.857823+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:05:06.446325+00:00, confidence not recorded.
  - readme: https://github.com/webodf/ViewerJS (fetched 2026-08-28T04:06:00.857823+00:00, sha 1e367e6edeff)
  - homepage: http://viewerjs.org (fetched 2026-08-29T10:45:00.811210+00:00, sha eeab134bfda3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
