Loading scaffold…
Loading scaffold…
Contacts + deals + activities + email tracking — yours to fork into B2B sales, partner CRM, investor relations. The code is yours. Forever.
Move deals across stages — the forecast and weighted pipeline recalc instantly. Click any deal for activities, log calls/emails/notes, and close-won or close-lost with a reason.
Live mock — same UX you ship after pasting PROMPT.md into Claude Code.
Same pipeline UX. Different ownership model. Four things that matter once your sales team grows.
| Comparison axis | HubSpot | Need for Build scaffold |
|---|---|---|
| Pricing | $20–1,500 per seat, per month. Per-contact pricing tier creeps up. | Free forever. Pay only your own hosting. No per-contact tax. |
| Data ownership | Their cloud. Export is a tedious CSV dump. | Your Supabase project, your S3 backups. Export anytime — it's just SQL. |
| Privacy | Their compliance posture, their employees with access. | RLS-scoped per workspace. GDPR-grade by design. |
| Extensibility | Their app marketplace. Their roadmap. | Full Next.js + Drizzle. Custom field, view, automation — ship it today. |
Every file the scaffold ships, with size and one-line description. Download once, build forever.
CLAUDE.md5.4 KBProject config for Claude Code — tech stack, commands, code style, critical rules. Under 100 lines, read first.
ARCHITECTURE.md9.7 KBDrizzle schema for contacts, companies, deals, pipelines, stages, activities, emails. Tracking pixel flow, automation triggers, audit log.
PRD.md8.3 KB13 features (F1–F13): contacts, deals, pipelines, activities, email tracking, tasks, reports, automations.
SECURITY.md11.3 KBSTRIDE threat model, OWASP 2025 Top 10 checklist, GDPR data inventory, security headers config.
MARKETING.md8.4 KBPositioning vs. category leader, persona, GTM phases, channel strategy, growth loops.
PROMPT.md12.3 KB7 sequential steps: foundation → DB schema + RLS → auth + onboarding + workspaces → contacts + companies + kanban → activities + tasks → email tracking via Resend → reports + import + billing + polish.
ARCHITECTURE_CROSSCHECK.md14.4 KBSecond-opinion architecture review: GPT + Gemini independently critique the plan, consolidated into confirmations, corrections, and concrete diffs.
api-guide.html7.3 KBZero-jargon visual guide (opens in your browser): create accounts, get API keys, fill .env, push to GitHub, deploy on Vercel.
lib/mock/index.ts5.2 KBTyped mock dataset — click through the full UI with realistic data before connecting real services.
assets/manifest.json0.3 KBMachine-readable package inventory with generation timestamps.
Drizzle + Resend + react-flow + tracking pixel — ready for revenue ops.
Pipeline kanban + contact list virtualized. Server Components for the data-heavy table reads.
Workspace-scoped contacts, deals, activities. Soft-delete + audit fields on every table.
Indexed deal_stage_history table powers velocity reports without recompute on read.
Outbound emails get a hidden pixel + click-redirect routing — open/click events log to activity.
Pipeline editor: stages, win/lose paths, branching automation triggers.
Stage colors brand-customizable. High-contrast tokens for activity-feed icons.
Start from CRM, end up shipping investor relations, donor management, partner CRM.
contacts → leads + accounts · deals → ARR + close-date · multi-stage pipeline + forecast view
contacts → partner reps · deals → co-sell opportunities · split commission tracking
contacts → LPs / VCs · "deals" → fundraise rounds · cap-table snapshot per round
contacts → donors · "deals" → campaigns · gift-tier ladder · annual giving report
contacts → client contacts · "deals" → projects · margin tracking · all data inside your firm
Every directory, every route, every migration. What you'll see right after `unzip`.
crm-sales-pipeline/
├── CLAUDE.md
├── PROMPT.md
├── README.md
├── ARCHITECTURE.md
├── PRD.md
├── SECURITY.md
├── MARKETING.md
├── design-tokens.css
├── logo.svg
├── .env.example
├── next.config.ts
├── tailwind.config.ts
├── drizzle.config.ts
├── tsconfig.json
├── package.json
├── app/
│ ├── layout.tsx
│ ├── (dashboard)/
│ │ ├── contacts/{,[id]}/page.tsx
│ │ ├── companies/{,[id]}/page.tsx
│ │ ├── deals/{,[id],pipeline}/page.tsx
│ │ ├── activities/page.tsx
│ │ ├── reports/{velocity,forecast,activity}/page.tsx
│ │ └── settings/{pipelines,team,email-tracking}/page.tsx
│ └── api/
│ ├── trpc/[trpc]/route.ts
│ ├── track/{open,click}/route.ts
│ └── webhooks/{resend,calendar}/route.ts
├── components/
│ ├── contacts/{list,detail,merge}.tsx
│ ├── deals/{kanban,pipeline-editor,forecast-table}.tsx
│ ├── activities/{timeline,composer,task-list}.tsx
│ ├── reports/{velocity-chart,funnel,leaderboard}.tsx
│ └── ui/
├── server/
│ ├── api/routers/{contact,company,deal,pipeline,activity,email-track}.ts
│ └── automations/{trigger-engine,actions}.ts
├── lib/
│ ├── env.ts
│ ├── supabase/{client,server,admin}.ts
│ ├── auth/helpers.ts
│ └── rate-limit.ts
├── hooks/
├── types/
├── middleware.ts
├── tests/e2e/
└── supabase/migrations/
├── 0001_initial.sql
├── 0002_rls_policies.sql
└── 0003_indexes.sqlEach one ships the same way: paste PROMPT.md into Claude Code and ship.
Notion-inspired
Notion-style workspace, code-owned. Fork into wiki, KB, CRM, recipe vault, project hub.
View scaffold →Slack-inspired
Channels + DM + threads + realtime presence. Fork into customer chat, community platform, internal team tool.
View scaffold →Cal.com-inspired
Cal.com-style scheduling, code-owned. Self-host multi-host bookings + Stripe payments. Fork into consultations, classes, restaurant reservations.
View scaffold →Linktree-inspired
Personalized bio page + click tracking + UTM + theme presets. Fork into creator landing, portfolio, event page, app smart-link.
View scaffold →Gorgias-inspired
Gorgias-style e-com helpdesk, code-owned. Widget + agent inbox + Shopify order context + AI replies. Fork into support, sales chat, onboarding bot.
View scaffold →Mailchimp-inspired
List management + drag-drop editor + automation triggers. Fork into newsletter, drip campaigns, transactional service.
View scaffold →Zapier-inspired
Zapier-style automation builder, code-owned. Trigger nodes + action nodes + run history. Fork into approval flows, lead routing, sync jobs.
View scaffold →Loom-inspired
Loom-style async video, code-owned. Record + chunked upload + share link + viewer analytics. Fork into tutorial vault, sales demos, internal training.
View scaffold →Patagon.ai-inspired
WhatsApp AI lead qualification, code-owned. Conversational qualifier + Meta CAPI + Google Calendar + CRM sync. Fork into automotive, real-estate, education, healthcare funnels.
View scaffold →