Convert Figma logo to code with AI

ONLYOFFICE logoDocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.

4,730
1,075
4,730
829

Top Related Projects

8,364

:cloud: ownCloud web server core (Files, DAV, etc.)

27,149

☁️ Nextcloud server, a safe home for all your data

:gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.

33,890

Universal markup converter

7,241

A pure PHP library for reading and writing word processing documents

Quick Overview

ONLYOFFICE DocumentServer is an open-source office suite that allows users to create, view, and edit text documents, spreadsheets, and presentations in real-time collaboration. It provides a web-based interface and can be integrated into various platforms and applications.

Pros

  • Supports real-time collaboration with multiple users
  • Offers a wide range of document editing features comparable to desktop office suites
  • Can be self-hosted for better control over data and privacy
  • Provides API for easy integration with other applications

Cons

  • Requires significant server resources for optimal performance
  • Setup and configuration can be complex for non-technical users
  • Some advanced features may require a paid license
  • Limited mobile support compared to other office suites

Getting Started

To set up ONLYOFFICE DocumentServer:

  1. Clone the repository:

    git clone https://github.com/ONLYOFFICE/DocumentServer.git
    
  2. Navigate to the project directory:

    cd DocumentServer
    
  3. Run the installation script:

    bash installServer.sh
    
  4. Access the DocumentServer through your web browser at http://localhost:80

Note: These instructions are simplified. For a complete setup guide, refer to the official documentation in the repository.

Competitor Comparisons

8,364

:cloud: ownCloud web server core (Files, DAV, etc.)

Pros of ownCloud Core

  • More comprehensive file management and sharing features
  • Broader ecosystem with numerous apps and integrations
  • Stronger focus on privacy and data sovereignty

Cons of ownCloud Core

  • Less specialized for document editing and collaboration
  • May require more setup and configuration for advanced features
  • Potentially higher resource requirements for full functionality

Code Comparison

ownCloud Core (PHP):

public function getStorageInfo($dir = '') {
    $storageInfo = $this->storage->getStorageInfo($dir);
    $this->updateStorageStatistics($storageInfo);
    return $storageInfo;
}

ONLYOFFICE DocumentServer (JavaScript):

function createDocumentEditor(docId, docType, options) {
    var docEditor = new DocsAPI.DocEditor("placeholder", {
        document: {
            fileType: docType,
            key: docId,
            url: options.url
        },
        editorConfig: options.editorConfig
    });
    return docEditor;
}

The code snippets highlight the different focus areas of the two projects. ownCloud Core deals with storage management and file operations, while ONLYOFFICE DocumentServer is centered around document editing and collaboration features.

27,149

☁️ Nextcloud server, a safe home for all your data

Pros of Nextcloud server

  • More comprehensive file sharing and collaboration platform
  • Larger community and ecosystem of apps/plugins
  • Self-hosted solution with greater control over data privacy

Cons of Nextcloud server

  • More complex setup and maintenance
  • Potentially higher resource requirements
  • Less specialized for document editing compared to DocumentServer

Code comparison

DocumentServer (JavaScript):

this.api.asc_registerCallback('asc_onDocumentContentReady', function () {
    this._onDocumentContentReady.apply(this, arguments);
});

Nextcloud server (PHP):

$this->registerHook('post_create', 'OCA\Files\Hooks\Listener', 'post_create');
$this->registerHook('post_update', 'OCA\Files\Hooks\Listener', 'post_update');

Both projects use different programming languages and architectures. DocumentServer focuses on document editing functionality, while Nextcloud server provides a broader range of features for file management and collaboration. The code snippets show how each project handles event callbacks, with DocumentServer using JavaScript for client-side interactions and Nextcloud server using PHP for server-side hooks.

:gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.

Pros of Asciidoctor

  • Lightweight and fast text-based document processing
  • Supports multiple output formats (HTML, PDF, EPUB)
  • Extensive customization options and extensibility

Cons of Asciidoctor

  • Limited real-time collaboration features
  • Lacks built-in WYSIWYG editing capabilities
  • May require more technical knowledge for advanced usage

Code Comparison

Asciidoctor (Ruby):

require 'asciidoctor'

Asciidoctor.convert_file 'document.adoc', to_file: 'output.html', safe: :safe

DocumentServer (JavaScript):

const config = {
  document: {
    fileType: "docx",
    key: "Khirz6zTPdfd7",
    url: "https://example.com/url-to-example-document.docx"
  },
  documentType: "word"
};

new DocsAPI.DocEditor("placeholder", config);

Asciidoctor focuses on text-based document processing, while DocumentServer provides a full-featured online document editing experience. Asciidoctor is more suitable for developers and technical writers who prefer working with plain text, while DocumentServer caters to users who need collaborative, WYSIWYG editing capabilities for various document formats.

33,890

Universal markup converter

Pros of Pandoc

  • Lightweight and versatile document conversion tool
  • Supports a wide range of input and output formats
  • Command-line interface allows for easy integration into scripts and workflows

Cons of Pandoc

  • Limited collaborative editing capabilities
  • Lacks real-time document rendering and preview features
  • No built-in cloud storage or sharing options

Code Comparison

Pandoc (Haskell):

readDocx :: PandocMonad m => ReaderOptions -> B.ByteString -> m Pandoc
readDocx opts bytes = do
  doc <- parseXml bytes
  parseDocx opts $ fromDocument doc

DocumentServer (JavaScript):

DocEditor.prototype.asc_nativeCheckPdfRenderer = function(callback)
{
    var api = window["AscDesktopEditor"];
    if (api && api.IsSupportNativeViewer)
        callback(api.IsSupportNativeViewer());
    else
        callback(false);
};

Pandoc is a command-line tool focused on document conversion, while DocumentServer is a full-featured collaborative document editing solution. Pandoc excels in flexibility and format support, making it ideal for automation and scripting. DocumentServer offers real-time collaboration, cloud integration, and a rich editing interface, but may be more complex to set up and use for simple conversion tasks.

7,241

A pure PHP library for reading and writing word processing documents

Pros of PHPWord

  • Lightweight and focused specifically on Word document manipulation
  • Easier integration for PHP-based projects
  • More straightforward API for basic document operations

Cons of PHPWord

  • Limited to Word documents, unlike DocumentServer's multi-format support
  • Lacks real-time collaboration features
  • No built-in web-based document editing interface

Code Comparison

PHPWord:

$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
$section->addText('Hello World!');
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
$objWriter->save('helloWorld.docx');

DocumentServer:

docEditor = new DocsAPI.DocEditor("placeholder", {
    document: {
        url: "https://example.com/url-to-example-document.docx"
    },
    documentType: "word",
    editorConfig: {
        mode: "edit"
    }
});

While PHPWord focuses on server-side document creation and manipulation, DocumentServer provides a full-fledged web-based document editing experience with collaborative features. PHPWord is more suitable for generating documents programmatically, while DocumentServer offers a comprehensive solution for online document editing and collaboration.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

License Release

Overview

ONLYOFFICE Docs* is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.

ONLYOFFICE Docs can be used as a part of ONLYOFFICE Workspace or with third-party sync&share solutions (e.g. Nextcloud, ownCloud, Seafile) to enable collaborative editing within their interface.

It has three editions - Community, Enterprise, and Developer.

* Starting from version 6.0, Document Server is distributed under a new name - ONLYOFFICE Docs.

Components

ONLYOFFICE Docs contains the following components:

  • server - the backend server software layer which is the base for all other components of ONLYOFFICE Docs.
  • core - server core components of ONLYOFFICE Docs which enable the conversion between the most popular office document formats (DOC, DOCX, ODT, RTF, TXT, PDF, HTML, EPUB, XPS, DjVu, XLS, XLSX, ODS, CSV, PPT, PPTX, ODP).
  • sdkjs - JavaScript SDK for the ONLYOFFICE Docs which contains API for all the included components client-side interaction.
  • web-apps - the frontend for ONLYOFFICE Docs which builds the program interface and allows the user create, edit, save and export text, spreadsheet and presentation documents using the common interface of a document editor.
  • dictionaries - the dictionaries of various languages used for spellchecking in ONLYOFFICE Docs.

Plugins

