@lazer-tech/miniapp
v0.1.8
Published
CLI for scaffolding and managing Lazer mini apps on Farcaster and Base
Downloads
88
Readme
@lazer-tech/miniapp
Build mini apps for Farcaster and Base — scaffold in seconds, build features with AI.
Quick Start
bunx @lazer-tech/miniapp create my-app
cd my-app
bun devThen open in your agent and start building:
> /lazer set up auth and farcaster notifications
> /lazer add a token price chart for ETH
> /auth email and wallet login
> /contracts deploy to Base/lazer is the main entry point — it knows every available skill and can chain them together. Use it for multi-step requests or when you're not sure which skill you need. Use individual skills (/auth, /web3, etc.) when you know exactly what you want.
How it works
Most scaffolders give you a bloated starter and leave you to figure it out. Lazer works differently:
creategives you a clean Next.js app with a design system — no pre-configured features, no unused code- Skills add features on demand. Each skill has access to the full module source and writes only the code your app needs — tailored to what you ask for
- You own everything. No hidden dependencies. Every line of generated code is in your repo, readable and editable
/auth email login and /auth wallet only produce completely different implementations. It's not flipping switches on template code — it's writing code for your specific requirements.
Skills
| Skill | What it does |
| ----- | ------------ |
| /lazer | Main entry point — sees all skills, chains requests, shows status |
| /auth | Privy authentication — wallet, email, social login |
| /web3 | EVM wallets (wagmi/viem), Solana, token swaps |
| /farcaster | Farcaster SDK, manifest, notifications, hooks |
| /base | Base adapter, deeplinks, sharing |
| /codex | Blockchain data — token prices, charts, real-time feeds |
| /postgres | PostgreSQL with type-safe queries and migrations |
| /contracts | EVM smart contracts with Foundry |
| /ds | Design system components and theme customization |
Commands
miniapp create <name> # Scaffold a new mini app
miniapp update # Add new modules or update existing ones
miniapp theme # Regenerate CSS theme from branding.jsonAgent Integration
The CLI is built on incur, an AI-first CLI framework. It works as a normal CLI for humans, and as a typed tool interface for agents.
# Option A: MCP server (each command becomes a typed tool)
bunx @lazer-tech/miniapp mcp add
# Option B: Skill files (for Claude Code, Cursor, Codex, Gemini, etc.)
bunx @lazer-tech/miniapp skills add
# Machine-readable manifest (for agent discovery)
bunx @lazer-tech/miniapp --llmsRequirements
- bun >= 1.0
