0.0.22 ⢠Published 1 year ago
create-lasereyes v0.0.22
create-lasereyes
Interactive CLI tool to scaffold Next.js projects with LaserEyes integration to quickly start building Bitcoin Apps.
Quick Start
npx create-lasereyesFeatures
- ā”ļø Next.js Integration - Creates a modern Next.js project with App Router using React 18
- š LaserEyes Wallet Connect Modal - Pre-configured Bitcoin wallet integration
- šØ Styling
- Shadcn / Tailwind CSS setup
- Light / Dark Mode App Toggle
- š¤ .cursorrules: For developers using Cursor editor, provides AI assistant configuration to make working with AI tools easier than ever
Project Structure
After running the command, your project will include:
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 Modal
ā āāā DefaultLayout.tsx # LaserEyes Provider Wrapper
ā āāā ThemeToggle.tsx # Light/Dark Mode Toggle
āāā lib/
ā āāā utils.ts
āāā .cursorrules # AI assistant configuration for Cursor editorKey Components
- ConnectWallet.tsx: Modal component for connecting Bitcoin wallets
- DefaultLayout.tsx: Wraps your app in
useLaserEyesProviderfor Bitcoin functionality - ThemeToggle.tsx: Toggle component for switching between light and dark modes
AI Assistance
- .cursorrules: For developers using Cursor editor, provides AI assistant configuration to make working with AI tools easier than ever
Development
Create a new project:
npx create-lasereyesFollow the interactive prompts to customize your setup
Navigate to your project:
cd your-project-nameStart developing:
npm run dev
Coming Soon
- Vue.js template support
- Vanilla JavaScript template
- Additional wallet integrations
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - feel free to use this in your own projects!
0.0.20
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.17
1 year ago
0.0.18
1 year ago
0.0.19
1 year ago
0.0.15
1 year ago
0.0.16
1 year ago
0.0.14
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.11
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago