SkillAgentSearch skills...

Composter

Personalised React Components Vault

Install / Use

/learn @binit2-1/Composter
About this skill

Quality Score

0/100

Supported Platforms

Claude Code
Cursor

README

<p align="center"> <img src="frontend/public/composter_logo.png" alt="Composter Logo" width="120" height="120"> </p> <h1 align="center">Composter</h1> <p align="center"> <strong>Your Personal Vault for React Components</strong> </p> <p align="center"> Upload, organize, and retrieve your components instantly with CLI, Dashboard, and MCP integration. </p> <p align="center"> <a href="https://github.com/binit2-1/Composter/blob/main/LICENSE"> <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License"> </a> <a href="https://www.npmjs.com/package/composter-cli"> <img src="https://img.shields.io/npm/v/composter-cli.svg" alt="npm version"> </a> <a href="https://github.com/binit2-1/Composter/actions"> <img src="https://img.shields.io/github/actions/workflow/status/binit2-1/Composter/ci.yml?branch=main" alt="CI Status"> </a> <a href="https://github.com/binit2-1/Composter/issues"> <img src="https://img.shields.io/github/issues/binit2-1/Composter.svg" alt="Issues"> </a> <a href="https://github.com/binit2-1/Composter/stargazers"> <img src="https://img.shields.io/github/stars/binit2-1/Composter.svg?style=social" alt="GitHub stars"> </a> </p>

Composter Landing Page

✨ Features

-- 🗃️ Component Vault — Store and organize your React components in categories

  • ⚡ CLI Tool — Push, pull, and manage components directly from your terminal
  • 🎨 Web Dashboard — Visual interface to browse, preview, and manage your library
  • 🔌 MCP Compatible — Works with Claude, Cursor, GitHub Copilot, and other AI assistants
  • 🔐 Secure Auth — Better Auth integration with JWT-based authentication
  • 📦 Live Preview — Sandpack-powered component previews with Tailwind CSS support
  • 📋 One-Click Copy — Copy component code or CLI commands instantly

🔗 Links

🚀 Quick Start

For Users (No Setup Required)

  1. Install the CLI:
npm install -g composter-cli
  1. Login and start using:

    composter login
    composter mkcat my-category
    composter push my-category "MyComponent" ./component.jsx
    
  2. Access the web dashboard:

For Contributors

Want to contribute or run locally? See CONTRIBUTING.md for full setup instructions. Short setup:

# Install dependencies at repo root (monorepo)
npm install

# Start API
cd apps/api && npm run dev

# Start Web
cd ../web && npm run dev

Run the whole monorepo (recommended)

This repository uses Turbo (turborepo) to orchestrate apps and packages. From the repository root you can run the full development environment with one command.

# From repo root
npm install         # if you haven't already
npm run dev         # runs `turbo dev` which starts services in parallel

Turbo will run the dev scripts defined in each workspace (for example apps/api, apps/web, cli, mcp). If you need to run only a subset, use Turbo filtering:

# Run only API and Web
npx turbo dev --filter=apps/api... --filter=apps/web...

# Run only the web app
npx turbo dev --filter=apps/web

Environment variables

  • Create per-service .env files (for example apps/api/.env and apps/web/.env), or set them in your shell.
  • For local development the important vars are DATABASE_URL, BETTER_AUTH_SECRET, BETTER_AUTH_URL, and CLIENT_URL.

Example apps/api/.env:

DATABASE_URL="postgresql://user:password@localhost:5432/composter"
BETTER_AUTH_SECRET="your_secret_here"
BETTER_AUTH_URL="http://localhost:3000"
CLIENT_URL="http://localhost:5173"

Notes

  • If you change ports or hostnames, update CLIENT_URL and VITE_API_BASE_URL in apps/web/.env or apps/web/.env.production.
  • To build everything for production use npm run build from the repo root (runs turbo build).

📖 Usage

CLI Commands

# Login to your account
composter login

# Create a category
composter mkcat buttons

# List all categories
composter ls

# Push a component
composter push buttons "PrimaryButton" ./src/components/Button.jsx

# Pull a component
composter pull buttons "PrimaryButton" ./components/

CLI Usage

Web Dashboard

Access the dashboard at composter.vercel.app

Dashboard

Dashboard Features

  • Browse Components — View all saved components organized by category
  • Live Preview — See components rendered in real-time
  • Code View — Inspect source code with syntax highlighting
  • Copy Commands — One-click copy for npm install and CLI commands

Component Detail

🤖 MCP Integration

Composter includes a Model Context Protocol (MCP) server that enables AI assistants to interact with your component vault.

Supported AI Tools

| Tool | Status | |------|--------| | Claude Desktop | ✅ Supported | | Cursor | ✅ Supported | | GitHub Copilot | ✅ Supported | | VS Code + MCP Extensions | ✅ Supported | | Windsurf | ✅ Supported |

Setup

  1. Login via CLI first:

    composter login
    
  2. Auto-Configure (Recommended):

    # For Claude Desktop
    npx composter-mcp init claude
    
    # For Cursor
    npx composter-mcp init cursor
    
    # For VS Code (Copilot)
    npx composter-mcp init vscode
    
    # For Windsurf
    npx composter-mcp init windsurf
    
  3. Restart your AI assistant

Manual Configuration

If you prefer manual setup, add to your IDE's MCP config file:

{
  "mcpServers": {
    "composter": {
      "command": "npx",
      "args": ["composter-mcp"]
    }
  }
}

Config file locations:

  • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Desktop (Linux): ~/.config/claude/claude_desktop_config.json
  • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
  • Cursor: .cursor/mcp.json (in project root)
  • VS Code: .vscode/mcp.json (in project root)
  • Windsurf: ~/.codeium/windsurf/mcp_config.json

MCP Tools

| Tool | Description | |------|-------------| | search_components | Search components by name or category | | list_categories | List all categories in your vault | | list_components | List all components in a category | | read_component | Read the full source code of a component |

For detailed MCP documentation, see mcp/README.md.

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for detailed setup instructions, development guidelines, and how to submit pull requests.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

🌟 Community

Contributors

Thanks to all our contributors! 🎉

Contributors

<a href="https://github.com/binit2-1/Composter/graphs/contributors"> <img src="https://contrib.rocks/image?repo=binit2-1/Composter&max=1000&anon=1" alt="Contributors" /> </a>
View on GitHub
GitHub Stars14
CategoryDevelopment
Updated1mo ago
Forks14

Languages

JavaScript

Security Score

95/100

Audited on Feb 28, 2026

No findings