create-navigator-app
v2.0.0
Published
Create Navigator apps with zero configuration
Maintainers
Readme
create-navigator-app
Scaffold a Navigator app with zero configuration.
Usage
With npx (Recommended)
npx create-navigator-app my-appWith npm
npm create navigator-app my-appWith yarn
yarn create navigator-app my-appInteractive Setup
The CLI will guide you through the setup:
- Project name - Enter your project name
- Plugin selection - Choose input plugins (keyboard, gesture, voice)
- Scaffold - Creates project structure with Vite and config
What's Included
The generated project includes:
- ✅ Vite - Lightning-fast dev server with HMR
- ✅ Navigator Core - Minimal Navigator setup
- ✅ Configuration - Pre-configured
config.yaml - ✅ Example - Working navigation example
- ✅ Scripts - Dev, build, and preview scripts
Project Structure
my-app/
├── index.html # Main HTML file
├── config.yaml # Navigator configuration
├── vite.config.js # Vite configuration
├── package.json # Dependencies and scripts
└── README.md # Getting started guideCommands
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewExamples
# Create app with default settings
npx create-navigator-app my-app
# Create app in current directory
npx create-navigator-app .
# Create app with specific name
npx create-navigator-app awesome-navigatorNext Steps
After creating your app:
Install dependencies
cd my-app npm installStart development
npm run devCustomize
- Edit
config.yamlto add more layers/cards - Modify
index.htmlfor custom UI - Enable/disable plugins
- Edit
Learn more
Plugin Options
During setup, you can choose:
- Keyboard (recommended) - Arrow keys and WASD navigation
- Gesture - MediaPipe hand tracking (requires webcam)
- Voice - Speech recognition commands (experimental)
Requirements
- Node.js 20.0 or higher
- npm, yarn, or pnpm
Documentation
License
ISC © Navigator Project
