- Node.js (v14 or higher)
- npm or yarn
- Modern web browser
- Git
-
Clone the repository:
git clone <repository-url> cd ai-ide
-
Install dependencies:
npm install
-
Create
.envfile in root directory:REACT_APP_PISTON_API_URL=your_piston_api_endpoint REACT_APP_CHATBOT_API_KEY=your_chatbot_api_key
- Start development server:
npm start
- Open http://localhost:3000
npm run buildnpm testsrc/
├── components/ # React components
├── services/ # API services
├── styles/ # CSS files
├── context/ # React context
└── hooks/ # Custom hooks
- Multi-language code execution
- Theme customization (Dark/Light)
- Real-time code compilation
- STDIN input support
- Programming assistance
- Code explanations
- Error debugging help
- Best practices suggestions
-
Editor not loading
- Check browser console for errors
- Verify Monaco Editor installation
-
Code execution fails
- Verify Piston API endpoint
- Check network connectivity
-
Chatbot not responding
- Verify API key in .env
- Check rate limits
- Fork the repository
- Create feature branch
- Commit changes
- Push to branch
- Open Pull Request
How does this project address societal challenges?
-
Educational Access
- Free, browser-based coding environment
- Multi-language support for diverse learning
- No installation barriers
- AI-powered chatbot for instant help
-
Developer Productivity
- Instant code execution
- Cross-platform accessibility
- Integrated chatbot assistance
- Real-time programming guidance
-
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
Implementation Plan:
-
Technical Stack
- React.js frontend
- Monaco Editor integration
- Piston API for code execution
- Custom chatbot integration
- Natural Language Processing for chat
-
Required Resources
- Web hosting infrastructure
- API services
- Development team expertise
- Training data for chatbot
- NLP processing capabilities
-
Current Implementation
- Custom-trained chatbot assistant
- Code analysis and validation
- Error detection systems
- Context-aware programming help
- Code explanation capabilities
-
Future AI Integration
- Code completion suggestions
- Automated bug fixing
- Performance optimization
- Test case generation
- Enhanced chatbot learning
- Multi-language chat support
-
Desktop Application
- Rejected due to installation requirements
- Limited accessibility
-
VSCode Extension
- Rejected due to VSCode dependency
- Not browser-accessible
-
Custom Code Editor
- Rejected due to maintenance overhead
- Monaco provides better functionality
- Multi-language Support
- Real-time Code Execution
- Theme Customization
- Responsive Design
- Custom Knowledge Base
- Interactive Help
- Context-Aware Responses
- Code Suggestions