ONLYOFFICE Docs offer support for plugins allowing developers to add specific features to the editors that are not directly related to the OOXML format. For more information see our API or visit github plugins repo.

Functionality

ONLYOFFICE Docs includes the following editors:

The editors allow you to create, edit, save and export text, spreadsheet and presentation documents and additionally have the features:

  • Collaborative editing
  • Hieroglyph support
  • Reviewing
  • Spell-checking

ONLYOFFICE Docs editions

ONLYOFFICE offers different versions of its online document editors that can be deployed on your own servers.

ONLYOFFICE Docs (packaged as Document Server):

  • Community Edition (onlyoffice-documentserver package)
  • Enterprise Edition (onlyoffice-documentserver-ee package)
  • Developer Edition (onlyoffice-documentserver-de package)

The table below will help you to make the right choice.

Pricing and licensingCommunity EditionEnterprise EditionDeveloper Edition
Get it nowStart Free TrialStart Free Trial
CostFREEGo to the pricing pageGo to the pricing page
Simultaneous connectionsup to 20 maximumAs in chosen pricing planAs in chosen pricing plan
Number of usersup to 20 recommendedAs in chosen pricing planAs in chosen pricing plan
Clusterization-++
LicenseGNU AGPL v.3ProprietaryProprietary
SupportCommunity EditionEnterprise EditionDeveloper Edition
DocumentationHelp CenterHelp CenterHelp Center
Standard supportGitHub or paidOne year support includedOne year support included
Premium supportContact UsContact UsContact Us
ServicesCommunity EditionEnterprise EditionDeveloper Edition
Conversion Service+++
Document Builder Service+++
InterfaceCommunity EditionEnterprise EditionDeveloper Edition
Tabbed interface+++
Dark theme+++
125%, 150%, 175%, 200% scaling+++
White label--+
Integrated test example (node.js)+++
Mobile web editors-+**+**
Plugins & MacrosCommunity EditionEnterprise EditionDeveloper Edition
Plugins+++
Macros+++
Collaborative capabilitiesCommunity EditionEnterprise EditionDeveloper Edition
Two co-editing modes+++
Comments+++
Built-in chat+++
Review and tracking changes+++
Display modes of tracking changes+++
Version history+++
Document Editor featuresCommunity EditionEnterprise EditionDeveloper Edition
Font and paragraph formatting+++
Object insertion+++
Adding Content control+++
Editing Content control+++
Layout tools+++
Table of contents+++
Navigation panel+++
Mail Merge+++
Comparing Documents+++
Spreadsheet Editor featuresCommunity EditionEnterprise EditionDeveloper Edition
Font and paragraph formatting+++
Object insertion+++
Functions, formulas, equations+++
Table templates+++
Pivot tables+++
Data validation+++
Conditional formatting+++
Sparklines+++
Sheet Views+++
Presentation Editor featuresCommunity EditionEnterprise EditionDeveloper Edition
Font and paragraph formatting+++
Object insertion+++
Transitions+++
Animations+++
Presenter mode+++
Notes+++
Form creator featuresCommunity EditionEnterprise EditionDeveloper Edition
Adding form fields+++
Form preview+++
Saving as PDF+++
Working with PDFCommunity EditionEnterprise EditionDeveloper Edition
Text annotations (highlight, underline, cross out)+++
Comments+++
Freehand drawings+++
Form filling+++
Security featuresCommunity EditionEnterprise EditionDeveloper Edition
End-to-end encryption via Private Rooms***++-
Get it nowStart Free TrialStart Free Trial

** If supported by DMS
*** End-to-end encryption via Private Rooms requires ONLYOFFICE Workspace

How to Install on a local server

The easiest way to install ONLYOFFICE Docs is to use the Docker image (the official source code)

How to Build

Instructions for building ONLYOFFICE Docs for a local server from source code are in our helpcenter.

License

ONLYOFFICE Docs is licensed under the GNU Affero Public License, version 3.0. See LICENSE for more information.

User Feedback and Support

If you have any problems with or questions about ONLYOFFICE Docs, please visit our official forum to find answers to your questions: forum.onlyoffice.com or you can ask and answer ONLYOFFICE development questions on Stack Overflow.