Zenalyze is an innovative code analysis and autocomplete tool designed to enhance the coding experience for developers of all skill levels. It combines powerful lexical analysis, language detection, and AI-driven code suggestions to provide a seamless and intelligent coding environment.
- Features
- Technologies Used
- Setup and Installation
- Running the Application
- Usage Guide
- Contributing
- License
-
Real-time lexical analysis and syntax highlighting
-
Automatic language detection for C++, Java, and Python
-
AI-powered code autocomplete suggestions
-
Intelligent error detection and explanation
-
Dark/Light theme toggle
-
Code history management with efficient search functionality
-
Responsive design for various screen sizes
-
Frontend:
- React.js with TypeScript (TSX)
- Next.js for server-side rendering and routing
- Tailwind CSS for styling
- shadcn/ui for UI components
-
Backend:
- C++ for core lexical analysis and language detection
- Python for AI integration and advanced code analysis
- Google's Gemini AI API for code suggestions and error explanations
-
Build Tools:
- Webpack (integrated with Next.js)
- Babel for JavaScript transpilation
-
Version Control:
- Git
-
Clone the repository
-
Install Node.js dependencies
-
Set up Python environment
-
Compile the C++ backend
-
Set up environment variables: Create a
.envfile in the root directory and add your Gemini API key
GEMINI_API_KEY=your_api_key_here
1 Start the Next.js development server: npm run dev
- Open your browser and navigate to
http://localhost:3000
- Code Editor: Type or paste your code into the main editor area.
- Language Detection: The detected language will be displayed automatically.
- Run Analysis: Click the "Run" button to perform lexical analysis and get AI suggestions.
- View Output: Check the output area for analysis results and error explanations.
- Autocomplete: As you type, autocomplete suggestions will appear.
- History: Access your coding history using the history menu icon.
- Theme Toggle: Switch between light and dark themes using the toggle in the bottom right corner.
We welcome contributions to Zenalyze! Please follow these steps to contribute:
- Fork the repository
- Create a new branch:
git checkout -b feature-branch-name - Make your changes and commit them:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature-branch-name - Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.


