The Iframely plugin takes care of 95% of cases where you want to embed something, and there's a configuration you can make that gets you the embeds, without it counting toward your limit (if you use the cloud service). For uploaded videos, I use the ns-embed one with a custom rule
Where are plugins physically stored in relation to the base nodebb folder?
I'm trying to figure something out that requires me to know this.
@PitaJ Is there a place where installed plugins can be found? Some kind of file or dunno.
I'm working on a docker image for nodebb and this is something that could be very interesting: having a list of plugins stored somewhere that are automatically loaded when nodebb is fresh-installed.
@Telokis you could install them with
npm install --save nodebb-plugin-thingwhich would save them to
@PitaJ That's a solution but I wouldn't be able to do so from the admin panel.
And, moreover, are the settings stored somewhere physical?
I think a
plugins.jsonautomatically processed by nodebb on startup would be a nice alternative.
@Telokis sounds like an interesting feature. The activated plugins are stored in the database. You can list them with
./nodebb pluginsI think. If you want that feature, though, open an issue on GitHub. Thanks
That would allow us to have a "safer" way to store installed plugins. (I'm working in a Docker environment)
Maybe I'll add this feature myself in a pull request!
@PitaJ No need to submit a PR or so, this can be a plugin!
I noticed the
action:plugin.*hook which is fired on install/uninstall of a plugin! That's perfect for my needs, it allows me to monitor easily!
I can also use
Plugins.showInstalledto retrieve the list of plugins currently installed and save it directly on load!
And maybe parse the
package.jsonof each plugin to be able to install the exact version that was used.