@lazer-tech/miniapp
v0.1.3
Published
CLI for scaffolding and managing Lazer mini apps on Farcaster and Base
Readme
@lazer-tech/miniapp
CLI for scaffolding and managing mini apps that deploy to Farcaster and Base.
Quick Start
bunx @lazer-tech/miniapp create my-app
cd my-app
bun devFeatures
- Scaffold instantly — generates a full Next.js 16 app with App Router, React 19, Tailwind CSS, and Turbopack
- Farcaster & Base native — platform adapters, manifest generation, and deeplinks out of the box
- Modular by design — auth (Privy), EVM (viem/wagmi), blockchain data (Codex), PostgreSQL — activate only what you need
- Design system included — branding tokens, themed components, and a
themecommand to regenerate CSS variables - Agent-friendly — MCP server, skill files, and machine-readable manifests built in
Commands
miniapp create <name> # Scaffold a new mini app
miniapp update # Update an existing app
miniapp theme # Regenerate CSS theme from branding.jsonAgent Integration
Pick one of the two methods below — MCP or skill files — depending on your agent:
# Option A: Register as MCP server (no install needed)
bunx @lazer-tech/miniapp mcp add
# Option B: Sync skill files to agents (requires global install)
bun install -g @lazer-tech/miniapp@latest
miniapp skills add
# Machine-readable manifests (for agent discovery)
bunx @lazer-tech/miniapp --llms # Command summary
bunx @lazer-tech/miniapp --llms-full # Full manifest with args, options, and examplesRequirements
- bun >= 1.0
