Skip to content

ricklamers/buildanything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuildAnything

This project allows users to generate HTML code by providing instructions to an AI model. The generated code can be previewed in real-time within an iframe on the webpage.

Demo

Demo.mov

✨ Live demo (Bring Your Own Key)

Features

  • AI-Powered Code Generation: Leverage OpenAI's models to generate HTML and JavaScript code based on user input.
  • Real-Time Preview: Instantly see the results of the generated code within an embedded iframe.
  • Model Selection: Choose from various AI models to generate the code that best fits your needs.

Setup

  1. Clone the repository to your local machine.
  2. Install the dependencies with npm install.
  3. Start the server with npm start. The server will run on http://localhost:3000.

Usage

  • Enter your OpenAI API key when prompted.
  • Select an AI model from the dropdown menu.
  • Type your instructions into the textarea and click "Generate" to see the AI-generated HTML code.
  • The generated code will be displayed in the right-side panel and rendered in the iframe.

Technologies

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express.js
  • AI: OpenAI API

License

This project is open-sourced under the MIT license.

About

Generate any HTML page/app and see it stream in real-time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published