CodeNova is a Streamlit-based chatbot powered by LangChain + Groq API that helps you generate multi-language code instantly using LLMs like Gemma:7b, LLaMA 3, and Mistral. Now supercharged with voice input, voice assistant, chat history, dark/light mode, and PDF/TXT exports , REST API testing Postman architecture , REST API monitoring , UNIT testing , Time complexity Analyzer etc multiple features .It can make your development smoother by giving🌐Multi-language Code Output 🔮 CodeNova - Your Real-Time AI Coding Buddy with real time feedback generator CodeNova is a beautifully designed, real-time AI coding assistant built with Streamlit, LangChain, and Groq API. It supports multi-language code generation (Python, Java, C++, etc.) and provides interactive features for an enhanced developer experience.
-
🔭 I’m currently working on CodeNova : Genai project
-
🌱 I’m currently learning Langchain 🔗, Langgraph 🌐
🧠 Groq API-Powered LLMs — Choose from LLaMA3-8B, LLaMA3-70B, Mixtral, or Gemma models.
🌍 Multi-Language Support — Ask questions and generate code in Python, C++, Java, JavaScript, TypeScript, etc.
🔁 Voice Input & Output — Speak your query, and hear the AI's response (powered by SpeechRecognition & gTTS).
Paste or upload code to get line-by-line explanations.
Describe functionality to generate complete code.
Generate unit tests or explain traceback errors.
Paste a function and get Big-O estimation with a growth curve visualization.
Send real-time GET, POST, PUT, DELETE requests.
Add auth tokens, custom headers, and JSON bodies.
Save and load API profiles for fast testing.
View cURL equivalents for easy CLI integration.
you can check you your API is healthy or not by giving input your API endpoint it will show you the api time table (updated feature) of CodeNova
🎨 UI & Customization 🌗 Light/Dark Theme Toggle
🎞️ Lottie Animations & Custom Fonts
📥 Drag & Drop File Uploads (for .py, .pdf, .txt, .cpp, etc.)
🧽 Clear Chat Button — Reset session memory anytime.
📦Codenova-chatbot file structure ┣📜main.py ┣📜requirements.txt ┣📜chat_memory.json ┗📂assets (optional: animations, icons, etc.)
🔐
streamlit
|
langchain
|
langchain-community
|
langchain-core
|
Groq API
|
fpdf
|
gTTS
|
SpeechRecognition
|
streamlit-lottie ai
|
httpx -(for api testing tool)
|
requests
|
plotly (from Time complexity graph)
|
numpy
Get your API key from: https://console.groq.com
Set it directly in code (or use st.secrets, .env, or config files for security):
llm = ChatGroq(api_key="your_groq_api_key", model_name="llama3-70b-8192")
# Clone this repository
git clone https://github.com/your-username/codenova-chatbot.git
cd codenova-chatbot
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# Install requirements
pip install -r requirements.txt
# Start the app
streamlit run main.py