About
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..
0:00:00 Slide 1
0:00:54 Slide 2
0:01:48 Slide 3
0:02:42 Slide 4
0:03:36 Slide 5
0:04:30 Slide 6
0:05:24 Slide 7
0:06:18 Slide 8
0:07:12 Slide 9
The talk
Credits and licence
- Institution
- CERN
- Department
- HEP Computing
- Speaker
- Giuseppe Lo Presti
- Year
- 2021
- Language
- English
- Subjects
- Computer science
- Source
- CERN
- Licence
- CERN, as CERN states it. CERN's terms
- Attribution
- © CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
- Who can watch
- CERN gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed