Fluere is a powerful and versatile tool designed for network monitoring and analysis. It is capable of capturing network packets in pcap format and converting them into NetFlow data, providing a comprehensive view of network traffic. It also Provides Terminal User Interface.
This PR implements a plugin system for extended usage and diverse support in the Fluere project. The plugin system allows users to add custom functionality to the application by creating and loading plugins dynamically.
Summary of Changes
Added a scan_directory function in plugin/src/scanner.rs to scan a directory for available plugins.
Added a load_plugin function in plugin/src/loader.rs to dynamically load plugins into the application.
Added an execute_plugin function in plugin/src/scheduler.rs to execute the functionality of a plugin.
Modified src/main.rs to scan for plugins, load them, and execute their functionality.
Please review and merge this PR to enable the plugin system in Fluere.
Fixes #24.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/implement-plugin-system
π Latest improvements to Sweep:
Use Sweep Map to break large issues into smaller sub-issues, perfect for large tasks like "Sweep (map): migrate from React class components to function components"
Getting Sweep to format before committing! Check out Sweep Sandbox Configs to set it up.
We released a demo of our chunker, where you can find the corresponding blog and code.
π‘ To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR implements a plugin system for extended usage and diverse support in the Fluere project. The plugin system allows users to add custom functionality to the application by creating and loading plugins dynamically.
Summary of Changes
scan_directory
function inplugin/src/scanner.rs
to scan a directory for available plugins.load_plugin
function inplugin/src/loader.rs
to dynamically load plugins into the application.execute_plugin
function inplugin/src/scheduler.rs
to execute the functionality of a plugin.src/main.rs
to scan for plugins, load them, and execute their functionality.Please review and merge this PR to enable the plugin system in Fluere.
Fixes #24.
To checkout this PR branch, run the following command in your terminal:
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: