convez.ai
PluginDesenvolvimento WebIntermediário
wunderlabs-dev

Claudebin

wunderlabs-dev/claudebin.com

Compartilhe sessões do Claude Code como links reutilizáveis

Ver no GitHub
BomPluginScore · de 0 a 100

Plugin para Claude Code que permite publicar e compartilhar sessões de coding com um único comando, gerando links reutilizáveis com histórico completo da conversa, syntax highlighting e chamadas de ferramentas. Ideal para colaboração em equipe e documentação de soluções desenvolvidas.

Instalação

$npx convez-ai wunderlabs-dev/claudebin.com

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
71
Forks
8
Acompanhando
0
Saúde
87%
Último commit
há 4 meses
Versão
—
Issues abertas
20
Contribuidores
5

Casos de uso

  • Compartilhar soluções de código com time
  • Documentar processos de debugging e problem-solving
  • Reutilizar e retomar sessões de coding anteriores
  • Embedar transcrições de código em documentação

Veredito

Ferramenta bem pensada que resolve um problema real: o compartilhamento eficiente de contexto técnico entre desenvolvedores. Implementação limpa em Next.js com arquitetura clara, mas requer acesso ao plugin do Claude Code para funcionar plenamente.

README

A tradução para o português deste README ainda está na fila.


Web App (this repo) - the Next.js frontend and API at claudebin.com

Plugin - the Claude Code plugin at github.com/wunderlabs-dev/claudebin

What it looks like

Publish any Claude Code session with a single command and get a shareable link - complete with syntax highlighting, tool calls, and the full conversation thread.

Getting Started

bun install    # Install dependencies
bun dev        # Start dev server
bun build      # Build for production
bun check      # Lint & format

Environment Variables

NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
OPENROUTER_API_KEY=             # For title generation

Local Development with the Plugin

  1. Start the web app: bun dev (runs on port 3000)
  2. Build the plugin:
    cd /path/to/claudebin/mcp && bun install && bun run build
    
  3. Run Claude with the local plugin:
    CLAUDEBIN_API_URL=http://localhost:3000 claude --plugin-dir /path/to/claudebin --dangerously-skip-permissions
    

Architecture

claudebin.com/
├── app/                  # Next.js 16 web application
│   └── src/
│       ├── app/          # Pages and API routes
│       ├── components/   # UI components
│       ├── containers/   # Page containers
│       ├── server/       # Backend logic
│       │   ├── actions/  # Server actions (mutations)
│       │   ├── repos/    # Data access (Supabase)
│       │   ├── services/ # Business logic
│       │   └── api/      # OpenAPI schemas
│       └── context/      # React context providers
└── supabase/             # Database migrations

Routes

RouteDescription
/Homepage with featured threads
/threadsBrowse public threads
/threads/[id]View a session
/threads/[id]/embedEmbeddable version
/profile/[username]User profile
/auth/loginGitHub OAuth

API

OpenAPI spec at /api/openapi.json.

EndpointMethodDescription
/api/auth/startPOSTStart CLI auth flow
/api/auth/pollGETPoll for auth completion
/api/auth/refreshPOSTRefresh access token
/api/auth/validateGETValidate access token
/api/sessions/publishPOSTPublish a session
/api/sessions/pollGETPoll processing status
/api/threads/[id]/messagesGETGet thread messages
/api/threads/[id]/mdGETGet thread as markdown

Session Processing Pipeline

Plugin uploads JSONL ─→ Store in Supabase Storage ─→ Parse into messages ─→ Generate title (LLM) ─→ Ready

Database

PostgreSQL with Row Level Security. Auto-profile creation on signup, denormalized counts via triggers, and full-text search on message content.

TableDescription
profilesUser data synced from auth.users
sessionsPublished threads with view/like counts
messagesParsed conversation messages
session_likesUser likes
cli_auth_sessionsTemporary CLI OAuth tokens

Tech Stack

FrameworkNext.js 16, Turbopack
DatabaseSupabase (PostgreSQL)
AuthSupabase Auth, GitHub OAuth
StylingTailwind CSS, shadcn/ui
ToolingBun, Oxlint, Oxfmt

License

MIT

Ver o original no GitHub

Bom para

Relacionados