Skip to content

harshaagrawal20/ideathon-ggh-

Repository files navigation

AI-Powered Development Environment

Quick Start Guide

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn
  • Modern web browser
  • Git

Environment Setup

  1. Clone the repository:

    git clone <repository-url>
    cd ai-ide
  2. Install dependencies:

    npm install
  3. Create .env file in root directory:

    REACT_APP_PISTON_API_URL=your_piston_api_endpoint
    REACT_APP_CHATBOT_API_KEY=your_chatbot_api_key
    

Running the Application

  1. Start development server:
    npm start
  2. Open http://localhost:3000

Building for Production

npm run build

Running Tests

npm test

Project Structure

src/
├── components/        # React components
├── services/         # API services
├── styles/          # CSS files
├── context/         # React context
└── hooks/           # Custom hooks

Available Features

IDE Features

  • Multi-language code execution
  • Theme customization (Dark/Light)
  • Real-time code compilation
  • STDIN input support

Chatbot Features

  • Programming assistance
  • Code explanations
  • Error debugging help
  • Best practices suggestions

Troubleshooting

Common Issues

  1. Editor not loading

    • Check browser console for errors
    • Verify Monaco Editor installation
  2. Code execution fails

    • Verify Piston API endpoint
    • Check network connectivity
  3. Chatbot not responding

    • Verify API key in .env
    • Check rate limits

Contributing

  1. Fork the repository
  2. Create feature branch
  3. Commit changes
  4. Push to branch
  5. Open Pull Request

Project Analysis

Impact

How does this project address societal challenges?

  1. Educational Access

    • Free, browser-based coding environment
    • Multi-language support for diverse learning
    • No installation barriers
    • AI-powered chatbot for instant help
  2. Developer Productivity

    • Instant code execution
    • Cross-platform accessibility
    • Integrated chatbot assistance
    • Real-time programming guidance
  3. Research Grounding

    • Studies show immediate feedback improves learning
    • Data-driven UI/UX decisions
    • Real-world usage patterns analysis
    • Chatbot trained on programming Q&A datasets

Feasibility

Implementation Plan:

  1. Technical Stack

    • React.js frontend
    • Monaco Editor integration
    • Piston API for code execution
    • Custom chatbot integration
    • Natural Language Processing for chat
  2. Required Resources

    • Web hosting infrastructure
    • API services
    • Development team expertise
    • Training data for chatbot
    • NLP processing capabilities

Use of AI

  1. Current Implementation

    • Custom-trained chatbot assistant
    • Code analysis and validation
    • Error detection systems
    • Context-aware programming help
    • Code explanation capabilities
  2. Future AI Integration

    • Code completion suggestions
    • Automated bug fixing
    • Performance optimization
    • Test case generation
    • Enhanced chatbot learning
    • Multi-language chat support

Alternatives Considered

  1. Desktop Application

    • Rejected due to installation requirements
    • Limited accessibility
  2. VSCode Extension

    • Rejected due to VSCode dependency
    • Not browser-accessible
  3. Custom Code Editor

    • Rejected due to maintenance overhead
    • Monaco provides better functionality

Features

1. Intelligent IDE

  • Multi-language Support
  • Real-time Code Execution
  • Theme Customization
  • Responsive Design

2. AI Chatbot Assistant

  • Custom Knowledge Base
  • Interactive Help
  • Context-Aware Responses
  • Code Suggestions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors