CodeAssist [Code Mod] is an AI-powered code generation assistant that helps you write code faster. It uses Google's Gemini model to generate code from natural language prompts.
- Code Generation: Generate code in React and HTML from natural language prompts.
- Redesign from HTML: Redesign existing HTML code into a modern layout.
- Redesign from URL: Redesign a web page from a URL.
- AI Reasoning: Get an explanation of the generated code from the AI.
- Bring Your Own API Key: Users can use their own Gemini API key.
- Added Models: Users can select a model via the 'Bot' icon dropdown. These range from Gemma 3 to Gemini 2.5 Pro.
- Added General Chat: The AI can receive conversations like a typical chatbot and discuss technology by selecting 'Obrolan Umum' from the dropdown.
- AI fixer / co-code: At
Obrolan Umum
, AI can fix errors in problematic script code, and provide suggestions for improvements with new scripts. Simply submit the error-prone script snippet in the input form and submit.
Desktop | Mobile |
---|---|
![]() |
![]() |
To get a local copy up and running, follow these simple steps.
- Node.js and npm installed on your machine.
- A Gemini API key. You can get one from Google AI.
- Clone the repo
git clone https://github.com/daffadevhosting/codeAssist.git
- Install NPM packages
npm install
- Start the development server
npm run dev
Once the application is running, a modal will appear asking you to enter your API key. The key will be stored in your browser's local storage for future use. you can:
- Enter a prompt describing the code you want to generate.
- Select a template (React or HTML).
- Click the "Generate Code" button.