Omex
OMEX is an AI-powered code optimization platform helping developers improve code quality. It uses Google's Gemini AI for code optimization, generation, complexity analysis, and comparison. The platform combines a modern React frontend featuring real-time code editing with a Node.js backend for AI processing.
Install / Use
/learn @Roshansuthar1105/OmexREADME

<img src="Frontend/public/bulb.png" alt="OMEX Banner" width="35" height="35" /> OMEX - AI Code Optimization Platform
<img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="100%">🌐 Connect with Me on Discord
<img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/discord.svg" width="100px" height="100px">👤 Username: sroshan1105_99788
or search for Roshan Suthar | PA
🆔 Discord ID: 1317732270047498343
✨ Overview
OMEX is an advanced AI-powered code optimization platform designed to help developers write better, cleaner, and more efficient code. Leveraging the power of Google's Gemini AI, OMEX provides a suite of tools for code optimization, generation, complexity analysis, and comparison.

📊 Project Insights
<table align="center"> <thead align="center"> <tr> <td><b>🌟 Stars</b></td> <td><b>🍴 Forks</b></td> <td><b>🐛 Issues</b></td> <td><b>🔔 Open PRs</b></td> <td><b>🔕 Closed PRs</b></td> <td><b>🛠️ Languages</b></td> <td><b>👥 Contributors</b></td> </tr> </thead> <tbody> <tr> <td><img alt="Stars" src="https://img.shields.io/github/stars/Roshansuthar1105/Omex?style=flat&logo=github"/></td> <td><img alt="Forks" src="https://img.shields.io/github/forks/Roshansuthar1105/Omex?style=flat&logo=github"/></td> <td><img alt="Issues" src="https://img.shields.io/github/issues/Roshansuthar1105/Omex?style=flat&logo=github"/></td> <td><img alt="Open PRs" src="https://img.shields.io/github/issues-pr/Roshansuthar1105/Omex?style=flat&logo=github"/></td> <td><img alt="Closed PRs" src="https://img.shields.io/github/issues-pr-closed/Roshansuthar1105/Omex?style=flat&color=critical&logo=github"/></td> <td><img alt="Languages Count" src="https://img.shields.io/github/languages/count/Roshansuthar1105/Omex?style=flat&color=green&logo=github"></td> <td><img alt="Contributors Count" src="https://img.shields.io/github/contributors/Roshansuthar1105/Omex?style=flat&color=blue&logo=github"/></td> </tr> </tbody> </table> <img src="https://user-images.githubusercontent.com/74038190/212284100-561aa473-3905-4a80-b561-0d28506553ee.gif" width="150%">🛠️ Features
💡 Code Optimization
- Smart Analysis: Identifies inefficiencies, bugs, and potential improvements in your code
- Best Practices: Suggests industry-standard coding practices
- Performance Enhancement: Recommends optimizations to improve execution time and resource usage
🤖 Code Generation
- Multi-language Support: Generates code in multiple programming languages (JavaScript, Python, Java, C++, etc.)
- Customizable: Tailor the generated code to your specific requirements
- Best Practices: Follows coding standards and best practices
📊 Complexity Analysis
- Time & Space Complexity: Analyzes the computational complexity of your algorithms
- Bottleneck Identification: Pinpoints inefficient operations that lead to performance issues
- Optimization Recommendations: Suggests alternative approaches for better performance
Code Comparison
- Line-by-Line Analysis: Quickly identifies logical and syntax errors between code snippets
- Critical Error Detection: Focuses on important issues that would cause code to fail
- Concise Explanations: Provides brief, actionable insights about each error
💻 Advanced Code Editor
- Monaco Editor Integration: Professional code editing experience with VS Code-like features
- Multi-language Support: Syntax highlighting and auto-completion for JavaScript, Python, Java, C++, C, and Go
- Enhanced Features: Line numbers, code folding, bracket matching, and intelligent auto-completion
- Theme Integration: Custom dark/light themes that sync with the app's theme context
📂 Project Folder Structure
📦 OMEX
├── 📁 .github
│ ├── 📁 ISSUE_TEMPLATE
│ │ ├── 🐛 bug_report.md # Template for reporting bugs
│ │ ├── 🌟 feature_request.md # Template for requesting new features
│ │ └── 🎨 style_enhencement.md # Template for style/enhancement issues
│ ├── 📁 workflows
│ │ ├── ⚙️ issue-create-automate-message.yml # GitHub Actions workflow - automate issue messages
│ │ └── ⚙️ pr-create-automate-message.yml # GitHub Actions workflow - automate PR messages
│ └── 📝 PULL_REQUEST_TEMPLATE.md # Template for pull requests
├── 📁 BackEnd
│ ├── 📁 src
│ │ ├── 📁 config
│ │ │ └── 📝 systemInstructions.js # System-level instructions/settings
│ │ ├── 📁 controllers
│ │ │ ├── 📝 ai.controller.js # AI controller
│ │ │ └── 📝 media.controller.js # Media controller
│ │ ├── 📁 routes
│ │ │ ├── 📝 ai.routes.js # AI routes
│ │ │ └── 📝 media.routes.js # Media routes
│ │ ├── 📁 services
│ │ │ └── 📝 ai.service.js # AI service layer
│ │ ├── 📝 app.js # Main app entry point
│ │ ├── 📝 index.html # Static landing page
│ │ └── 🔑 .env.example # Backend environment variables
│ ├── 🗄️ eng.traindata # English training data file for AI
│ ├── 📦 package-lock.json # Backend lock file
│ ├── 📦 package.json # Backend dependencies
│ └── 🖥️ server.js # Backend server
├── 📁 Frontend
│ ├── 📁 public # Static assets
│ ├── 📁 src # Frontend source
│ │ ├── 📁 components # UI reusable components
│ │ │ ├── 📁 css # Component-level CSS files
│ │ │ │ ├── 📝 Loader.css
│ │ │ │ └── 📝 NavBar.css
│ │ │ ├── 📝 AIDemo.jsx
│ │ │ ├── 📝 AiNetworkHero.jsx
│ │ │ ├── 📝 BackToTopButton.jsx
│ │ │ ├── 📝 ChatComponent.jsx
│ │ │ ├── 📝 CodeEditor.jsx
│ │ │ ├── 📝 CodeExamples.jsx
│ │ │ ├── 📝 CodeHistory.jsx
│ │ │ ├── 📝 CodeMetricsAnalyzer.jsx
│ │ │ ├── 📝 ContributorsLeaderboard.jsx
│ │ │ ├── 📝 Faq.jsx
│ │ │ ├── 📝 FeedbackButton.jsx
│ │ │ ├── 📝 FeedbackForm.jsx
│ │ │ ├── 📝 Footer.jsx
│ │ │ ├── 📝 Loader.jsx
│ │ │ ├── 📝 MediaUploader.jsx
│ │ │ ├── 📝 Nav.jsx
│ │ │ ├── 📝 Navbar.jsx
│ │ │ ├── 📝 ScrollToTop.jsx
│ │ │ ├── 📝 SummaryDisplay.jsx
│ │ │ ├── 📝 Testimonials.jsx
│ │ │ ├── 📝 TextInput.jsx
│ │ │ └── 📝 YouTubeInput.jsx
│ │ ├── 📁 context
│ │ │ └── 📝 ThemeContext.jsx
│ │ ├── 📁 pages
│ │ │ ├── 📝 Ainsights.jsx
│ │ │ ├── 📝 CodeBeautifier.jsx
│ │ │ ├── 📝 CodeCompare.jsx
│ │ │ ├── 📝 CodeComplexity.jsx
│ │ │ ├── 📝 CodeGenerator.jsx
│ │ │ ├── 📝 CodeMetrics.jsx
│ │ │ ├── 📝 CodeOptimizer.jsx
│ │ │ ├── 📝 CodeTools.jsx
│ │ │ ├── 📝 Contact.jsx
│ │ │ ├── 📝 ContentSummarizer.jsx
│ │ │ ├── 📝 Contribute.jsx
│ │ │ ├── 📝 ContributorGuide.jsx
│ │ │ ├── 📝 DependencyScanner.jsx
│ │ │ ├── 📝 ErrorDebugger.jsx
│ │ │ ├── 📝 FAQ.jsx
│ │ │ ├── 📝 Feedback.jsx
│ │ │ ├── 📝 Home.jsx
│ │ │ ├── 📝 LogoShowcase.css
│ │ │ ├── 📝 LogoShowcase.jsx
│ │ │ ├── 📝 notFound.jsx
│ │ │ ├── 📝 PerformanceAnalyzer.jsx
│ │ │ ├── 📝 PrivacyPolicy.jsx
│ │ │ ├── 📝 SecurityScanner.jsx
│ │ │ ├── 📝 Team.jsx
│ │ │ ├── 📝 TermsOfService.jsx
│ │ │ └── 📝 TestCaseGenerator.jsx
│ │ ├── 📁 store
│ │ │ └── 📝 auth.js
│ │ ├── 📁 styles
│ │ │ └── 📝 glassmorphism.css
│ │ ├── 📁 utils
│ │ │ ├── 📝 mobileUtils.js
│ │ │ └── 📝 scrollbar.js
│ │ ├── 📝 App.css
│ │ ├── 📝 App.jsx
│ │ ├── 📝 index.css
│ │ └── 📝 main.jsx
│
