{"id":13839969,"url":"https://github.com/marx-yu/WopiHost","last_synced_at":"2025-07-11T07:31:28.507Z","repository":{"id":18678682,"uuid":"21887476","full_name":"marx-yu/WopiHost","owner":"marx-yu","description":"Office Online Server Wopi Host implement, No need Cobalt.  Support DOCX, XLSX, PPTX online editing.","archived":false,"fork":false,"pushed_at":"2019-04-29T13:34:41.000Z","size":26,"stargazers_count":246,"open_issues_count":5,"forks_count":95,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-08-05T17:24:31.247Z","etag":null,"topics":["office","office-online-edit","oos","owas","wopi"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marx-yu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-16T05:00:55.000Z","updated_at":"2024-07-30T08:09:57.000Z","dependencies_parsed_at":"2022-09-07T16:13:31.794Z","dependency_job_id":null,"html_url":"https://github.com/marx-yu/WopiHost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marx-yu%2FWopiHost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marx-yu%2FWopiHost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marx-yu%2FWopiHost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marx-yu%2FWopiHost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marx-yu","download_url":"https://codeload.github.com/marx-yu/WopiHost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225705095,"owners_count":17511220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["office","office-online-edit","oos","owas","wopi"],"created_at":"2024-08-04T17:00:39.499Z","updated_at":"2024-11-21T09:30:37.713Z","avatar_url":"https://github.com/marx-yu.png","language":"C#","funding_links":[],"categories":["C# #","C# (212)"],"sub_categories":[],"readme":"## Introduction\n\nThis repository contains a Wopi Host demo.\nwork with Office Online Server 2016(OOS). \nSupport DOCX Editing, and also PPTX,XLSX.\nWelcome any contribution, and discussion of supporting coauthoring\n\n## Requirements\n\nRequires Office Online 2016 Server(preview). \n*No need Microsoft.CobaltCore.dll assembly.*\n\n## Known Issues\n\nDoesn't support coauthoring.\n\n## Usage \u0026 Examples\n\n#### Deploy OOS\n[Deploy Guideline](https://docs.microsoft.com/en-us/officeonlineserver/deploy-office-online-server)   \nSet editing enabled:  Set-OfficeWebAppsFarm -EditingEnabled:$true\n\n#### Prepare Wopi Host\n1.Set real local docs path as code below in WopiCobalthost\\program.cs\n```\n// docsPath parameter may change to the real local path that save demo documents(word or excel file)\nCobaltServer svr = new CobaltServer(@\"D:\\\\wopi-docs\");\n```\n2.Set real hostname or domain as code below in WopiCobaltHost\\CobaltServer.cs\n```\n// localhost may change to the real hostname or IP\nm_listener.Prefixes.Add(String.Format(\"http://localhost:{0}/wopi/\", m_port));\n```\nYou can use FQDN as hostname for remote access.   \nIf you have no FQDN, you can use localhost and use [ngrok](https://ngrok.com/download) as proxy:ngrok.exe http -host-header=localhost 8080\n\n3.Build and start this wopihost program   \nAssume the demo doc file name is word.docx   \nNow you can access http://[wopi.hostname]/wopi/files/word.docx, and get the CheckFileInfo response\n\n#### Open OOS website\n1.URLEncode wopihost address to:http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fword.docx   \n2.Use URL below to open OOS editing web page   \nFor word.docx:   \nhttp://[OOS.hostname]/we/WordEditorFrame.aspx?WOPISrc=http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fword.docx\u0026access_token=token\u0026ui=zh-CN   \nFor ppt.pptx:   \nhttp://[OOS.hostname]/p/PowerPointFrame.aspx?PowerPointView=ReadingView\u0026WOPISrc=http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fppt.pptx\u0026access_token=token\u0026ui=zh-CN   \nFor Book1.xlsx   \nhttp://[OOS.hostname]/x/_layouts/xlviewerinternal.aspx?WOPISrc=http%3a%2f%2fwopi.hostname%2fwopi%2ffiles%2fBook1.xlsx\u0026access_token=token\u0026ui=zh-CN\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarx-yu%2FWopiHost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarx-yu%2FWopiHost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarx-yu%2FWopiHost/lists"}