Coding Boss

AI-powered code generation, project templates, and development assistance with Ollama integration for VS Code.
🚀 Features
- 🤖 AI-Powered Code Generation: Generate code with AI assistance
- 📁 Project Templates: Create projects from 5+ templates (FastAPI, Django, React, etc.)
- 🔍 Project Analysis: Analyze existing projects for structure and improvements
- 💬 AI Chat: Interactive chat with AI assistant for coding help
- ⚡ Ollama Integration: Use local AI models for enhanced performance
- 🎨 Modern UI: Beautiful, responsive interface with VS Code theme integration
📋 Project Templates
- FastAPI REST API: Modern Python REST API with FastAPI
- Django REST Framework: Powerful Django REST API with DRF
- FastAPI + React: Full-stack application with FastAPI backend and React frontend
- Django + React: Full-stack application with Django REST API and React frontend
- Existing Project Analysis: Analyze and work with existing codebases
🎯 Quick Start
Prerequisites
- AI Code Assistant API Server running on
http://127.0.0.1:8000
- VS Code v1.74.0 or higher
Installation
- Install the extension from VS Code Marketplace
- Start your API server:
python main.py
- Open Command Palette (
Ctrl+Shift+P )
- Type: "Coding Boss: Open Panel"
⌨️ Usage
Keyboard Shortcuts
Ctrl+Shift+A / Cmd+Shift+A - Open Coding Boss Panel
Ctrl+Shift+G / Cmd+Shift+G - Generate New Project
Ctrl+Shift+C / Cmd+Shift+C - Chat with AI Assistant
Commands
Coding Boss: Open Panel - Main interface
Coding Boss: Generate New Project - Project generator
Coding Boss: Analyze Current Project - Project analysis
Coding Boss: Chat with AI Assistant - AI chat
Coding Boss: Refresh Templates - Update templates
- Explorer: Right-click folder → Generate Project / Analyze Project
- Editor: Right-click in code → Chat with AI Assistant
⚙️ Configuration
Open VS Code Settings (Ctrl+, ) and search for "Coding Boss":
- API URL: Server URL (default:
http://127.0.0.1:8000 )
- Auto Start: Automatically start API server (default:
true )
- Ollama Model: Model for code generation (default:
codellama )
- Theme: UI theme preference (default:
auto )
🔧 API Server Setup
Option 1: Use Provided API Server
- Download the AI Code Assistant API server
- Start server:
python main.py
- Verify: Open
http://127.0.0.1:8000/health
Option 2: Ollama Integration
- Install Ollama: https://ollama.ai/download
- Pull model:
ollama pull codellama
- Start API server with Ollama support
🎨 Screenshots
Main Interface

Project Generation

AI Chat

🚀 Features in Detail
Project Generation
- One-click project creation from templates
- Automatic file generation with proper structure
- Download ready projects as ZIP files
- Custom project names and descriptions
Code Analysis
- Project structure analysis and visualization
- Language detection and dependency analysis
- Code quality suggestions and improvements
- Interactive analysis with detailed results
AI Chat
- Real-time chat with AI assistant
- Context-aware responses based on your project
- Code suggestions and debugging help
- Project-specific guidance
🔗 API Integration
The extension connects to your AI Code Assistant API server:
Endpoints Used
GET /health - Health check and status
GET /project-templates - List available templates
POST /generate-template - Generate new projects
POST /vscode-analyze - Analyze projects and code
POST /chat - AI chat functionality
GET /check-ollama - Ollama status check
🐛 Troubleshooting
Common Issues
Extension not activating
- Check VS Code version (v1.74+ required)
- Verify API server is running
- Check Developer Console for errors
API connection failed
- Ensure API server is running on
http://127.0.0.1:8000
- Check firewall settings
- Verify API server logs
Templates not loading
- Check API server status
- Use "Refresh Templates" command
- Verify API endpoint responses
Debug Steps
- Check Extension Console: Help → Toggle Developer Tools
- Check API Server: Monitor terminal running
python main.py
- Test API Directly: Open
http://127.0.0.1:8000/health in browser
🤝 Contributing
- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature
- Make changes and test thoroughly
- Commit changes:
git commit -m 'Add amazing feature'
- Push to branch:
git push origin feature/amazing-feature
- Open Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🆘 Support
🙏 Acknowledgments
- VS Code Team for the amazing extension API
- Ollama for local AI model support
- FastAPI and Django communities for excellent frameworks
Happy coding with AI Code Assistant! 🚀
| |