Skip to content
/ vx.dev Public template
forked from Yuyz0112/dewhale

An open-source alternative to v0.dev. Cost-effective, highly customizable, and seamlessly integrated within GitHub.

License

Notifications You must be signed in to change notification settings

chriszhangzhao/vx.dev

 
 

Repository files navigation

vx.dev

An open-source alternative to Vercel's v0.dev. Cost-effective, highly customizable, and seamlessly integrated within GitHub.

中文文档

Quick Start

🌟You can star this repository to experience AI code generation for free 3 times.

For detailed instructions on how to set up and use vx.dev, please refer to our Guide.

You can also watch this demo video.

More examples can be found in the issue list.

Features

Lower Usage Costs

vx.dev utilizes prompt engineering techniques under the GPT-4 model to issue commands. The main cost involves the number of input and completion tokens. Our current prompt, found in prompts/ui-gen.md, includes instructions for shadcn/ui, lucide, and nivo charts.

If you do not need certain components (e.g., charts), you can reduce the API cost per generation by removing instructions from the prompt.

And you can also switch to other AI models for lower usage costs.

Easy Customization

Since vx.dev's prompt is open-sourced, you can refer to the existing prompt and replace it with other UI component libraries or coding styles as per your requirements.

You can also customize the whole workflow by yourself, e.g., a v0.dev-like Web App, and just use vx.dev's prompt as a core.

Seamless GitHub Integration

The generated code is stored on GitHub, inherently equipped with version control, code review, and collaborative features.

Additionally, you can use a private repo to keep your code generation results visible only to collaborators.

How It Works

To understand the underlying architecture and workings of vx.dev, please see our detailed Architecture Overview.

Roadmap

As vx.dev continues to evolve, we have outlined key features that we plan to implement in the near future:

  • Precise Iteration through Code Review Comments: We aim to support the ability to precisely iterate parts of the code via code review comments. This feature will allow users to make specific requests or suggestions for code modifications directly within the comments of a code review.

About

An open-source alternative to v0.dev. Cost-effective, highly customizable, and seamlessly integrated within GitHub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 31.4%
  • Vue 31.5%
  • Svelte 20.9%
  • TypeScript 14.4%
  • CSS 1.3%
  • HTML 0.3%
  • Shell 0.2%