Skip to content

CodeBolt is an AI-powered web application inspired by bolt.new. It integrates the Google LLM model gemini-2.0-flash-thinking-exp-1219 to deliver real-time coding assistance, code generation, and export functionalities. Built with a React+Vite frontend and an Express.js backend, CodeBolt offers a minimalistic and efficient coding experience.

Notifications You must be signed in to change notification settings

shiva-manu/CodeBolt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

CodeBolt

CodeBolt is a modern web application inspired by bolt.new, designed to provide users with an intuitive interface for rapid, AI-assisted coding and problem-solving. This project leverages the power of Google's LLM model gemini-2.0-flash-thinking-exp-1219 to deliver seamless AI-driven functionality.

Features

  • Google LLM Integration: Utilize the Gemini-2.0 model for advanced language understanding and code generation.
  • Minimalistic Design: A sleek and user-friendly interface for enhanced productivity.
  • Rapid Responses: Get real-time AI-driven coding assistance.
  • Code Export: Generate and download code snippets for your projects.

Getting Started

Prerequisites

To set up the project locally, ensure you have the following installed:

  • Node.js (v16 or later)
  • npm or Yarn
  • A Google Cloud account with access to the Gemini-2.0 model

Folder Structure

The project is organized into two main folders:

  • client: Contains the frontend code built with React and Vite.
  • server: Contains the backend code built with Express.

Installation

Client (Frontend)

  1. Navigate to the client folder:

    cd client
  2. Install dependencies:

    npm install
    # or
    yarn install
  3. Start the development server:

    npm run dev
    # or
    yarn dev
  4. Open the application in your browser at http://localhost:3000.

Server (Backend)

  1. Navigate to the server folder:

    cd server
  2. Install dependencies:

    npm install
  3. Start the server:

    npm start
  4. The server will run at http://localhost:5000.

Environment Variables

Create a .env file in the root of the server folder with the following:

GOOGLE_LLM_KEY=your-google-cloud-api-key
MODEL_NAME=gemini-2.0-flash-thinking-exp-1219

Deployment

Client (Frontend)

  1. Build the project:

    npm run build
    # or
    yarn build
  2. Deploy the dist/ folder to your hosting service (e.g., Vercel, Netlify).

Server (Backend)

  1. Use a hosting service like Heroku, AWS, or Render.
  2. Ensure the .env variables are configured in your hosting environment.

Usage

  • Navigate to the CodeBolt website.
  • Interact with the AI by typing your coding queries or requirements.
  • Receive AI-generated solutions or code snippets.
  • Export code snippets as needed.

Tech Stack

  • Frontend: React.js, Vite, TypeScript
  • Backend: Express.js, Node.js
  • AI Integration: Google Cloud Gemini-2.0
  • Styling: TailwindCSS

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.

  2. Create a new branch for your feature or bug fix:

    git checkout -b feature-name
  3. Commit your changes and push the branch:

    git commit -m "Add feature-name"
    git push origin feature-name
  4. Open a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

About

CodeBolt is an AI-powered web application inspired by bolt.new. It integrates the Google LLM model gemini-2.0-flash-thinking-exp-1219 to deliver real-time coding assistance, code generation, and export functionalities. Built with a React+Vite frontend and an Express.js backend, CodeBolt offers a minimalistic and efficient coding experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published