Running plugins within a web app
summary
Shows a 20-minute demo and code-level walkthrough of running third-party plugins inside the server using Node.js VM module and the custom Rocket.Chat Apps Engine. Explains architecture: apps run in sandboxed contexts, written in TypeScript, can import limited npm modules, and communicate via defined bridges. Covers setup, what was built, testing and deployment steps, and a clear warning that VM isolation is imperfect and can be escaped, so apps are reviewed before publishing. Good if wanting a practical sandboxed-plugin recipe.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:37Introduction
- 1:14What are external plugins and why do we need them?
- 4:13Ways to implement external plugins?
- 6:53How Rocket.Chat implemented the plugin system - Rocket.Chat Apps?
- 9:37What is the Rocket.Chat Apps Engine?
- 13:04What is Node Js VM module
- 17:36Downsides of using Node Js VM module
- 20:40Q&A
- 21:28Are there any other ways of implementing a plugin system?
- 22:35What are the other open-source alternatives for Rocket.Chat?
related talks
44mNode.js VM: Developing an External Plugin System Within Your Web App
39m"Spinning up Node in the Browser"
01h 42mEverything is a plugin! Mastering webpack from the inside out
44mNode & Express as Workflow Tools
37mMeteor - A Full Stack Framework For Building Pure JavaScript Apps
27mJavaScript Plugin Architecture for Single-Page Applications
49mFront Ends for Back End Developers
22mEverything's a plugin Understanding webpack from the inside out
