tndgyq557 downloadsRead-only local preview for PPT/PPTX, XLS/XLSX, DOC/DOCX, TXT, and LOG files.
Local Office Preview is a desktop-only, read-only Obsidian plugin for previewing PPT/PPTX, XLS/XLSX, DOC/DOCX, TXT, and LOG files without creating duplicate preview files in your vault.
Supported files:
.ppt, .pptx, .pps, .ppsx.xls, .xlsx.doc, .docx.txt, .log.xlsx opens in fast table preview by default..xls uses PDF preview..docx opens in fast text preview by default..doc uses PDF preview.Copy Text copies extractable text from TXT/LOG, XLSX, DOCX, PPTX, and PPSX without editing the original file.Generated PDFs are cached in the operating system temp directory, not in the Obsidian vault. Your GitHub repository can keep only the original Office and text files.
See THIRD_PARTY_NOTICES.md for dependency license notes.
Install LibreOffice:
https://www.libreoffice.org/download/download-libreoffice/
On Windows, the plugin tries these paths automatically:
C:\Program Files\LibreOffice\program\soffice.exe
C:\Program Files (x86)\LibreOffice\program\soffice.exe
If LibreOffice is installed somewhere else, set the full soffice.exe path in the plugin settings.
On Windows, WPS Office or Microsoft Office can also be used. No LibreOffice path is required when WPS/Office COM export works.
Excel .xlsx fast preview and Word .docx text preview do not require LibreOffice or WPS. PowerPoint, legacy .xls, legacy .doc, and Excel PDF preview require LibreOffice, WPS Office, or Microsoft Office.
Install dependencies:
npm install
Build:
npm run build
Development watch:
npm run dev
After building, copy these files into your vault:
<your-vault>/.obsidian/plugins/local-office-preview/
main.js
manifest.json
styles.css
Then restart Obsidian or reload community plugins, and enable Local Office Preview.
Before submitting to the Obsidian community plugin market:
main.js, manifest.json, and styles.css.manifest.json, for example 0.2.3.https://community.obsidian.md/plugins.Obsidian uses the repository manifest.json and README.md for plugin details, but downloads installable files from GitHub releases. The GitHub release tag must match the version in manifest.json.