We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great to allow Rust developers to extend Norgolith’s core functionality through plugins (e.g., RSS generation, sitemaps).
The following would be a dummy example of a plugin function:
#[norgolith_plugin] fn rss_feed_generator(content: &str) -> Result<()> { // Generate RSS from `site.content` }
The plugins lifecycle would be the following:
cargo build --lib
./plugins
pre_build
post_build
As for the plugins APIs:
hyper v1
There must be some security and stability concerns too:
As for the CLI tooling:
lith plugin new # Scaffold plugins with example hooks. lith plugin install rss # Fetch from somewhere? lith plugin update rss # Update rss plugin. lith plugin uninstall rss # Remove rss plugin.
I'm still unsure about the whole implementation, if the plugins should be uploaded to crates.io and how they will work in such case.
Yes
No response
The text was updated successfully, but these errors were encountered:
Changed priority to low, I'm planning to use WASM instead of plain Rust dynamic libraries so I gotta learn WASM before I get my hands on it.
low
Sorry, something went wrong.
No branches or pull requests
Issues
Feature description
It would be great to allow Rust developers to extend Norgolith’s core functionality through plugins (e.g., RSS generation, sitemaps).
The following would be a dummy example of a plugin function:
The plugins lifecycle would be the following:
cargo build --lib
../plugins
directory at runtime.pre_build
orpost_build
could be ideal.As for the plugins APIs:
hyper v1
which natively supports middlewares).There must be some security and stability concerns too:
As for the CLI tooling:
I'm still unsure about the whole implementation, if the plugins should be uploaded to crates.io and how they will work in such case.
Help
Yes
Implementation help
No response
The text was updated successfully, but these errors were encountered: