Skip to content

Gaurav-pasi/Cursor-Jr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CursorJr - Website Builder

A Node.js application that uses Google's GenAI to help you build websites step by step using Windows Command Prompt commands.

Features

  • 🤖 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

Prerequisites

  • Node.js (v14 or higher)
  • Windows operating system
  • Google GenAI API key

Installation

  1. Clone the repository:
git clone <your-repository-url>
cd CursorJr
  1. Install dependencies:
npm install
  1. Set up environment variables:
    • Copy .env.example to .env
    • Add your Google GenAI API key to the .env file
cp .env.example .env
  1. Edit the .env file and add your API key:
GOOGLE_GENAI_API_KEY=your_actual_api_key_here

Getting Your Google GenAI API Key

  1. Go to Google AI Studio
  2. Sign in with your Google account
  3. Create a new API key
  4. Copy the key and add it to your .env file

Usage

Run the application:

npm start

Or directly with Node.js:

node index.js

The application will prompt you to describe the website you want to build, then guide you through the creation process using Windows Command Prompt commands.

Project Structure

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

Environment Variables

  • GOOGLE_GENAI_API_KEY: Your Google GenAI API key (required)

Security

  • The .env file is automatically ignored by Git
  • Never commit API keys or secrets to version control
  • Use .env.example to show what environment variables are needed

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

License

ISC License

Author

Gaurav Pasi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors