Skip to content

基于 OnlyOffice C++ 通过 Emscripten 编译为 Wasm 的在线 Office - 可用 Word、Excel 和 PowerPoint 三种

License

Notifications You must be signed in to change notification settings

miniocean404-tool/office-document

 
 

Repository files navigation

OnlyOffice Web

🌐 Live Demo: https://ranuts.github.io/document/

English | 中文

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

📖 Usage

Basic Usage

  1. Visit the Online Editor
  2. Upload your document files
  3. Edit directly in your browser
  4. Download the edited documents

As a Component Library

This project also provides foundational services for document preview components in the @ranui/preview WebComponent library.

📚 Preview Component Documentation: https://chaxus.github.io/ran/src/ranui/preview/

🚀 Deployment

  • Auto Deployment: The project is automatically deployed to GitHub Pages when changes are pushed to the main branch
  • Manual Deployment: You can also deploy the project to any static website hosting service

🔧 Local Development

# Clone the repository
git clone https://github.com/ranuts/document.git

# Navigate to the project directory
cd document

# Install dependencies
npm install

# Start local development server
npm run dev

📚 References

🤝 Contributing

Issues and Pull Requests are welcome to help improve this project!

📄 License

see the LICENSE file for details.

About

基于 OnlyOffice C++ 通过 Emscripten 编译为 Wasm 的在线 Office - 可用 Word、Excel 和 PowerPoint 三种

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.1%
  • JavaScript 29.3%
  • TypeScript 16.6%