A Node.js application that uses Google's GenAI to help you build websites step by step using Windows Command Prompt commands.
- 🤖 AI-powered website building using Google GenAI
- 🖥️ Windows Command Prompt integration
- 📁 Automatic folder and file creation
- 🎨 Complete website generation (HTML, CSS, JS)
- 🔧 Tool-based execution system
- Node.js (v14 or higher)
- Windows operating system
- Google GenAI API key
- Clone the repository:
git clone <your-repository-url>
cd CursorJr- Install dependencies:
npm install- Set up environment variables:
- Copy
.env.exampleto.env - Add your Google GenAI API key to the
.envfile
- Copy
cp .env.example .env- Edit the
.envfile and add your API key:
GOOGLE_GENAI_API_KEY=your_actual_api_key_here
- Go to Google AI Studio
- Sign in with your Google account
- Create a new API key
- Copy the key and add it to your
.envfile
Run the application:
npm startOr directly with Node.js:
node index.jsThe application will prompt you to describe the website you want to build, then guide you through the creation process using Windows Command Prompt commands.
CursorJr/
├── index.js # Main application file
├── package.json # Project dependencies
├── .env # Environment variables (not in git)
├── .env.example # Example environment variables
├── .gitignore # Git ignore rules
├── README.md # This file
└── todo_list/ # Example website created by the app
├── index.html
├── style.css
└── script.js
GOOGLE_GENAI_API_KEY: Your Google GenAI API key (required)
- The
.envfile is automatically ignored by Git - Never commit API keys or secrets to version control
- Use
.env.exampleto show what environment variables are needed
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
ISC License
Gaurav Pasi