claudebin
A Claude Code plugin for publishing sessions to claudebin.com
Claudebin is a minimalistic tool for publishing and sharing Claude coding sessions
A Claude Code plugin for publishing sessions to claudebin.com
FAQ
claudebincom is a Claude Code plugin with hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Repo: wunderlabs-dev/claudebin.com
Web App (this repo) - the Next.js frontend and API at claudebin.com
Plugin - the Claude Code plugin at github.com/wunderlabs-dev/claudebin
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.
bun install # Install dependencies
bun dev # Start dev server
bun build # Build for production
bun check # Lint & format
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
OPENROUTER_API_KEY= # For title generation
bun dev (runs on port 3000)cd /path/to/claudebin/mcp && bun install && bun run build
CLAUDEBIN_API_URL=http://localhost:3000 claude --plugin-dir /path/to/claudebin --dangerously-skip-permissions
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
| Route | Description |
|---|---|
/ | Homepage with featured threads |
/threads | Browse public threads |
/threads/[id] | View a session |
/threads/[id]/embed | Embeddable version |
/profile/[username] | User profile |
/auth/login | GitHub OAuth |
OpenAPI spec at /api/openapi.json.
| Endpoint | Method | Description |
|---|---|---|
/api/auth/start | POST | Start CLI auth flow |
/api/auth/poll | GET | Poll for auth completion |
/api/auth/refresh | POST | Refresh access token |
/api/auth/validate | GET | Validate access token |
/api/sessions/publish | POST | Publish a session |
/api/sessions/poll | GET | Poll processing status |
/api/threads/[id]/messages | GET | Get thread messages |
/api/threads/[id]/md | GET | Get thread as markdown |
Plugin uploads JSONL โโ Store in Supabase Storage โโ Parse into messages โโ Generate title (LLM) โโ Ready
PostgreSQL with Row Level Security. Auto-profile creation on signup, denormalized counts via triggers, and full-text search on message content.
| Table | Description |
|---|---|
profiles | User data synced from auth.users |
sessions | Published threads with view/like counts |
messages | Parsed conversation messages |
session_likes | User likes |
cli_auth_sessions | Temporary CLI OAuth tokens |
| Framework | Next.js 16, Turbopack |
| Database | Supabase (PostgreSQL) |
| Auth | Supabase Auth, GitHub OAuth |
| Styling | Tailwind CSS, shadcn/ui |
| Tooling | Bun, Oxlint, Oxfmt |
MIT
.claude/
agents/
pr-session-publisher.md
.github/
ISSUE_TEMPLATE/
bug_report.md
feature_request.md
logo.svg
pull_request_template.md
screenshot-thread.png
workflows/
claudebin-session.yml
oxc.yml
supabase-migrations.yml
.gitignore
.husky/
pre-commit
.oxfmtrc.json
.oxlintrc.json
app/
.env.example
.gitignore
bun.lock
CLAUDE.md
components.json
env.d.ts
middleware.ts
next-env.d.ts
next.config.js
package.json
postcss.config.js
public/
images/
assistant-640x640.png
assistant-640x640.webp
favicon.svg
og-background-1200x630.png
og-default-1200x630.webp
poster-how-to-use-1210x680.webp
poster-installation-1210x680.webp
md
sentry.edge.config.ts
sentry.server.config.ts
src/
app/
(embed)/
threads/
[id]/
embed/
page.tsx
(main)/
auth/
callback/
route.ts
login/
page.tsx
logout/
route.ts
cli/
auth/
page.tsx
layout.tsx
page.tsx
privacy-policy/
page.tsx
profile/
[username]/
not-found.tsx
page.tsx
threads/
[id]/
not-found.tsx
opengraph-image.tsx
page.tsx
page.tsx
api/
auth/
poll/
route.ts
refresh/
route.ts
start/
route.ts
validate/
route.ts
openapi.json/
route.ts
pixel/
p/
[id]/
route.ts
t/
[id]/
route.ts
sessions/
poll/
route.ts
publish/
route.ts
threads/
[id]/
md/
route.ts
messages/
route.ts
global-error.tsx
layout.tsx
not-found.tsx
robots.ts
sitemap.ts
components/
cli-auth-login-page-form-skeleton.tsx
cli-auth-login-page-form.tsx
cli-auth-page-header.tsx
embed-page-conversation.tsx
embed-page-footer.tsx
home-page-featured-threads-carousel.tsx
home-page-featured-threads-list-item.tsx
home-page-hero-introduction.tsx
home-page-tutorials-list.tsx
icon/
svg-icon-arrow-bottom.tsx
svg-icon-arrow-left.tsx
svg-icon-arrow-link.tsx
svg-icon-arrow-right.tsx
svg-icon-arrow-top.tsx
svg-icon-bash.tsx
svg-icon-bin.tsx
svg-icon-brain.tsx
svg-icon-calendar.tsx
svg-icon-chat.tsx
svg-icon-check.tsx
svg-icon-circle-line.tsx
svg-icon-circle.tsx
svg-icon-claudebin-xs.tsx
svg-icon-claudebin.tsx
svg-icon-clock.tsx
svg-icon-code.tsx
svg-icon-copy.tsx
svg-icon-dot.tsx
svg-icon-download.tsx
svg-icon-eye-off.tsx
svg-icon-eye.tsx
svg-icon-file-search.tsx
svg-icon-file.tsx
svg-icon-folder.tsx
svg-icon-fork.tsx
svg-icon-gauge.tsx
svg-icon-gear.tsx
svg-icon-github.tsx
svg-icon-glitters.tsx
svg-icon-globe-search.tsx
svg-icon-globe.tsx
svg-icon-hammer.tsx
svg-icon-heart-solid.tsx
svg-icon-heart.tsx
svg-icon-home.tsx
svg-icon-jauge.tsx
svg-icon-key.tsx
svg-icon-line.tsx
svg-icon-loading.tsx
svg-icon-lock.tsx
svg-icon-magnifier.tsx
svg-icon-mcp.tsx
svg-icon-orbits.tsx
svg-icon-pen.tsx
svg-icon-play.tsx
svg-icon-refresh.tsx
svg-icon-shield.tsx
svg-icon-skull.tsx
svg-icon-talk.tsx
svg-icon-user.tsx
svg-icon-world.tsx
svg-icon.tsx
login-page-header.tsx
profile-page-no-threads.tsx
profile-page-quick-start.tsx
profile-page-thread-list-item.tsx
profile-page-user-info-sidebar.tsx
thread-page-author-meta.tsx
thread-page-conversation-attachment-chip.tsx
thread-page-conversation-bash.tsx
thread-page-conversation-chip.tsx
thread-page-conversation-continue.tsx
thread-page-conversation-file-edit.tsx
thread-page-conversation-file-read.tsx
thread-page-conversation-file-write.tsx
thread-page-conversation-generic.tsx
thread-page-conversation-glob.tsx
thread-page-conversation-grep.tsx
thread-page-conversation-local-command.tsx
thread-page-conversation-mcp.tsx
thread-page-conversation-questions.tsx
thread-page-conversation-skeleton.tsx
thread-page-conversation-skill.tsx
thread-page-conversation-task-output.tsx
thread-page-conversation-task-stop.tsx
thread-page-conversation-task.tsx
thread-page-conversation-tasks.tsx
thread-page-conversation-text.tsx
thread-page-conversation-web-fetch.tsx
thread-page-conversation-web-search.tsx
thread-page-sidebar-continue-conversation.tsx
thread-page-thread-embed.tsx
thread-page-thread-meta.tsx
threads-page-thread-grid-item.tsx
threads-page-threads-adornment.tsx
threads-page-threads-no-result.tsx
tracking-pixel.tsx
ui/
accordion.tsx
action.tsx
app-bar.tsx
avatar.tsx
backdrop.tsx
badge.tsx
button.tsx
card.tsx
chat.tsx
checkbox.tsx
chip.tsx
code.tsx
container.tsx
copy-input.tsx
divider-grid.tsx
divider.tsx
footer.tsx
form-control.tsx
list.tsx
nav.tsx
skeleton.tsx
sonner.tsx
steps.tsx
table.tsx
tabs.tsx
todo.tsx
tooltip.tsx
typography.tsx
video.tsx
containers/
profile-page-danger-zone-container.tsx
thread-page-conversation-container.tsx
thread-page-sidebar-container.tsx
thread-page-sidebar-delete-container.tsx
thread-page-sidebar-like-container.tsx
thread-page-visibility-container.tsx
threads-page-threads-container.tsx
context/
auth.tsx
query.tsx
thread-embed.tsx
copy/
en-EN.json
i18n/
request.ts
instrumentation-client.ts
instrumentation.ts
server/
actions/
account.ts
like.ts
messages.ts
threads.ts
visibility.ts
api/
openapi.ts
schemas/
auth.ts
index.ts
sessions.ts
cache/
featured-threads.ts
messages.ts
thread.ts
repos/
cli-auth.ts
index.ts
messages.ts
profiles.ts
sessionLikes.ts
sessions.ts
services/
parser/
parser.ts
index.test.ts
index.ts
localCommand.test.ts
pipeline.ts
schemas.ts
transforms.test.ts
transforms.ts
processor.ts
supabase/
config/
env.ts
server.ts
service.ts
utils/
bots.ts
logger.ts
message-to-markdown.ts
openrouter.ts
paths.test.ts
paths.ts
pixel.ts
static/
css/
globals.css
images/
favicon.svg
supabase/
client.ts
types/
types.ts
json-cast.ts
message.ts
utils/
constants.ts
helpers.ts
media-queries.ts
renderers.tsx
spacing.ts
tsconfig.json
vercel.json
bun.lock
CLAUDE.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
docs/
plans/
2025-02-13-tracking-pixel-view-counting.md
LICENSE
package.json
README.md
scripts/
reset-db.sh
SECURITY.md
supabase/
migrations/
20250115000001_create_profiles.sql
20250115000002_create_sessions.sql
20250115000003_create_messages.sql
20250115000004_create_cli_auth.sql
20250116000001_rename_columns_to_camelcase.sql
20250122000001_add_username_to_profiles.sql
20250125000001_add_session_metadata.sql
20250125000002_create_session_likes.sql
20250125000003_backfill_usernames.sql
20250125000004_add_increment_view_count_rpc.sql
20250127000001_add_bio_to_profiles.sql
20250127000002_add_profile_view_count.sql
20250128000001_remove_bio_column.sql
20250128000002_add_deleted_at_to_profiles.sql
20250128000003_fix_deleted_at_column_name.sql
20250128000004_standardize_snake_case.sql
20250128000005_revert_to_camelcase.sql
20250205000001_add_model_name_to_sessions.sql
20250206000001_allow_unlisted_access.sql
20250206000002_add_is_featured_to_sessions.sql
20250211000001_allow_unlisted_messages_access.sql
20250213000001_add_page_views_dedup.sql
20260216000001_revert_rls_to_restrict_enumeration.sql
20260217000001_fix_profiles_rls_remove_email.sql
20260301000001_protect_system_columns.sql
README.md
supabase/
.temp/
postgres-versionยฉ 2026 Flowy ยท Free and open source
Built for Claude Code ยท Not affiliated with Anthropic