Template Marketplace

Discover, install, and manage community templates for rapid development

The Bootspring Template Marketplace provides pre-built templates for common patterns, features, and integrations that you can install in seconds.

Overview#

Templates are packaged code patterns that include:

  • File structures - Organized source files
  • Dependencies - Required npm packages
  • Configuration - Pre-configured settings
  • Documentation - Usage instructions

Template Categories#

CategoryDescription
StartersComplete project starter templates
ComponentsReusable UI components
FeaturesFeature modules (auth, payments, etc.)
WorkflowsCustom workflow definitions
AgentsCustom agent profiles
SkillsCode generation skills
IntegrationsThird-party service integrations

Official Templates#

Starters#

TemplateDescriptionStack
saas-starterComplete SaaS with auth, payments, dashboardNext.js, Prisma, Stripe, Clerk
api-starterREST API with auth and docsExpress, Prisma, Swagger

Features#

TemplateDescriptionStack
auth-clerkClerk authentication integrationNext.js, Clerk
payments-stripeStripe subscriptions and webhooksNext.js, Stripe
ai-chatClaude-powered chat interfaceNext.js, Anthropic SDK

Using the Marketplace#

Browse Templates#

1# List all templates 2bootspring marketplace list 3 4# Filter by category 5bootspring marketplace list --category features 6 7# Search templates 8bootspring marketplace search "authentication"

View Template Details#

1bootspring marketplace info auth-clerk 2 3# Output: 4# Template: auth-clerk 5# Name: Clerk Authentication 6# Category: feature 7# Version: 1.0.0 8# Author: bootspring (official) 9# 10# Description: 11# Complete Clerk auth integration with protected routes 12# 13# Files: 14# - src/middleware.ts 15# - src/app/sign-in/* 16# - src/app/sign-up/* 17# - src/components/auth/* 18# 19# Dependencies: 20# - @clerk/nextjs: ^4.0.0

Install Templates#

1# Install a template 2bootspring marketplace install auth-clerk 3 4# Install with force (overwrite existing) 5bootspring marketplace install auth-clerk --force 6 7# Check installation status 8bootspring marketplace installed

Update Templates#

1# Check for updates 2bootspring marketplace check-updates 3 4# Update a specific template 5bootspring marketplace update auth-clerk 6 7# Update all templates 8bootspring marketplace update-all

Uninstall Templates#

bootspring marketplace uninstall auth-clerk

API Usage#

1const marketplace = require('bootspring/marketplace'); 2 3// List all templates 4const templates = marketplace.listTemplates(); 5 6// Search templates 7const results = marketplace.searchTemplates('authentication'); 8 9// Get template details 10const template = marketplace.getTemplate('auth-clerk'); 11 12// Install template 13const result = marketplace.installTemplate('auth-clerk'); 14// { success: true, files: 4, dependencies: 1 } 15 16// Check if installed 17const isInstalled = marketplace.isInstalled('auth-clerk'); 18 19// List installed templates 20const installed = marketplace.listInstalled(); 21 22// Check for updates 23const updates = marketplace.checkUpdates(); 24 25// Uninstall template 26marketplace.uninstallTemplate('auth-clerk'); 27 28// Get marketplace stats 29const stats = marketplace.getStats(); 30// { totalTemplates: 15, officialTemplates: 5, installedTemplates: 2 }

Template Structure#

What's in a Template#

template/ ├── template.json # Template metadata ├── files/ # Source files to install │ ├── src/ │ │ ├── components/ │ │ └── lib/ │ └── prisma/ ├── dependencies.json # Required npm packages └── README.md # Usage instructions

Template Metadata#

1{ 2 "id": "auth-clerk", 3 "name": "Clerk Authentication", 4 "description": "Complete Clerk auth integration", 5 "category": "feature", 6 "version": "1.0.0", 7 "author": "bootspring", 8 "official": true, 9 "tags": ["auth", "clerk", "sso"], 10 "stack": ["nextjs", "clerk"], 11 "files": ["src/middleware.ts", "src/app/sign-in/*"], 12 "dependencies": { 13 "@clerk/nextjs": "^4.0.0" 14 } 15}

Publishing Templates#

Validate Before Publishing#

# Validate template structure bootspring marketplace validate ./my-template # Dry-run publish bootspring marketplace publish ./my-template --dry-run

Publish (Coming Soon)#

# Publish to marketplace (requires authentication) bootspring marketplace publish ./my-template

Template Requirements#

  1. Unique ID - Lowercase with hyphens
  2. Clear description - What it does and when to use it
  3. Valid category - Must be a known category
  4. Version number - Semantic versioning
  5. Working files - All referenced files must exist

Best Practices#

When Installing Templates#

  1. Review the files - Understand what will be installed
  2. Check dependencies - Ensure compatibility with your project
  3. Back up first - Especially when using --force
  4. Read the README - Templates often have setup instructions

When Creating Templates#

  1. Keep it focused - One feature per template
  2. Document everything - Include clear usage instructions
  3. Test thoroughly - Ensure it works in fresh projects
  4. Use consistent naming - Follow existing conventions

Marketplace Statistics#

View current marketplace stats:

1bootspring marketplace stats 2 3# Output: 4# Template Marketplace Statistics 5# ───────────────────────────────── 6# Total Templates: 15 7# Official Templates: 5 8# Installed Templates: 2 9# 10# By Category: 11# starters: 2 12# features: 5 13# components: 4 14# integrations: 4