Skip to content

daffadevhosting/codeAssist

Repository files navigation

CodeAssist (Code Mod)

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.

Features

  • 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.
    • New Features:

    • 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.

Screen

Desktop Mobile
screenshot screenshot

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

  • Node.js and npm installed on your machine.
  • A Gemini API key. You can get one from Google AI.

Local Installation

  1. Clone the repo
    git clone https://github.com/daffadevhosting/codeAssist.git
  2. Install NPM packages
    npm install
  3. Start the development server
    npm run dev

Usage

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:

  1. Enter a prompt describing the code you want to generate.
  2. Select a template (React or HTML).
  3. Click the "Generate Code" button.

About

Free Code generation assistant that helps you write code faster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages