Description
Currently, VulnWatcher is primarily designed to work with Discord. To extend its functionality and make it more versatile, a refactoring of the architecture is needed. The goal is to create a modular structure that allows easy addition of new notification platforms (email, webhooks, etc.) and integration of future features.
Objective
Modularize the code: Separate the different parts of the bot (vulnerability analysis, notifications, data storage, configuration downloading) into independent and reusable modules.
Tasks
-
core module :
-
download module :
-
notification module :
-
global configration :
-
documentation :
Description
Currently, VulnWatcher is primarily designed to work with Discord. To extend its functionality and make it more versatile, a refactoring of the architecture is needed. The goal is to create a modular structure that allows easy addition of new notification platforms (email, webhooks, etc.) and integration of future features.
Objective
Modularize the code: Separate the different parts of the bot (vulnerability analysis, notifications, data storage, configuration downloading) into independent and reusable modules.
Tasks
coremodule :src/core/vulnerabilityScanner.jsdownloadmodule :composer.lockandpackage-lock.json) tosrc/download/packageFileDownloader.jsconfigs/folder topackagesFiles/foldernotificationmodule :src/notification/discordNotifier.jsglobalconfigration :config.jsonandsent_vulns.jsontoconfig/folderdocumentation: