feat: implement multi-marketplace support for plugin distribution#11
Merged
feat: implement multi-marketplace support for plugin distribution#11
Conversation
Add support for loading plugins from multiple external marketplace sources with dynamic runtime fetching and server-side caching. Key changes: - Create marketplace-sources.json config for managing marketplace URLs - Implement /api/marketplaces endpoint with 5-minute cache - Add marketplace filtering UI with USelectMenu component - Support marketplace-specific installation commands - Use marketplace.json name field for plugin installation - Add marketplace badges to distinguish plugin sources - Remove dependency on Nuxt Content for marketplace data Technical details: - Server API uses defineCachedFunction for performance - Zod schemas for runtime validation - Support for both local and GitHub-sourced plugins - Graceful handling of individual marketplace failures - TypeScript types for multi-marketplace aggregation Installation format: - Marketplace: /plugin marketplace add org/repo - Plugin: /plugin install pluginName@marketplaceName
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Remove console.log statement from PluginCard - Remove unused MarketplaceData interface from index.vue - Import process from node:process in marketplaces API
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.
Summary
Implements multi-marketplace support allowing the web app to dynamically load and display plugins from multiple external marketplace sources (anthropics/claude-code and pleaseai/claude-code-plugins).
Changes
Core Implementation
/api/marketplaces.get.ts): Server-side data fetching with 5-minute caching usingdefineCachedFunctionapp/types/marketplace.ts): TypeScript interfaces for multi-marketplace data structuresserver/utils/marketplace-schema.ts): Zod schemas for runtime data validationUI Features
Technical Details
/plugin install pluginName@marketplaceNameTest Plan
Screenshots
(Add screenshots of marketplace filter and badges in action)