Add Val.town plugin configuration and initialization#134
Open
Toowiredd wants to merge 7 commits intolencx:mainfrom
Open
Add Val.town plugin configuration and initialization#134Toowiredd wants to merge 7 commits intolencx:mainfrom
Toowiredd wants to merge 7 commits intolencx:mainfrom
Conversation
* **nofwl.yml**: Add `valtown` entry under `plugins` section with `name`, `version`, `author`, `description`, `link`, and `url` fields. * **locales/en.yml**: Add entries for plugin categories, tags, dependencies, compatibility checks, and warnings in the settings panel. * **src/main.rs**: Add code to load and parse `nofwl.yml` file, initialize plugins based on configuration, and manage Val.town API endpoints. * **plugins/valtown/meta.yml**: Add metadata for Val.town plugin. * **plugins/valtown/main.js**: Add JavaScript code to connect to Val.town API endpoints and handle plugin-specific functionality. * **Cargo.toml**: Add `serde` and `serde_yaml` dependencies.
Add Val.town plugin configuration and initialization
* **Cargo.toml** - Add `tauri` and `tauri-plugin` dependencies * **src/main.rs** - Import `tauri` and `tauri-plugin` crates - Modify `main` function to build the Tauri application and initialize plugins * **nofwl.yml** - Add `plugin_management` section with plugin categories, tags, dependencies, compatibility, and warnings * **README.md** - Update `Features` section to include plugin management - Add `Plugin Management` section with instructions on how to manage plugins * **plugins/bing/meta.yml**, **plugins/chatgpt/meta.yml**, **plugins/valtown/meta.yml** - Add enhanced metadata fields: `dependencies`, `compatibility`, `update_url`, `changelog`, and `last_updated`
* Add new fields to `Plugin` struct: `dependencies`, `compatibility`, `update_url`, `changelog`, and `last_updated` * Implement `check_dependencies` function to verify plugin dependencies * Modify `initialize_plugins` function to check dependencies before initializing plugins
Add enhanced metadata fields and dependency checking for plugins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
valtownentry underpluginssection withname,version,author,description,link, andurlfields.nofwl.ymlfile, initialize plugins based on configuration, and manage Val.town API endpoints.serdeandserde_yamldependencies.