website-creator
v1.0.2
Published
A tool to create website components and instructions
Downloads
4
Maintainers
Readme
Website Creator
Description
A Node.js tool that generates React components and corresponding instruction files for building websites with AI assistance.
Installation
# Install globally
npm install -g website-creator
# Or use directly with npx
npx website-creatorUsage
# If installed globally
website-creator
# Or with npx
npx website-creator
# Or from the project directory
npm run createColor Schemes
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
Generated Structure
websiteCreatorDir/
├── unstyledComponents/
│ ├── Home.js
│ └── Header.js
├── HomeInstructions.md
├── HeaderInstructions.md
└── feelPrompt.mdProject Organization
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.jsonRequirements
- Node.js >= 14.0.0
- React project setup
Scripts
npm run create: Generate all components and instruction filesnpm start: Run the main application
License
ISC
