SwellRT
Original author(s) | Pablo Ojanguren & others, from the GRASIA research group, at Universidad Complutense de Madrid |
---|---|
Developer(s) | Pablo Ojanguren & others |
Initial release | July 1, 2015 |
Stable release | 0.2.0-beta
/ September 30, 2017 |
Repository | github |
Written in | Java, JavaScript |
Operating system | Cross-platform |
Type | Web framework Backend as a service |
License | Apache License |
Website | swellrt |
SwellRT was a free and open-source backend-as-a-service and API focused to ease development of apps featuring real-time collaboration. It supported the building of mobile and web apps, and aims to facilitate interoperability and federation.
History
Origins
SwellRT has its origins in the work done within the GRASIA research team at the Universidad Complutense de Madrid, as part of the EU-funded project P2Pvalue (2013–2016), in a team led by Samer Hassan.[1] In 2014, the developer Pablo Ojanguren took the lead in forking Apache Wave, dropping several components, re-engineering it, and building a "Wave API" to build applications on top.[2] In 2015, such Wave API became a standalone product named SwellRT.[3][4]
Impact on Apache Wave project
In 2016, several discussions took place within the Apache Wave community, aiming to tackle the stagnation and crisis state of the project. The Apache Software Foundation mentor of Apache Wave, Upayavira,[5] was concerned on the project stagnation, but framed SwellRT as Wave's potential savior:
Once more Wave is on the brink of retirement. However, this time, an offer has been made of code from SwellRT, which is a fork of Wave itself, and a concall has been scheduled for interested parties to discuss whether it is a go-er. It is my (limited) understanding that many of the complexity issues in the Wave code that have prevented community development have been resolved in SwellRT.[6]
Eventually, Wave was approved to continue within Apache incubator program, and a copy of SwellRT codebase was placed in the Apache Wave repository in order to grant the Wave community access to it.[7] In this regard, Intellectual Property of SwellRT was transferred to the Apache Foundation in 2017.[8]
Recognition
In both 2016[9][10] and 2017,[11][12] SwellRT participated in the Google Summer of Code as part of the set of projects from the Berkman Klein Center for Internet and Society at Harvard University. In both years, the contributions were highly relevant. In 2016, SwellRT replaced its XMPP-based federation protocol (inherited from Apache Wave) for the Matrix.org federation protocol.[13] In 2017, end-to-end encryption was implemented,[14][15] following an innovative approach to encrypt communication in Operational Transformation collaborative documents.[16]
SwellRT received international recognition within the fields of decentralized technologies[17][18][19][20][21][22][23] and real-time collaboration.[24][25][26][27][28][29] In the Decentralized Web Summit, organized by the Internet Archive in San Francisco, it was selected as one of the current innovative decentralization technologies.[30] It was also selected by the Redecentralize advocacy group, as one of the redecentralization projects whose founders were interviewed,[31][32] It launched an international contest to develop apps using SwellRT,[33] which was awarded to free/open source developers in India.[34] And the project was presented as invited talk in the Center for Research on Computation and Society at Harvard's School of Engineering and Applied Sciences,[35][36] and in several international conferences.[37][38][39][40][41] SwellRT was one of the first adopters of the Contributor Covenant code of conduct.[42]
The project has not received new commits since 2018.[43]
Technical approach
SwellRT was a fork from Apache Wave, inheriting some of its architecture and technology stack. However, it grew beyond the limits of Wave, first presenting itself as a web framework and nowadays growing to a backend-as-a-service platform.[44][45] Its technical approach covers the following:
- It is fully free/open source software.
- It is developed in Java. GWT with JSInterop is used to generate JavaScript API reusing the same source code. Android client is also built from the same Java sources.
- It provides an extensible and pluggable rich-text editor component for Web (only) supporting custom annotations and widgets.
- Real-time data storage is based on Wave's Operational Transformations model, thus it is eventually consistent.
- It is designed to maximize interoperability, and follows a federation approach similar to Apache Wave, using XMPP or Matrix.org communication protocol. It aims to support the creation of apps that are federated, i.e. rely on multiple interoperable servers, and objects shared across servers. This allows organizations to control their own data.
Collaborative objects
SwellRT provides a programming model based on collaborative objects. A collaborative object is a JSON-like object that can be shared by some users (or groups) that can make changes in real-time. Changes are propagated (and notified) in real-time to any user connected to the object.
A collaborative object can store properties of simple data types (string, integers, etc.) as well as rich-text and references to files or attachments. This approach is suitable to implement any document based collaborative application like text editors or spreadsheets.
Objects and participants are uniquely identified on the Internet, enabling decentralized access from different federated servers.
Main features
- Real-time storage (NoSQL)
- User management
- Event based integration
- Federation (XMPP or Matrix.org)
Applications using SwellRT
SwellRT facilitated the development of mobile/web apps, and thus several apps have been built using this technology. Apart from the demos provided by SwellRT,[46] third-parties developed other demo apps, such as a Q&A site,[47] an extension to extract keywords,[48] a collaborative scrollbar,[49] a political participation Android app,[50] a Trello-SwellRT connector.[51] Besides, two fully-fledged apps are currently using SwellRT technology:
- JetPad, a GoogleDoc-like collaborative editor, free/open source and federated [52][53][54]
- Teem, a free/open source web/mobile app for the management of communities and collectives[55][56][57]
See also
- Apache Wave
- Real-time text
- Collaborative real-time editor
- Operational transformation
- Federated social network
References
- ^ "European Commission : CORDIS : News and Events : A substantial boost for easily and safely producing new online apps". cordis.europa.eu. Archived from the original on 2017-11-07. Retrieved 2017-10-28.
- ^ Ojanguren-Menendez, Pablo; Tenorio-Fornés, Antonio; Hassan, Samer (2015). Distributed Computing and Artificial Intelligence, 12th International Conference. Advances in Intelligent Systems and Computing. Springer, Cham. pp. 269–276. doi:10.1007/978-3-319-19638-1_31. ISBN 9783319196374.
- ^ "Barrapunto | SwellRT: el primer framework libre para apps colaborativas y descentralizadas". softlibre.barrapunto.com. Retrieved 2017-10-28.
- ^ swellrt: SwellRT, open source framework for real-time collaboration, P2Pvalue, 2017-10-20, retrieved 2017-10-28
- ^ "Wave Incubation Status - Apache Incubator". incubator.apache.org. Retrieved 2017-10-28.
- ^ "September2016 - Incubator Wiki". wiki.apache.org. Retrieved 2017-10-28.
- ^ "December2016 - Incubator Wiki". wiki.apache.org. Retrieved 2017-10-28.
- ^ "March2017 - Incubator Wiki". wiki.apache.org. Retrieved 2017-10-28.
- ^ "Special Announcement: P2Pvalue and Google Summer of Code 2016". P2Pvalue blog. 2016-04-17. Retrieved 2017-10-28.
- ^ "Berkman Klein Google Summer of Code Wiki". cyber.harvard.edu. Retrieved 2017-10-28.
- ^ "International students team up with Berkman Klein mentors to learn open source development | Network of Centers". networkofcenters.net. Retrieved 2017-10-28.
- ^ "Berkman Klein Google Summer of Code Wiki". cyber.harvard.edu. Retrieved 2017-10-28.
- ^ "Wave Federation protocol over the Matrix Protocol - 2016 - Google Summer of Code Archive". summerofcode.withgoogle.com. Retrieved 2017-10-28.
- ^ "SwellRT/Wave E2E Encryption: Overview – Geeks". blogs.harvard.edu. Retrieved 2017-10-28.
- ^ "End-to-end encryption in SwellRT - 2017 - Google Summer of Code Archive". summerofcode.withgoogle.com. Retrieved 2017-10-28.
- ^ Clear, Michael; Reid, Karl; Ennis, Desmond; Hughes, Arthur; Tewari, Hitesh (2012-09-19). "Collaboration-Preserving Authenticated Encryption for Operational Transformation Systems". Information Security. Lecture Notes in Computer Science. Vol. 7483. Springer, Berlin, Heidelberg. pp. 204–223. doi:10.1007/978-3-642-33383-5_13. hdl:2262/68179. ISBN 9783642333828.
- ^ Ermoshina, Ksenia; Musiani, Francesca; Halpin, Harry (2016-09-12). "End-to-End Encrypted Messaging Protocols: An Overview". Internet Science (PDF). Lecture Notes in Computer Science. Vol. 9934. Springer, Cham. pp. 244–254. doi:10.1007/978-3-319-45982-0_22. ISBN 9783319459813. S2CID 19305678.
- ^ "SwellRT : un cadre open source de développement d'applications Web collaboratives décentralisées". Programmez! (in French). 3 May 2017. Retrieved 2017-10-28.
- ^ "SwellRT : une technologie open source pour applications | OSS". www.opensourceschool.fr. Retrieved 2017-10-28.
- ^ "Barrapunto | SwellRT: el primer framework libre para apps colaborativas y descentralizadas". softlibre.barrapunto.com. Retrieved 2017-10-28.
- ^ "Crear en tiempo real aplicaciones descentralizadas | Catalunya Vanguardista". www.catalunyavanguardista.com (in European Spanish). 28 April 2017. Retrieved 2017-10-28.
- ^ "'How P2P Will Save The World', with Samer Hassan – STEAL THIS SHOW". stealthisshow.com. 6 April 2017. Retrieved 2017-10-28.
- ^ "An exciting list of the next-generation Decentralized world's projects/orgs that're abuzz :) • r/ethereum". reddit. 11 June 2016. Retrieved 2017-10-28.
- ^ Bianchi, Lucia; Liò, Pietro (2016). "Opportunities for community awareness platforms in personal genomics and bioinformatics education". Briefings in Bioinformatics. 18 (6): 1082–1090. doi:10.1093/bib/bbw078. PMID 27580620. S2CID 23805520.
- ^ Ojanguren-Menendez, Pablo; Tenorio-Fornés, Antonio; Hassan, Samer (2015). "Building Real-Time Collaborative Applications with a Federated Architecture". International Journal of Interactive Multimedia and Artificial Intelligence. 3 (Regular Issue): 47. doi:10.9781/ijimai.2015.356. ISSN 1989-1660.
- ^ "Real-time collaborative rich text editing". stackoverflow.com. Retrieved 2017-10-28.
- ^ "What is a good Framework for a realtime collaboration web app with several realtime documents per App Instance". softwarerecs.stackexchange.com. Retrieved 2017-10-28.
- ^ "Blogory.org Javascript Collaborative Rich Text Editors". blogory.org. Archived from the original on 2017-11-07. Retrieved 2017-10-28.
- ^ "Economies col·laboratives procomuns 03/11/2016/apunts - teixidora". www.teixidora.net (in Catalan). Retrieved 2017-10-28.
- ^ "Decentralized Web Summit: Locking the Web Open". decentralizedweb.net. Retrieved 2017-10-28.
- ^ Irving, Francis. "Interviews — Redecentralize.org". redecentralize.org. Retrieved 2017-10-28.
- ^ Irving, Francis. "#23: Pablo Ojanguren - SwellRT — Redecentralize.org". redecentralize.org. Retrieved 2017-10-28.
- ^ "SwellRT Free Software Contest - Enter by Sept. 18 | P2P Foundation". P2P Foundation. 2016-08-30. Retrieved 2017-10-28.
- ^ "VIT University". VIT University. Archived from the original on 2017-11-07. Retrieved 2017-10-28.
- ^ "SwellRT: Facilitating decentralized real-time collaboration". crcs.seas.harvard.edu. Retrieved 2017-10-28.
- ^ Harvard's CRCS (2016-10-06), CRCS Seminar 09/26, Samer Hassan: SwellRT: Facilitating Decentralized Real-Time Collaboration, retrieved 2017-10-28
- ^ "The Commons Collaborative Economy explodes in Barcelona - Commons Transition". Commons Transition. 2016-04-18. Retrieved 2017-10-28.
- ^ "Decentralised Apps - Redecentralize London April Meetup". Eventbrite. Retrieved 2017-10-28.
- ^ "2nd FLOSS4P2P Workshop". P2Pvalue blog. 2016-04-17. Retrieved 2017-10-28.
- ^ "Proyectos y herramientas para abrir la democracia « Ciudades Democráticas". ciudades-democraticas.cc (in European Spanish). Archived from the original on 2017-11-07. Retrieved 2017-10-28.
- ^ "#OGP16 Summit". en.ogpsummit.org. Retrieved 2017-10-28.[permanent dead link ]
- ^ "Contributor Covenant: Adopters". www.contributor-covenant.org. Retrieved 2018-05-26.
- ^ SwellRT, SwellRT, 2023-02-25, retrieved 2023-03-18
- ^ swellrt: SwellRT, open source framework for real-time collaboration, P2Pvalue, 2017-10-20, retrieved 2017-10-28
- ^ SwellRT wiki, P2Pvalue, 2017-10-20, retrieved 2017-10-28
- ^ "SwellRT Server". demo.swellrt.org. Retrieved 2017-10-28.
- ^ Juste, Abel Serrano (2016-09-22), upvote: Real-Time Collaborative Q&A. Find the best idea, retrieved 2017-10-28
- ^ teem-tag: A Python module for extracting relevant tags from text content in Teem, a P2PValue project., P2Pvalue, 2017-02-13, retrieved 2017-10-28
- ^ ThomasWrobel (2016-10-28), SwellRT_Example_CollaborativeScrollbar: A very simple example of a SwellRT client, retrieved 2017-10-28
- ^ Ramos Romero, Jaime; Bastarrica Lacalle, Javier (2015). DemoCritics: aplicación Android de participación política con edición colaborativa en tiempo real [DemoCritics: Android app for political participation with real-time collaborative edition] (Final project (Computer Science)). Madrid (Spain): Universidad Complutense de Madrid. Archived from the original on 2017-11-07. Retrieved 2017-10-29.
- ^ Shubham, Kumar (2017-08-18), teem-trello-webhook-server: The server which listens for changes in the Trello board model and simultaneously uodates them in the SwellRT object model, retrieved 2017-10-28
- ^ "European Commission : CORDIS : News and Events : A substantial boost for easily and safely producing new online apps". cordis.europa.eu. Archived from the original on 2017-11-07. Retrieved 2017-10-28.
- ^ "JetPad". jetpad.net. Retrieved 2017-10-28.
- ^ Haste, Rough (2017-04-23). "Notes on "How P2P Will Save the World"". RoughHaste. Retrieved 2017-10-28.
- ^ "Collaboration that doesn't give others a license to distribute your stuff". Horizon: the EU Research & Innovation magazine. Archived from the original on 2017-09-09. Retrieved 2017-10-28.
- ^ "Una app para involucrar a más gente en proyectos colaborativos - El salmón contracorriente". www.elsalmoncontracorriente.es (in Spanish). Retrieved 2017-10-28.
- ^ "Teem". Teem. Retrieved 2017-10-28.