CodeCraft AI is a full-stack application that generates code snippets in various programming languages based on natural language prompts. Built with a React frontend and a Flask backend, it uses a powerful language model (StarCoderBase 1B) to produce context-aware code for Python, JavaScript, Java, C++, and C#.
- 🎯 Natural language prompt to code conversion
- 🧠 Supports multiple programming languages
- ✨ Responsive UI built with Tailwind CSS
- 🔒 Backend powered by Hugging Face Transformers
- 🔁 Frontend + backend integrated and runs together
- 📦 Supports both simple and complex code generation
| Frontend | Backend | Model | Styling |
|---|---|---|---|
| React + Vite | Flask (Python) | StarCoderBase-1B via HuggingFace | Tailwind CSS |
- sort an array using quicksort in java
- create a login form in html and css
- find prime numbers using sieve of eratosthenes in c++
- write a Java method that finds the longest substring without repeating characters from a given string.
-
bigcode/starcoderbase-1b
-
Hosted via Hugging Face Transformers
-
Used locally with AutoModelForCausalLM and AutoTokenizer
● Maligi Yashika

