AINative ships a lightweight CLI in packages/cli.
Creates a starter project from the bundled template.
Options:
-t, --template <template>: currently kept for compatibility, defaults tobasic
Runs the current project's dev script.
Options:
-p, --port <port>: accepted by the command surface, though the current implementation delegates to the project script
Runs the current project's build script.
Options:
-o, --output <dir>: accepted by the command surface, though the current implementation delegates to the project script
Runs the current project's preview script.
Options:
-p, --port <port>: forwards--portto the preview command
Checks for:
- Node.js
- npm
- Git
Prints the environment variables needed for:
openaianthropicollama
Build the CLI:
corepack pnpm --dir packages/cli run buildRun tests:
corepack pnpm --dir packages/cli testSmoke check the built binary:
corepack pnpm --dir packages/cli exec node dist/index.js --helpThe bundled template includes:
src/main.tsx- Main application component with AI workspacesrc/PromptInputBox.tsx- Advanced prompt input component with multi-modal supportsrc/server.ts- AI server configurationsrc/style.css- Modern, responsive stylingindex.html- HTML entry pointvite.config.ts- Vite configurationtsconfig.json- TypeScript configurationpackage.json- Dependencies including Radix UI, Framer Motion, and Lucide icons
The default template includes:
- Multi-Modal Input: Support for text, images (drag & drop, paste, upload)
- Voice Recording: Click-to-record voice messages
- Smart Modes: Toggle between Search, Think, and Canvas modes for specialized AI interactions
- Modern UI: Built with Radix UI primitives and smooth Framer Motion animations
- Responsive Design: Works seamlessly on desktop and mobile devices
- Tooltips: Helpful tooltips on all interactive elements
- Image Preview: Full-screen image viewer for uploaded files