sweetwisdom/onlyoffice-web-local
소개
vue-office: 웹에서 일반적인 파일 형식을 미리 보고 편집할 수 있습니다.
웹 및 앱 개발What you can do
- 🔒 Privacy-First: All document processing happens locally in your browser, with no uploads to any server
- 📝 Multi-Format Support: Supports DOCX, XLSX, PPTX, and many other document formats
- ⚡ Real-Time Editing: Provides smooth real-time document editing experience
- 🚀 No Server Required: Pure frontend implementation with no server-side processing needed
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originaloffice-web-local
A purely local project based on OnlyOffice, supporting local opening and editing of Office documents.
A local web-based document editor based on OnlyOffice, allowing you to edit documents directly in your browser without server-side processing, ensuring your privacy and security.
✨ Key Features
- 🔒 Privacy-First: All document processing happens locally in your browser, with no uploads to any server
- 📝 Multi-Format Support: Supports DOCX, XLSX, PPTX, and many other document formats
- ⚡ Real-Time Editing: Provides smooth real-time document editing experience
- 🚀 No Server Required: Pure frontend implementation with no server-side processing needed
- 🎯 Ready to Use: Start editing documents immediately by opening the webpage
🛠️ Technical Architecture
This project is built on the following core technologies:
- OnlyOffice SDK: Provides powerful document editing capabilities
- WebAssembly: Implements document format conversion through x2t-wasm
- Pure Frontend Architecture: All functionality runs in the browser
📄 Opening Remote Files
Functionality
Automatically downloads and opens remote Office files (e.g., .docx, .pptx) via route parameters, converting them into File objects for further use (e.g., preview or editing).
Usage
The page URL must include the following parameters:
url(required): Remote file addressfilename(optional): File name; if not provided, it will attempt to auto-resolve
Example: 00.xlsx
?filename=00.pptx&url=https://example.com/files/00.pptx
File Name Retrieval Priority
- Route parameter
filename - Parsed from
url - Extracted from response header
Content-Disposition
If the file name cannot be retrieved, the operation will terminate with an error prompt.

📚 Format Support & Features
| Feature | Supported formats | Preview |
|---|---|---|
| Word editing | DOCX | ![]() |
| Spreadsheet editing | XLSX | ![]() |
| Presentation editing | PPTX | ![]() |
| PDF viewing | ![]() |
|
| Document export | DOCX, XLSX, PPTX, PDF | ![]() |
Development Setup
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile, and Minify for Production
pnpm build
Docker Support
Build a custom image named vue-local-office (note: the . at the end of the command indicates using the Dockerfile in the current directory; adjust the path as needed):
docker build -t vue-local-office .
Map ports and start the Docker container (8080:80 maps the container's port 80 to the host's port 8080; local-office is the custom container name; vue-local-office is the custom image name):
docker run -dp 8080:80 --name local-office vue-local-office
After executing the above commands, open http://localhost:8080 in a browser to preview.
GitHub Actions (Release / Pages)
Workflows live in .github/workflows/ (ported from onlyoffice-web-local, using npm):
| Workflow | Trigger | What it does |
|---|---|---|
release.yml |
Push v* tag, or manual workflow_dispatch |
npm run build → upload html.zip to a Release |
deploy.yml |
Push to main |
Deploy GitHub Pages + upload html.zip |
Note: Full offline assets live in public/vendor (~700MB) and are tracked directly in Git, so clones and initial deployments are large. Each Release asset must stay under ~2 GiB.
Technical Details
- Uses
x2t-wasmas a replacement for OnlyOffice services - Utilizes OnlyOffice WebSDK for editing (sourced from
se-office)
References
관련 프로젝트 살펴보기
불러오는 중…




