Skip to content

douglasswm/clawbuilder

Repository files navigation

ClawBuilder

Build, deploy, and manage AI agents that automate your workflows.

Tech Stack

Project Structure

clawbuilder/
├── apps/web/          # Main web application
│   └── src/
│       ├── lib/       # Supabase clients, auth utilities
│       ├── routes/    # TanStack Router file-based routes
│       └── router.tsx # Router config with auth context
├── packages/ui/       # Shared UI components (shadcn/ui)
│   └── src/
│       ├── components/
│       ├── hooks/
│       ├── lib/
│       └── styles/
└── turbo.json

Getting Started

Prerequisites

  • Node.js 20+
  • pnpm 9+

Setup

# Install dependencies
pnpm install

# Copy environment template and fill in your Supabase credentials
cp apps/web/.env.example apps/web/.env.local

Edit apps/web/.env.local with your Supabase project URL and anon key:

VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key

Supabase Setup

  1. Enable Google provider under Authentication > Providers in your Supabase dashboard
  2. Add http://localhost:3000/auth/callback to allowed redirect URLs
  3. Set up Google OAuth credentials (client ID + secret) in Google Cloud Console

Development

pnpm dev

The app starts at http://localhost:3000.

Adding Components

Add shadcn components from the root of the web app:

pnpm dlx shadcn@latest add button -c apps/web

Components are placed in packages/ui/src/components/ and imported as:

import { Button } from "@workspace/ui/components/button"

Scripts

Command Description
pnpm dev Start dev server
pnpm build Build all packages
pnpm lint Lint all packages
pnpm typecheck TypeScript check
pnpm format Format with Prettier
pnpm test:unit Run unit tests (Vitest)
pnpm test:e2e Run E2E tests (Playwright)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors