CodXCD is a premium GitHub Copilot Extension that provides comprehensive DevOps automation and tooling through natural language interactions and a modern web dashboard.
- Intelligent Code Analysis: Deep analysis of entire repositories with human-like understanding
- Automated Code Fixing: Fix security vulnerabilities, bugs, and performance issues automatically
- Human-Quality Code: Generated fixes maintain your coding style and project conventions
- Comprehensive Coverage: Handles JavaScript, TypeScript, Python, Java, and more
- Smart Pull Requests: Creates detailed PRs with explanations for all changes
- Time Tracking: Track time on issues and pull requests with visual timers
- Automated Testing: Orchestrate test suites and manage manual testing workflows
- Security Scanning: Monitor vulnerabilities and security alerts across repositories
- Project Management: Automate GitHub project boards and roadmap visualization
- CI/CD Monitoring: Track deployments and automatically fix workflow issues
- Code Quality: Assess code quality and automate review processes
- Dependency Management: Track and update package dependencies
- Release Automation: Publish releases and packages automatically
- Semantic Search: Search code using natural language queries
- Natural language commands through GitHub Copilot Chat
- Intelligent automation suggestions
- Context-aware responses and actions
- Integration with GitHub's Copilot Extensions platform
- Visit the GitHub Marketplace
- Search for "CodXCD"
- Click "Install" and follow the setup instructions
- Clone this repository
- Install dependencies:
npm install
- Configure environment variables (see
.env.example
) - Start the development server:
npm run dev
# GitHub App Configuration
GITHUB_APP_ID=your_app_id
GITHUB_PRIVATE_KEY=your_private_key
GITHUB_WEBHOOK_SECRET=your_webhook_secret
GITHUB_CLIENT_ID=your_client_id
GITHUB_CLIENT_SECRET=your_client_secret
# Database
DATABASE_URL=your_database_url
# JWT Secret
JWT_SECRET=your_jwt_secret
# Server Configuration
PORT=3001
NODE_ENV=development
FRONTEND_URL=http://localhost:5173
The app requires the following permissions:
- Repository permissions:
contents:read
,issues:write
,pull_requests:write
,checks:write
- Organization permissions:
members:read
- Account permissions:
email:read
Subscribe to these webhook events:
installation
,installation_repositories
marketplace_purchase
issues
,issue_comment
pull_request
,pull_request_review
workflow_run
,check_run
,check_suite
@codxcd Fix this entire repository
@codxcd Fix security issues in src/auth/
@codxcd Optimize performance in this project
@codxcd Modernize this codebase to ES2023
@codxcd Refactor complex functions
@codxcd Add documentation to all functions
@codxcd Start timer for issue #123
@codxcd Stop timer for issue #123
@codxcd Show my time report for this week
@codxcd Run tests for my PR
@codxcd Run security tests on main branch
@codxcd Check test coverage for src/components
@codxcd Check security alerts
@codxcd Scan for vulnerabilities
@codxcd Fix security issue CVE-2024-1234
@codxcd Deploy to staging
@codxcd Deploy main branch to production
@codxcd Check deployment status
@codxcd Rollback last deployment
@codxcd Create issue for login bug
@codxcd Move issue #123 to in progress
@codxcd Show project roadmap
- GitHub App: Handles webhooks and API interactions
- Copilot Integration: Processes chat messages and responds with actions
- AI Code Assistant: Advanced code analysis and fixing capabilities
- Database: Stores user data, time entries, and configuration
- Authentication: JWT-based auth with GitHub OAuth
- Dashboard: Modern, responsive UI with real-time updates
- Components: Reusable UI components with Framer Motion animations
- State Management: React Query for server state management
- Styling: Tailwind CSS with custom design system
src/
βββ components/ # Reusable UI components
βββ pages/ # Main application pages
βββ server/ # Backend API and webhook handlers
β βββ services/ # AI code analysis and fixing services
β βββ routes/ # API routes and Copilot integration
β βββ utils/ # Utility functions and helpers
βββ types/ # TypeScript type definitions
- Security Vulnerabilities: SQL injection, XSS, hardcoded secrets
- Bug Patterns: Null pointer risks, infinite loops, logic errors
- Performance Issues: Inefficient algorithms, memory leaks
- Code Quality: Style violations, missing documentation
- Complexity Analysis: Cyclomatic complexity, maintainability metrics
- Human-Like Code: Maintains your project's coding style and conventions
- Comprehensive Coverage: Fixes multiple issue types in a single pass
- Safe Transformations: Preserves functionality while improving code
- Detailed Documentation: Every fix includes explanation and reasoning
- Pull Request Integration: Creates professional PRs with detailed descriptions
// Before: Security vulnerability
const query = "SELECT * FROM users WHERE id = " + userId;
// After: Parameterized query
const query = "SELECT * FROM users WHERE id = ?";
const result = await db.query(query, [userId]);
// Before: Performance issue
for (let i = 0; i < array.length; i++) {
// Process array
}
// After: Optimized loop
for (let i = 0, len = array.length; i < len; i++) {
// Process array
}
- Up to 3 repositories
- Basic time tracking
- Issue management
- GitHub integration
- Community support
- 50 CI/CD runs per month
- Basic code analysis
- Unlimited repositories
- AI code fixing and analysis
- Advanced time tracking & reports
- Security vulnerability scanning
- Automated deployments
- Project roadmaps
- Priority support
- Unlimited CI/CD runs
- Custom integrations
- Everything in Pro
- SSO & SAML integration
- Advanced security controls
- Custom workflows
- Dedicated support
- SLA guarantees
- On-premise deployment
- All data is encrypted in transit and at rest
- GitHub tokens are securely stored and never logged
- Regular security audits and vulnerability scanning
- Compliance with GitHub's security requirements
- Optional on-premise deployment for Enterprise customers
POST /api/webhooks
- GitHub webhook receiverGET /health
- Health check endpoint
POST /api/copilot/chat
- Process Copilot chat messagesGET /api/copilot/capabilities
- Get extension capabilities
POST /api/ai/analyze
- Analyze repository codePOST /api/ai/fix
- Fix code issues automaticallyPOST /api/ai/optimize
- Optimize performancePOST /api/ai/modernize
- Modernize codebase
GET /api/repositories
- Get user repositoriesGET /api/stats
- Get dashboard statisticsPOST /api/time-tracking/start
- Start time trackingPOST /api/time-tracking/stop
- Stop time tracking
# Install dependencies
npm install
# Start development servers
npm run dev
# Run tests
npm test
# Build for production
npm run build
/src/components
- React components/src/pages
- Application pages/src/server
- Backend API code/src/server/services
- AI code analysis services/src/utils
- Utility functions/public
- Static assets
- Vercel: One-click deploy with GitHub integration
- Railway: Simple deployment with database included
- Docker: Full containerized deployment
- GitHub Actions: Automated CI/CD pipeline
See DEPLOYMENT.md for detailed deployment instructions.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: docs.codxcd.com
- Community: GitHub Discussions
- Email: support@codxcd.com
- Priority Support: Available for Pro and Enterprise customers
- AI Code Analysis & Fixing - Intelligent repository-wide code improvements
- Advanced AI code review capabilities
- Integration with Slack and Microsoft Teams
- Custom workflow templates
- Advanced analytics and reporting
- Mobile application
- Multi-cloud deployment support
Built with β€οΈ for the developer community. CodXCD makes DevOps workflows intelligent, automated, and delightful.