Product documentation, integration guides, deployment references, and the browser-local enterprise license issuer for Flyfish Office Preview.
English · 简体中文
This repository contains the source for the public Office Preview documentation site. It covers:
- DOC, DOCX, PPT, PPTX, XLS, XLSX, and XLSB integration;
- standalone viewer and integrated demo builds;
- static hosting, Nginx, Docker, and Cloudflare Pages deployment;
- migration from an existing
file-viewerOffice implementation; - runtime licenses and enterprise distribution grants;
- browser-local enterprise child-license issuance;
- production verification, troubleshooting, and delivery checklists.
The browser issuer performs its work locally and requires a valid enterprise distribution grant. Selecting a grant does not upload that file to a server.
Requirements:
- Node.js 20 or later;
- npm 10 or later.
npm ci
npm run devThe development server listens on http://127.0.0.1:5173 by default.
npm --userconfig=/dev/null run buildThe static output is written to dist/. Source maps are disabled for the
production build.
src/
main.jsx Documentation application and local issuer UI
registrarWasm.js Browser WASM loader and API adapter
styles.css Responsive documentation styles
public/
assets/ Brand and product media
downloads/ Integration examples and checklists
wasm/ Browser registrar runtime
The production Pages project is officejs-doc.
npm run deploy:cloudflarePublishing requires authorized Cloudflare credentials in the operator environment. No credentials are stored in this repository.
Before publishing:
npm ci
npm run buildThen verify:
- the homepage and all major sections return successfully;
- desktop and mobile layouts have no page-wide horizontal overflow;
- navigation anchors and the fixed side navigation remain usable;
- code highlighting and downloadable integration examples work;
- the browser issuer loads a valid enterprise grant and issues within its signed scope;
- the browser console contains no runtime errors.
This is a public source repository for the documentation website. Publication does not make the proprietary Office Preview viewers, registrar runtime, or commercial licensing system open source. See LICENSE for terms.
Do not submit customer documents, license files, grants, signing material, or other confidential information in issues or pull requests.