Plugins is a Nim package that provides a shared library based plugin system
Detailed documentation here.
Installation
Plugins can be installed via Nimble:
nimble install https://github.com/genotrance/plugins
This will download and install plugins
in the standard Nimble package location, typically ~/.nimble
. Once installed, it can be imported into any Nim program.
Usage
Detailed module documentation is available here. The plugins module should be used in the main application and the api module should be used in each plugin.
See the tests
directory for an example of a main application and plugins.
Feedback
Plugins is a work in progress and any feedback or suggestions are welcome. It is hosted on GitHub with an MIT license so issues, forks and PRs are most appreciated.