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
Option | Description |
---|---|
-t, --template [name] | Specify template (next-app, vue-app) |
--npm | Use npm package manager |
--pnpm | Use pnpm package manager |
--yarn | Use yarn package manager |
--tailwind | Install TailwindCSS (default: true) |
--shadcn | Install 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
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Submit a pull request
License
MIT License - feel free to use this in your own projects!