A Node.js tool that generates React components and corresponding instruction files for building websites with AI assistance.
# Install globally
npm install -g website-creator
# Or use directly with npx
npx website-creator
# If installed globally
website-creator
# Or with npx
npx website-creator
# Or from the project directory
npm run create
The tool supports customizable color schemes which can be modified in src/config/colorSchemes.js
. By default, it uses:
- Blue: Professional and modern design theme
websiteCreatorDir/
├── unstyledComponents/
│ ├── Home.js
│ └── Header.js
├── HomeInstructions.md
├── HeaderInstructions.md
└── feelPrompt.md
project/
├── createFiles.js # Main file handling component generation
├── index.js # CLI entry point
├── src/
│ ├── config/ # Configuration files
│ │ └── colorSchemes.js
│ └── templates/ # Component and markdown templates
│ ├── components.js
│ └── markdown.js
└── package.json
- Node.js >= 14.0.0
- React project setup
-
npm run create
: Generate all components and instruction files -
npm start
: Run the main application
ISC