Skip to content

Add Val.town plugin configuration and initialization #134

New issue

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Toowiredd
Copy link

  • 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.

* **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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant