A powerful CLI tool for generating customizable Celo blockchain starter kits with modern monorepo architecture.
- π Modern Stack: Next.js 14+, TypeScript, Tailwind CSS, shadcn/ui
- π¦ Monorepo Ready: Turborepo with PNPM workspaces
- π¨ Beautiful UI: Pre-configured shadcn/ui components
- π§ Developer Experience: Interactive prompts and clear feedback
- π Celo Optimized: Ready for Celo blockchain development
- π― Multiple Templates: Choose from Basic Web App, Farcaster Miniapp, Minipay, or AI Chat templates
- π Flexible Integrations: Add wallet providers (RainbowKit, Thirdweb) and smart contract frameworks (Hardhat, Foundry)
- Node.js >= 18.0.0
- PNPM (recommended) or npm/yarn
Create a new Celo project in seconds:
npx @celo/celo-composer@latest createThis will start an interactive setup process where you can choose your template, wallet provider, and smart contract framework.
No installation required! Use npx to run Celo Composer directly without installing anything globally.
Run the command without any flags to enter interactive mode:
npx @celo/celo-composer@latest create my-celo-appThe CLI will guide you through:
- Project name and description
- Template selection
- Wallet provider choice
- Smart contract framework selection
- Dependency installation
Create a project with specific configurations using flags:
npx @celo/celo-composer@latest create my-celo-app \
--template basic \
--wallet-provider rainbowkit \
--contracts hardhat \
--description "My awesome Celo app"Skip all prompts and use default settings. This will create a basic app with no additional setup. All available flags and options are listed in the Command Options table below.
npx @celo/celo-composer@latest create my-celo-app --yesA standard Next.js 14+ web application with modern UI, perfect for most dApp projects.
npx @celo/celo-composer@latest create --template basicA specialized template for building Farcaster Miniapps with Farcaster SDK and Frame development support.
npx @celo/celo-composer@latest create --template farcaster-miniappOptimized for building dApps that integrate with the Minipay mobile wallet, with mobile-first design.
npx @celo/celo-composer@latest create --template minipayA standalone Next.js AI chat application template.
npx @celo/celo-composer@latest create --template ai-chatChoose a wallet provider to handle user authentication and transaction signing:
- RainbowKit (default): Popular, easy-to-use wallet connector for React apps
- Thirdweb: Complete Web3 development framework with powerful wallet tools
- None: Skip wallet integration if you want to integrate your own solution
All available flags can be found in the Command Options table below.
npx @celo/celo-composer@latest create --wallet-provider rainbowkitSet up a smart contract development environment:
- Hardhat (default): Popular Ethereum development environment
- Foundry: Fast, portable and modular toolkit for Ethereum application development
- None: Skip smart contract development setup
All available flags can be found in the Command Options table below.
npx @celo/celo-composer@latest create --contracts hardhatnpx @celo/celo-composer@latest create [project-name] [options]| Flag | Description | Default |
|---|---|---|
-d, --description <description> |
Project description | Interactive prompt |
-t, --template <type> |
Template type (basic, farcaster-miniapp, minipay, ai-chat) |
basic |
--wallet-provider <provider> |
Wallet provider (rainbowkit, thirdweb, none) |
rainbowkit |
-c, --contracts <framework> |
Smart contract framework (hardhat, foundry, none) |
hardhat |
--skip-install |
Skip automatic dependency installation | false |
-y, --yes |
Skip all prompts and use defaults | false |
my-celo-app/
βββ apps/
β βββ web/ # Next.js application
β βββ contracts/ # Smart contracts (if selected)
βββ packages/
β βββ ui/ # Shared UI components
β βββ utils/ # Shared utilities
βββ package.json # Root package.json
βββ pnpm-workspace.yaml # PNPM workspace config
βββ turbo.json # Turborepo configuration
βββ tsconfig.json # TypeScript configuration
After creating your project, navigate to it and install dependencies (if you didn't use --skip-install):
cd my-celo-app
pnpm install # If you used --skip-install
pnpm dev # Start development serverYour project is automatically initialized with Git and includes an initial commit.
Generated Projects Include:
- Next.js 14+ with App Router
- TypeScript
- Tailwind CSS
- shadcn/ui components
- Turborepo for monorepo management
- PNPM workspaces
MIT