All Projects → marx-yu → Wopihost

marx-yu / Wopihost

Licence: other
Office Online Server Wopi Host implement, No need Cobalt. Support DOCX, XLSX, PPTX online editing.

Labels

Projects that are alternatives of or similar to Wopihost

Kms vl all
🔑KMS_VL_ALL - Smart Activation Script
Stars: ✭ 2,066 (+818.22%)
Mutual labels:  office
Weihanli.npoi
NPOI Extensions, excel/csv importer/exporter for IEnumerable<T>/DataTable, fluentapi(great flexibility)/attribute configuration
Stars: ✭ 157 (-30.22%)
Mutual labels:  office
Chartjs Plugin Colorschemes
Predefined color schemes for Chart.js
Stars: ✭ 189 (-16%)
Mutual labels:  office
Fluent.ribbon
WPF Ribbon control like in Office
Stars: ✭ 1,895 (+742.22%)
Mutual labels:  office
Phpstamp
The XSL-way templating library for MS Office Word DOCX documents.
Stars: ✭ 150 (-33.33%)
Mutual labels:  office
Phpvisio
A pure PHP library for reading and writing diagrams files
Stars: ✭ 167 (-25.78%)
Mutual labels:  office
Wopihost
ASP.NET Core MVC implementation of the WOPI protocol. Enables integration with WOPI clients such as Office Online Server.
Stars: ✭ 132 (-41.33%)
Mutual labels:  office
Duckx
C++ library for creating and updating Microsoft Word (.docx) files.
Stars: ✭ 214 (-4.89%)
Mutual labels:  office
Time To Leave
Log work hours and get notified when it's time to leave the office and start to live.
Stars: ✭ 155 (-31.11%)
Mutual labels:  office
Phpproject
A pure PHP library for reading and writing project management files
Stars: ✭ 179 (-20.44%)
Mutual labels:  office
Bay area tech meetups
iOS, Android, web, hardware, bots...you name it, there's a meetup for you!
Stars: ✭ 137 (-39.11%)
Mutual labels:  office
Summernote Cleaner
Plugin for Summernote that adds a Button and/or Paste functionality for cleaning MS Word Crud from editor text
Stars: ✭ 148 (-34.22%)
Mutual labels:  office
Documentserver
ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
Stars: ✭ 2,335 (+937.78%)
Mutual labels:  office
Npoi
A .NET library for reading and writing Microsoft Office binary and OOXML file formats.
Stars: ✭ 1,751 (+678.22%)
Mutual labels:  office
Macphish
Office for Mac Macro Payload Generator
Stars: ✭ 202 (-10.22%)
Mutual labels:  office
Pylightxl
A light weight, zero dependency, minimal functionality excel read/writer python library
Stars: ✭ 134 (-40.44%)
Mutual labels:  office
Hsweb Expands
文件压缩解压、office文档读写、http,ftp请求模拟、shell执行、模板引擎
Stars: ✭ 160 (-28.89%)
Mutual labels:  office
Wopihost
office online preview and editor
Stars: ✭ 222 (-1.33%)
Mutual labels:  office
Office Ribbonx Editor
An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
Stars: ✭ 205 (-8.89%)
Mutual labels:  office
Office Tool
© 2016-2021 Yerong. All Rights Reserved.
Stars: ✭ 3,657 (+1525.33%)
Mutual labels:  office

Introduction

This repository contains a Wopi Host demo. work with Office Online Server 2016(OOS). Support DOCX Editing, and also PPTX,XLSX. Welcome any contribution, and discussion of supporting coauthoring

Requirements

Requires Office Online 2016 Server(preview). No need Microsoft.CobaltCore.dll assembly.

Known Issues

Doesn't support coauthoring.

Usage & Examples

Deploy OOS

Deploy Guideline
Set editing enabled: Set-OfficeWebAppsFarm -EditingEnabled:$true

Prepare Wopi Host

1.Set real local docs path as code below in WopiCobalthost\program.cs

// docsPath parameter may change to the real local path that save demo documents(word or excel file)
CobaltServer svr = new CobaltServer(@"D:\\wopi-docs");

2.Set real hostname or domain as code below in WopiCobaltHost\CobaltServer.cs

// localhost may change to the real hostname or IP
m_listener.Prefixes.Add(String.Format("http://localhost:{0}/wopi/", m_port));

You can use FQDN as hostname for remote access.
If you have no FQDN, you can use localhost and use ngrok as proxy:ngrok.exe http -host-header=localhost 8080

3.Build and start this wopihost program
Assume the demo doc file name is word.docx
Now you can access http://[wopi.hostname]/wopi/files/word.docx, and get the CheckFileInfo response

Open OOS website

1.URLEncode wopihost address to:http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fword.docx
2.Use URL below to open OOS editing web page
For word.docx:
http://[OOS.hostname]/we/WordEditorFrame.aspx?WOPISrc=http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fword.docx&access_token=token&ui=zh-CN
For ppt.pptx:
http://[OOS.hostname]/p/PowerPointFrame.aspx?PowerPointView=ReadingView&WOPISrc=http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fppt.pptx&access_token=token&ui=zh-CN
For Book1.xlsx
http://[OOS.hostname]/x/_layouts/xlviewerinternal.aspx?WOPISrc=http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fBook1.xlsx&access_token=token&ui=zh-CN

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].