
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@rocket.chat/apps-engine
Advanced tools
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
The engine which manages and controls everything....more details coming soon.
TAPi18next.addResourceBundle(lang, projectName, translations);)extends keyword and can check implements via determing what methods existWhen developing new functionalities, you need to integrate the local version of the Apps-Engine with your local version of Rocket.Chat.
First of all, make sure you've compiled the changes you've made to the Apps-Engine, since that is what Rocket.Chat will execute:
npm run compile
Now, you need to setup a local Rocket.Chat server, so head to the project's README for instructions on getting started (if you haven't already). Make sure to actually clone the repo, since you will probably need to add some code to it in order to make your new functionality work.
After that, cd into Rocket.Chat folder and run:
meteor npm install PATH_TO_APPS_ENGINE
Where PATH_TO_APPS_ENGINE is the path to the Apps-Engine repo you've cloned.
That's it! Now when you start Rocket.Chat with the meteor command, it will use your local Apps-Engine instead of the one on NPM :)
Whenever you make changes to the engine, run npm run compile again - meteor will take care of restarting the server due to the changes.
Note: Sometimes, when you update the Apps-Engine code and compile it while Rocket.Chat is running, you might run on errors similar to these:
Unable to resolve some modules:
"@rocket.chat/apps-engine/definition/AppStatus" in
/Users/dev/rocket.chat/Rocket.Chat/app/apps/client/admin/helpers.js (web.browser)
If you notice problems related to these missing modules, consider running:
meteor npm install --save @rocket.chat/apps-engine
Simply restart the meteor process and it should be fixed.
src/server/storage/AppStoragesrc/server/storage/AppLogStoragesrc/server/bridges/*Makes great usage of TypeScript and decorators: https://github.com/alsatian-test/alsatian/wiki
npm run unit-testsnpm run check-coveragenpm run view-coverageHandlers are essentially "listeners" for different events, except there are various ways to handle an event.
When something happens there is pre and post handlers.
The set of pre handlers happens before the event is finalized.
The set of post handlers happens after the event is finalized.
With that said, the rule of thumb is that if you are going to modify, extend, or change the data backing the event then that should be done in the pre handlers. If you are simply wanting to listen for when something happens and not modify anything, then the post is the way to go.
The order in which they happen is:
Here is an explanation of what each of them means:
To update or generate the documentation, please commit your changes first and then in a second commit provide the updated documentation.
FAQs
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
The npm package @rocket.chat/apps-engine receives a total of 725 weekly downloads. As such, @rocket.chat/apps-engine popularity was classified as not popular.
We found that @rocket.chat/apps-engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.