Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
gitworkflows committed Nov 12, 2024
1 parent 0a705ec commit 1ec7cc8
Show file tree
Hide file tree
Showing 48 changed files with 646 additions and 646 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ body:
value: |
Thank you for reporting an issue :pray:.
This issue tracker is for bugs and issues found with [Bolt.new](https://bolt.new).
If you experience issues related to WebContainer, please file an issue in our [WebContainer repo](https://github.com/stackblitz/webcontainer-core), or file an issue in our [StackBlitz core repo](https://github.com/stackblitz/core) for issues with StackBlitz.
This issue tracker is for bugs and issues found with [StartGpt](https://startgpt.khulnasoft.com).
If you experience issues related to WebContainer, please file an issue in our [WebContainer repo](https://github.com/khulnasoft/webcontainer-core), or file an issue in our [KhulnaSoft core repo](https://github.com/khulnasoft/core) for issues with KhulnaSoft.
The more information you fill in, the better we can help you.
- type: textarea
Expand All @@ -20,7 +20,7 @@ body:
- type: input
id: link
attributes:
label: Link to the Bolt URL that caused the error
label: Link to the Startgpt URL that caused the error
description: Please do not delete it after reporting!
validations:
required: true
Expand Down
32 changes: 16 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
[![Bolt Open Source Codebase](./public/social_preview_index.jpg)](https://startgpt.khulnasoft.com)
[![Startgpt Open Source Codebase](./public/social_preview_index.jpg)](https://startgpt.khulnasoft.com)

> Welcome to the **Bolt** open-source codebase! This repo contains a simple example app using the core components from startgpt.khulnasoft.com to help you get started building **AI-powered software development tools** powered by StackBlitz’s **WebContainer API**.
> Welcome to the **Startgpt** open-source codebase! This repo contains a simple example app using the core components from startgpt.khulnasoft.com to help you get started building **AI-powered software development tools** powered by KhulnaSoft’s **WebContainer API**.
### Why Build with Bolt + WebContainer API
### Why Build with Startgpt + WebContainer API

By building with the Bolt + WebContainer API you can create browser-based applications that let users **prompt, run, edit, and deploy** full-stack web apps directly in the browser, without the need for virtual machines. With WebContainer API, you can build apps that give AI direct access and full control over a **Node.js server**, **filesystem**, **package manager** and **dev terminal** inside your users browser tab. This powerful combination allows you to create a new class of development tools that support all major JavaScript libraries and Node packages right out of the box, all without remote environments or local installs.
By building with the Startgpt + WebContainer API you can create browser-based applications that let users **prompt, run, edit, and deploy** full-stack web apps directly in the browser, without the need for virtual machines. With WebContainer API, you can build apps that give AI direct access and full control over a **Node.js server**, **filesystem**, **package manager** and **dev terminal** inside your users browser tab. This powerful combination allows you to create a new class of development tools that support all major JavaScript libraries and Node packages right out of the box, all without remote environments or local installs.

### What’s the Difference Between Bolt (This Repo) and [Startgpt](https://startgpt.khulnasoft.com)?
### What’s the Difference Between Startgpt (This Repo) and [Startgpt](https://startgpt.khulnasoft.com)?

- **Startgpt**: This is the **commercial product** from StackBlitz—a hosted, browser-based AI development tool that enables users to prompt, run, edit, and deploy full-stack web applications directly in the browser. Built on top of the [Bolt open-source repo](https://github.com/khulnasoft/startgpt) and powered by the StackBlitz **WebContainer API**.
- **Startgpt**: This is the **commercial product** from KhulnaSoft—a hosted, browser-based AI development tool that enables users to prompt, run, edit, and deploy full-stack web applications directly in the browser. Built on top of the [Startgpt open-source repo](https://github.com/khulnasoft/startgpt) and powered by the KhulnaSoft **WebContainer API**.

- **Bolt (This Repo)**: This open-source repository provides the core components used to make **Startgpt**. This repo contains the UI interface for Bolt as well as the server components, built using [Remix Run](https://remix.run/). By leveraging this repo and StackBlitz’s **WebContainer API**, you can create your own AI-powered development tools and full-stack applications that run entirely in the browser.
- **Startgpt (This Repo)**: This open-source repository provides the core components used to make **Startgpt**. This repo contains the UI interface for Startgpt as well as the server components, built using [Remix Run](https://remix.run/). By leveraging this repo and KhulnaSoft’s **WebContainer API**, you can create your own AI-powered development tools and full-stack applications that run entirely in the browser.

# Get Started Building with Bolt
# Get Started Building with Startgpt

Bolt combines the capabilities of AI with sandboxed development environments to create a collaborative experience where code can be developed by the assistant and the programmer together. Bolt combines [WebContainer API](https://webcontainers.io/api) with [Claude Sonnet 3.5](https://www.anthropic.com/news/claude-3-5-sonnet) using [Remix](https://remix.run/) and the [AI SDK](https://sdk.vercel.ai/).
Startgpt combines the capabilities of AI with sandboxed development environments to create a collaborative experience where code can be developed by the assistant and the programmer together. Startgpt combines [WebContainer API](https://webcontainers.io/api) with [Claude Sonnet 3.5](https://www.anthropic.com/news/claude-3-5-sonnet) using [Remix](https://remix.run/) and the [AI SDK](https://sdk.vercel.ai/).

### WebContainer API

Bolt uses [WebContainers](https://webcontainers.io/) to run generated code in the browser. WebContainers provide Bolt with a full-stack sandbox environment using [WebContainer API](https://webcontainers.io/api). WebContainers run full-stack applications directly in the browser without the cost and security concerns of cloud hosted AI agents. WebContainers are interactive and editable, and enables Bolt's AI to run code and understand any changes from the user.
Startgpt uses [WebContainers](https://webcontainers.io/) to run generated code in the browser. WebContainers provide Startgpt with a full-stack sandbox environment using [WebContainer API](https://webcontainers.io/api). WebContainers run full-stack applications directly in the browser without the cost and security concerns of cloud hosted AI agents. WebContainers are interactive and editable, and enables Startgpt's AI to run code and understand any changes from the user.

The [WebContainer API](https://webcontainers.io) is free for personal and open source usage. If you're building an application for commercial usage, you can learn more about our [WebContainer API commercial usage pricing here](https://stackblitz.com/pricing#webcontainer-api).
The [WebContainer API](https://webcontainers.io) is free for personal and open source usage. If you're building an application for commercial usage, you can learn more about our [WebContainer API commercial usage pricing here](https://khulnasoft.com/pricing#webcontainer-api).

### Remix App

Bolt is built with [Remix](https://remix.run/) and
Startgpt is built with [Remix](https://remix.run/) and
deployed using [CloudFlare Pages](https://pages.cloudflare.com/) and
[CloudFlare Workers](https://workers.cloudflare.com/).

### AI SDK Integration

Bolt uses the [AI SDK](https://github.com/vercel/ai) to integrate with AI
models. At this time, Bolt supports using Anthropic's Claude Sonnet 3.5.
You can get an API key from the [Anthropic API Console](https://console.anthropic.com/) to use with Bolt.
Take a look at how [Bolt uses the AI SDK](https://github.com/khulnasoft/startgpt/tree/main/app/lib/.server/llm)
Startgpt uses the [AI SDK](https://github.com/vercel/ai) to integrate with AI
models. At this time, Startgpt supports using Anthropic's Claude Sonnet 3.5.
You can get an API key from the [Anthropic API Console](https://console.anthropic.com/) to use with Startgpt.
Take a look at how [Startgpt uses the AI SDK](https://github.com/khulnasoft/startgpt/tree/main/app/lib/.server/llm)

## Prerequisites

Expand Down
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
[![Bolt.new: AI-Powered Full-Stack Web Development in the Browser](./public/social_preview_index.jpg)](https://bolt.new)
[![StartGpt: AI-Powered Full-Stack Web Development in the Browser](./public/social_preview_index.jpg)](https://startgpt.khulnasoft.com)

# Bolt.new: AI-Powered Full-Stack Web Development in the Browser
# StartGpt: AI-Powered Full-Stack Web Development in the Browser

Bolt.new is an AI-powered web development agent that allows you to prompt, run, edit, and deploy full-stack applications directly from your browser—no local setup required. If you're here to build your own AI-powered web dev agent using the Bolt open source codebase, [click here to get started!](./CONTRIBUTING.md)
StartGpt is an AI-powered web development agent that allows you to prompt, run, edit, and deploy full-stack applications directly from your browser—no local setup required. If you're here to build your own AI-powered web dev agent using the Startgpt open source codebase, [click here to get started!](./CONTRIBUTING.md)

## What Makes Bolt.new Different
## What Makes StartGpt Different

Claude, v0, etc are incredible- but you can't install packages, run backends or edit code. That’s where Bolt.new stands out:
Claude, v0, etc are incredible- but you can't install packages, run backends or edit code. That’s where StartGpt stands out:

- **Full-Stack in the Browser**: Bolt.new integrates cutting-edge AI models with an in-browser development environment powered by **StackBlitz’s WebContainers**. This allows you to:
- **Full-Stack in the Browser**: StartGpt integrates cutting-edge AI models with an in-browser development environment powered by **KhulnaSoft’s WebContainers**. This allows you to:
- Install and run npm tools and libraries (like Vite, Next.js, and more)
- Run Node.js servers
- Interact with third-party APIs
- Deploy to production from chat
- Share your work via a URL

- **AI with Environment Control**: Unlike traditional dev environments where the AI can only assist in code generation, Bolt.new gives AI models **complete control** over the entire environment including the filesystem, node server, package manager, terminal, and browser console. This empowers AI agents to handle the entire app lifecycle—from creation to deployment.
- **AI with Environment Control**: Unlike traditional dev environments where the AI can only assist in code generation, StartGpt gives AI models **complete control** over the entire environment including the filesystem, node server, package manager, terminal, and browser console. This empowers AI agents to handle the entire app lifecycle—from creation to deployment.

Whether you’re an experienced developer, a PM or designer, Bolt.new allows you to build production-grade full-stack applications with ease.
Whether you’re an experienced developer, a PM or designer, StartGpt allows you to build production-grade full-stack applications with ease.

For developers interested in building their own AI-powered development tools with WebContainers, check out the open-source Bolt codebase in this repo!
For developers interested in building their own AI-powered development tools with WebContainers, check out the open-source Startgpt codebase in this repo!

## Tips and Tricks

Here are some tips to get the most out of Bolt.new:
Here are some tips to get the most out of StartGpt:

- **Be specific about your stack**: If you want to use specific frameworks or libraries (like Astro, Tailwind, ShadCN, or any other popular JavaScript framework), mention them in your initial prompt to ensure Bolt scaffolds the project accordingly.
- **Be specific about your stack**: If you want to use specific frameworks or libraries (like Astro, Tailwind, ShadCN, or any other popular JavaScript framework), mention them in your initial prompt to ensure Startgpt scaffolds the project accordingly.

- **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.

- **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps Bolt understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.
- **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps Startgpt understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.

- **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask Bolt to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
- **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask Startgpt to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.

## FAQs

**Where do I sign up for a paid plan?**
Bolt.new is free to get started. If you need more AI tokens or want private projects, you can purchase a paid subscription in your [Bolt.new](https://bolt.new) settings, in the lower-left hand corner of the application.
StartGpt is free to get started. If you need more AI tokens or want private projects, you can purchase a paid subscription in your [StartGpt](https://startgpt.khulnasoft.com) settings, in the lower-left hand corner of the application.

**What happens if I hit the free usage limit?**
Once your free daily token limit is reached, AI interactions are paused until the next day or until you upgrade your plan.

**Is Bolt in beta?**
Yes, Bolt.new is in beta, and we are actively improving it based on feedback.
**Is Startgpt in beta?**
Yes, StartGpt is in beta, and we are actively improving it based on feedback.

**How can I report Bolt.new issues?**
Check out the [Issues section](https://github.com/stackblitz/bolt.new/issues) to report an issue or request a new feature. Please use the search feature to check if someone else has already submitted the same issue/request.
**How can I report StartGpt issues?**
Check out the [Issues section](https://github.com/khulnasoft/startgpt/issues) to report an issue or request a new feature. Please use the search feature to check if someone else has already submitted the same issue/request.

**What frameworks/libraries currently work on Bolt?**
Bolt.new supports most popular JavaScript frameworks and libraries. If it runs on StackBlitz, it will run on Bolt.new as well.
**What frameworks/libraries currently work on Startgpt?**
StartGpt supports most popular JavaScript frameworks and libraries. If it runs on KhulnaSoft, it will run on StartGpt as well.

**How can I add make sure my framework/project works well in bolt?**
We are excited to work with the JavaScript ecosystem to improve functionality in Bolt. Reach out to us via [hello@stackblitz.com](mailto:hello@stackblitz.com) to discuss how we can partner!
**How can I add make sure my framework/project works well in startgpt?**
We are excited to work with the JavaScript ecosystem to improve functionality in Startgpt. Reach out to us via [info@khulnasoft.com](mailto:info@khulnasoft.com) to discuss how we can partner!
Loading

0 comments on commit 1ec7cc8

Please sign in to comment.