Welcome to Code Morph, the ultimate AI-powered code conversion and explanation tool!
Code Morph is designed to help developers seamlessly convert code from one language to another and understand complex code snippets through detailed explanations. Harnessing the power of MindsDB's Mistral-7b AI model, Code Morph provides accurate and insightful code transformations and explanations.
Clone the repository:
git clone https://github.com/jyoti-ranjan-jena/codemorph.git
cd codemorph
Setup:
cd setup
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
Configure MindsDB engine:
# Go to the MindsDB endpoint
go to http://127.0.0.1:47334
# Run the following SQL command:
CREATE ML_ENGINE minds_endpoint_engine
FROM minds_endpoint
USING
minds_endpoint_api_key = 'your-api-key';
You can get your API key at mdb.ai.
Run the MindsDB setup script:
python mindsdb_setup.py
Setup the frontend:
cd ../client
npm install
npm run dev
Run the app and start coding!
If you like Code Morph, please give us a star ⭐
Feel free to reach out for any questions, suggestions, or collaboration opportunities!
Made with ❤️ by Jyoti Ranjan Jena