CLI Tool

Create LaserEyes

The fastest way to scaffold modern Bitcoin applications with Next.js and LaserEyes wallet integration.

Quick Start

npx create-lasereyes
Then follow the interactive prompts to configure your project.
cd your-project-name
npm run dev

Launch Your Project

Navigate to your new project directory and start the development server to see your Bitcoin app in action.

Features

⚡️ Next.js Integration

Modern Next.js project with App Router, React 18, and TypeScript configuration out of the box.

🔐 Bitcoin Wallet Integration

Pre-configured wallet connection modal supporting UniSat, Xverse, Oyl, Magic Eden, and more.

🎨 Modern Styling

Beautiful UI with Shadcn components, Tailwind CSS, and automatic dark mode support.

🤖 Developer Experience

Enhanced development with Cursor.ai integration, TypeScript, and proper tooling configuration.

CLI Options

OptionDescription
-t, --template [name]Specify template (next-app, vue-app)
--npmUse npm package manager
--pnpmUse pnpm package manager
--yarnUse yarn package manager
--tailwindInstall TailwindCSS (default: true)
--shadcnInstall Shadcn UI components

Project Structure

your-project-name/
├── src/
│   ├── app/
│   │   ├── favicon.ico
│   │   ├── globals.css
│   │   ├── layout.tsx    # Root layout with providers
│   │   └── page.tsx      # Home page
│   ├── components/
│   │   ├── ui/           # Reusable Shadcn UI Components
│   │   ├── ConnectWallet.tsx # LaserEyes Wallet Connection
│   │   ├── DefaultLayout.tsx # LaserEyes Provider Wrapper
│   │   └── ThemeToggle.tsx   # Light/Dark Mode Toggle
│   └── lib/
│       └── utils.ts
├── .cursorrules          # AI assistant configuration
└── package.json

Framework Support

Ready

Next.js (App Router)

Fully supported and production-ready

Coming Soon

Vue 3 + Vite

In active development

Planned

Vanilla JS

On our roadmap

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-feature-name
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature-name
  5. Submit a pull request

License

MIT License - feel free to use this in your own projects!