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.
- 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.
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
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.
-
Navigate to the
client
folder:cd client
-
Install dependencies:
npm install # or yarn install
-
Start the development server:
npm run dev # or yarn dev
-
Open the application in your browser at
http://localhost:3000
.
-
Navigate to the
server
folder:cd server
-
Install dependencies:
npm install
-
Start the server:
npm start
-
The server will run at
http://localhost:5000
.
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
-
Build the project:
npm run build # or yarn build
-
Deploy the
dist/
folder to your hosting service (e.g., Vercel, Netlify).
- Use a hosting service like Heroku, AWS, or Render.
- Ensure the
.env
variables are configured in your hosting environment.
- 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.
- Frontend: React.js, Vite, TypeScript
- Backend: Express.js, Node.js
- AI Integration: Google Cloud Gemini-2.0
- Styling: TailwindCSS
Contributions are welcome! To contribute:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature-name
-
Commit your changes and push the branch:
git commit -m "Add feature-name" git push origin feature-name
-
Open a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.
- Inspired by bolt.new.
- Powered by Google Cloud LLM.