Snippet Vault

外掛說明

Snippet Vault is a versatile plugin that not only manages PHP code snippets but also acts as a powerful bridge connecting WordPress, AI, and external digital platforms. It has three main features:

  • PHP Code Snippets Management
  • Automation via External Access
  • Integration with AI

Think out of the box, and let your creativity flow, because the possibilities are endless! 🤟

PHP Code Snippets Management

With its intuitive interface, Snippet Vault unlocks a world of possibilities by allowing you to dynamically modify and extend your site’s functionality without the need for extensive coding knowledge. Code snippets can be created and enhanced by AI, making the process even more efficient and user-friendly.

Automation via External Access

Snippet Vault offers seamless integration with the REST API, allowing you to execute runnable code snippets through external processes. This opens up a realm of automation opportunities, enabling you to streamline your tasks and save valuable time. By leveraging tools like Make.com, you can create sophisticated workflows that interact with your site via the REST API.

Integration with AI

Take your site to the next level with Snippet Vault’s cutting-edge AI Engine integration. This powerful feature allows you to collaborate seamlessly with AI models, enabling them to run actions and enrich their responses by accessing your code snippets. By incorporating actionable snippets, you can provide your AI models with the ability to perform tasks and deliver more comprehensive and dynamic answers to user queries.

螢幕擷圖

安裝方式

  1. Upload snippet-vault to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Nothing yet.

使用者評論

2024 年 4 月 21 日
Great feature that allows running with defined functions in a modularized way. Even chaining tool executions runs fine.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Snippet Vault〉的開發相關工作。

參與者

〈Snippet Vault〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Snippet Vault〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1.6 (2024/07/07)

  • Add: Scheduling via WP events.
  • Fix: Exclude disabled functions from functions list in the API.
  • Update: Disabled Safe Mode for frontend snippets.
  • Update: Various fixes and optimizations.

0.1.5 (2024/06/23)

  • Update: Lots of little UI improvements.
  • Fix: Escape value in sanitize function and correct import snippet primary key and tag validation.
  • Fix: Ensure arrays are displayed in test logs and sanitize functions when saving.

0.1.4 (2024/06/15)

  • Fix: If functions already exist, to avoid conflicts, the snippet will be disabled.
  • Update: Scopes are now Backend, Frontend, Function, Persistent, and Scheduled.
  • Update: Improved the styles.

0.1.3

  • Fix: Resolved issue with Common Dashboard visibility when only Snippet Vault is used.
  • Update: Enhanced UI with multiple component refactors and minor changes.
  • Fix: Improved API functionality with secure query args decoding and request body support.

0.1.2

  • Update: Disable Safe Mode for Admin (which is enabled by default).
  • Update: Improved flow with AI Engine.

0.1.1

  • Add: Import/Export Snippets & Settings.

0.1.0

  • Update: Implemented version control for database updates with optimized queries.
  • Update: Simplified database column declarations and improved compatibility by removing default values from ‘created’ and ‘updated’ fields.

0.0.9

  • Update: Many enhancements around error handling and UI.

0.0.8

  • Fix: Secondary way of checking the database if needed.
  • Fix: Automatically disable snippets if they trigger a fatal error.

0.0.7

  • Fix: Corrected UI behaviors including Test window size and wrapping, default tab selection in Edit modal, and default snippet name setting for Functions.
  • Update: Enhanced error handling in “Test” mode to display errors instead of throwing them.
  • Update: Eliminated “All” option from the Type Select dropdown.

0.0.6

  • Add: Settings for developers.
  • Fix: Minor issues.

0.0.5

  • Update: Arguments with no default value are automatically marked as required.

0.0.2

  • Info: Revamped release.

0.0.1

  • Info: Old release.