Skip to main content

Static site generator for Claude Code Plugin Marketplace repositories

Project description

cc-plugin-catalog

PyPI Python License CI PyPI Downloads GitHub Stars GitHub Issues

Static site generator for Claude Code Plugin Marketplace repositories.

cc-plugin-catalog screenshot

Generate a beautiful, responsive catalog page from your marketplace's marketplace.json and plugin.json files — and deploy it to GitHub Pages with a single reusable workflow.

Features

  • Plugin catalog pages — Grid index page with plugin cards and individual detail pages
  • Component detection — Automatically scans and displays Skills, Commands, Agents, Hooks, MCP Servers, and LSP Servers
  • Search & filter — Incremental search with inline category, tag, and tool type filters
  • Markdown rendering — README and LICENSE files rendered as HTML
  • Dark / Light mode — Toggle with prefers-color-scheme detection and localStorage persistence
  • GitHub integration — Auto-links to source file trees, GitHub icon in header
  • Reusable workflow — One-line GitHub Actions setup for any marketplace repository

Quick Start

Preview a marketplace locally

No installation required — just use uvx:

uvx cc-plugin-catalog preview /path/to/marketplace-repo

Open http://localhost:8000/ in your browser. Press Ctrl+C to stop.

# Custom port and output directory
uvx cc-plugin-catalog preview /path/to/marketplace-repo -p 3000 -o _site

Build static files

uvx cc-plugin-catalog build /path/to/marketplace-repo -o _site

This generates a fully static site in _site/ that can be deployed anywhere.

Deploy to GitHub Pages

Add a single workflow file to your marketplace repository to automatically build and deploy the catalog site on every push.

1. Enable GitHub Pages

Go to your marketplace repository's Settings > Pages and set the source to GitHub Actions.

2. Add the workflow

Create .github/workflows/deploy-catalog.yml:

name: Deploy Plugin Catalog

on:
  push:
    branches: [main]

permissions:
  pages: write
  id-token: write

jobs:
  deploy:
    uses: giginet/cc-plugin-catalog/.github/workflows/build-pages.yml@v1

That's it! Every push to main will build your catalog and deploy it to GitHub Pages.

Workflow inputs

Input Default Description
catalog-version "" (latest) cc-plugin-catalog version to install
output-dir "_site" Output directory for generated files
jobs:
  deploy:
    uses: giginet/cc-plugin-catalog/.github/workflows/build-pages.yml@v1
    with:
      catalog-version: "0.0.1"
      output-dir: "dist"

CLI Reference

Usage: cc-plugin-catalog [OPTIONS] COMMAND [ARGS]...

Commands:
  build    Build a static site from a Plugin Marketplace repository.
  preview  Build and serve the site locally with live preview.

build

cc-plugin-catalog build <REPO_PATH> [-o OUTPUT]
Option Default Description
-o, --output _site Output directory

preview

cc-plugin-catalog preview <REPO_PATH> [-o OUTPUT] [-p PORT] [--host HOST]
Option Default Description
-o, --output _site Output directory
-p, --port 8000 Port to serve on
--host localhost Host to bind to

Supported Plugin Components

cc-plugin-catalog detects and displays the following component types from plugin directories:

Component Source Detected From
Skills skills/*/SKILL.md Folder name, YAML frontmatter
Commands commands/*.md Filename, YAML frontmatter
Agents agents/*.md YAML frontmatter (name, description, model)
Hooks hooks/hooks.json Event names, matchers
MCP Servers .mcp.json Server names, commands
LSP Servers .lsp.json Language names, commands

Development

git clone https://github.com/giginet/cc-plugin-catalog.git
cd cc-plugin-catalog
uv sync --dev

Run tests

uv run pytest tests/ -v

Lint & format

uv run ruff check src/ tests/
uv run ruff format src/ tests/

Type check

uv run ty check src/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cc_plugin_catalog-0.0.1.tar.gz (536.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cc_plugin_catalog-0.0.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file cc_plugin_catalog-0.0.1.tar.gz.

File metadata

  • Download URL: cc_plugin_catalog-0.0.1.tar.gz
  • Upload date:
  • Size: 536.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cc_plugin_catalog-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2578932f451888eec15fc2d133f60655a0209853a4e058df9603d3e22e4c4c28
MD5 3c1c83cb14ce38ac258e5e3003f3fb51
BLAKE2b-256 1c43fbb30c553b0cd157422ec3d02819a7f2e44a038eb7526687358f625b958c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_plugin_catalog-0.0.1.tar.gz:

Publisher: publish.yml on giginet/cc-plugin-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cc_plugin_catalog-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cc_plugin_catalog-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 762feaffb3694493e58b88762708699452d0479b33e84340ec2d2c5d0b7e159e
MD5 d3ecabc98bdd87181102353ede78e00c
BLAKE2b-256 c00997dfe653fe2a0cdb2f96ad7873ac3aea82a26455d193b26d6627803620cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_plugin_catalog-0.0.1-py3-none-any.whl:

Publisher: publish.yml on giginet/cc-plugin-catalog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page