Cargando…

CodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editing

<!--HTML-->This contribution describes the integration of CodiMD, a popular markdown nodejs-based editor, in CERNBox. CodiMD is the open-sourced version of a cloud service run by HackMD.io. Designed to store users' content in a relational database and blobs in a filesystem-based or cloud...

Descripción completa

Detalles Bibliográficos
Autor principal: Lo Presti, Giuseppe
Lenguaje:eng
Publicado: 2021
Materias:
Acceso en línea:http://cds.cern.ch/record/2750469
_version_ 1780969104048390144
author Lo Presti, Giuseppe
author_facet Lo Presti, Giuseppe
author_sort Lo Presti, Giuseppe
collection CERN
description <!--HTML-->This contribution describes the integration of CodiMD, a popular markdown nodejs-based editor, in CERNBox. CodiMD is the open-sourced version of a cloud service run by HackMD.io. Designed to store users' content in a relational database and blobs in a filesystem-based or cloud (e.g. S3) storage, there is no provision for interfacing external storages. But thanks to its open REST API, it is straightforward to programmatically pull and push content to it: add a few tweaks and you get a fully fledged collaborative editor integrated in CERNBox. The integration work has been prototyped in the context of the ScienceMesh project, and it is now proposed to CERNBox users. A key aspect lies in the use of the WOPI protocol, which enables storing some arbitrary state within a WOPI lock. Despite locking can only be considered advisory in a sync-and-share context, in this case WOPI locks help designing a stateless integration, where no state is added to the CodiMD application, and a *WOPI Bridge* microservice fills the gap between CodiMD and WOPI.
id cern-2750469
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2021
record_format invenio
spelling cern-27504692022-11-02T22:26:04Zhttp://cds.cern.ch/record/2750469engLo Presti, GiuseppeCodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editingCS3 2021- Cloud Storage Synchronization and SharingHEP Computing<!--HTML-->This contribution describes the integration of CodiMD, a popular markdown nodejs-based editor, in CERNBox. CodiMD is the open-sourced version of a cloud service run by HackMD.io. Designed to store users' content in a relational database and blobs in a filesystem-based or cloud (e.g. S3) storage, there is no provision for interfacing external storages. But thanks to its open REST API, it is straightforward to programmatically pull and push content to it: add a few tweaks and you get a fully fledged collaborative editor integrated in CERNBox. The integration work has been prototyped in the context of the ScienceMesh project, and it is now proposed to CERNBox users. A key aspect lies in the use of the WOPI protocol, which enables storing some arbitrary state within a WOPI lock. Despite locking can only be considered advisory in a sync-and-share context, in this case WOPI locks help designing a stateless integration, where no state is added to the CodiMD application, and a *WOPI Bridge* microservice fills the gap between CodiMD and WOPI.oai:cds.cern.ch:27504692021
spellingShingle HEP Computing
Lo Presti, Giuseppe
CodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editing
title CodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editing
title_full CodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editing
title_fullStr CodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editing
title_full_unstemmed CodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editing
title_short CodiMD in CERNBox: leveraging the WOPI protocol to provide collaborative markdown editing
title_sort codimd in cernbox: leveraging the wopi protocol to provide collaborative markdown editing
topic HEP Computing
url http://cds.cern.ch/record/2750469
work_keys_str_mv AT loprestigiuseppe codimdincernboxleveragingthewopiprotocoltoprovidecollaborativemarkdownediting
AT loprestigiuseppe cs32021cloudstoragesynchronizationandsharing