MCPcopy Index your code
hub / github.com/R44VC0RP/opencode.cafe

github.com/R44VC0RP/opencode.cafe @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
146 symbols 373 edges 61 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

opencode.cafe

A community marketplace for OpenCode extensions and plugins. Browse, discover, and share MCP servers, slash commands, hooks, themes, and more.

Live at opencode.cafe

Features

  • Browse and search OpenCode extensions
  • Submit your own extensions for review
  • Discussion threads with comments and likes
  • User accounts with Clerk authentication
  • Admin moderation dashboard
  • Email notifications for submissions and comments

Tech Stack

Getting Started

Prerequisites

Installation

# Clone the repository
git clone https://github.com/R44VC0RP/opencode.cafe.git
cd opencode.cafe

# Install dependencies
bun install

# Set up environment variables
cp .env.example .env.local
# Fill in your Convex and Clerk credentials

# Start the development server
bun run dev

Open http://localhost:3000 to view the site.

Environment Variables

# Convex
CONVEX_DEPLOYMENT=your-deployment
NEXT_PUBLIC_CONVEX_URL=https://your-deployment.convex.cloud

# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_...
CLERK_SECRET_KEY=sk_...
CLERK_JWT_ISSUER_DOMAIN=https://your-clerk-domain

# Email (optional)
INBOUND_API_KEY=your-api-key

Project Structure

app/
  page.tsx              # Homepage (extension marketplace)
  search/               # Extension search page
  plugin/[productId]/   # Extension detail page with discussions
  submit/               # Extension submission form
  account/              # User account & submissions
  admin/                # Admin moderation dashboard
  design-system/        # Design system demo page

components/
  ui/                   # shadcn/ui components (customized)
  comments/             # Comment/discussion components
  header.tsx            # Site header

convex/
  schema.ts             # Database schema
  extensions.ts         # Extension CRUD operations
  comments.ts           # Comment/discussion operations
  admin.ts              # Admin operations
  email.ts              # Email sending actions

emails/                 # React Email templates
lib/                    # Utilities and constants

Design System

This project uses the OpenCode design system - a monospace-first, minimal design system inspired by terminal aesthetics.

Key features: - Monospace typography (JetBrains Mono) - Warm neutral color palette - Yellow-green accent (hsl(62, 84%, 88%)) for interactive elements - System-aware dark mode

Disclaimer

This is a community project and is not affiliated with, endorsed by, or sponsored by OpenCode or SST.

Visit /design-system to see all components in action. See AGENTS.md for detailed design system documentation.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

License

MIT

Extension points exported contracts — how you extend this code

CommentFormProps (Interface)
(no doc)
components/comments/comment-form.tsx
NewSubmissionProps (Interface)
(no doc)
emails/NewSubmission.tsx
ExtensionRejectedProps (Interface)
(no doc)
emails/ExtensionRejected.tsx
NewCommentProps (Interface)
(no doc)
emails/NewComment.tsx
ExtensionApprovedProps (Interface)
(no doc)
emails/ExtensionApproved.tsx
FormData (Interface)
(no doc)
app/submit/page.tsx
ExtensionInput (Interface)
(no doc)
app/admin/import/page.tsx
ParsedExtension (Interface)
(no doc)
scripts/import-awesome-list.ts

Core symbols most depended-on inside this repo

cn
called by 47
lib/utils.ts
checkIsAdmin
called by 9
convex/admin.ts
updateField
called by 8
app/submit/page.tsx
updateField
called by 6
app/submit/[productId]/edit/page.tsx
parseAndApplyJson
called by 2
app/submit/page.tsx
parseJson
called by 2
app/admin/import/page.tsx
NewSubmission
called by 1
emails/NewSubmission.tsx
ExtensionRejected
called by 1
emails/ExtensionRejected.tsx

Shape

Function 131
Interface 15

Languages

TypeScript100%

Modules by API surface

components/ui/dropdown-menu.tsx15 symbols
components/ui/select.tsx10 symbols
components/ui/dialog.tsx10 symbols
app/submit/page.tsx10 symbols
scripts/import-awesome-list.ts8 symbols
components/ui/card.tsx7 symbols
app/admin/import/page.tsx7 symbols
app/submit/[productId]/edit/page.tsx6 symbols
components/comments/comment-card.tsx5 symbols
app/search/page.tsx5 symbols
components/ui/tabs.tsx4 symbols
components/ui/accordion.tsx4 symbols

For agents

$ claude mcp add opencode.cafe \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact