Skip to content

Othamae/image2code

Repository files navigation

Image2Code

Image2Code is a cutting-edge project created for learning purposes, leveraging the power of artificial intelligence to convert images into code snippets. With a focus on simplicity and efficiency, this tool aims to streamline the process of translating visual designs into functional code.

Getting Started

Before you begin, ensure you have the following prerequisites:

Installation

  1. Clone the repository:

    git clone https://github.com/Othamae/image2code.git
  2. Navigate to the project directory:

    cd image2code
  3. Install dependencies:

     npm install
     # or
     yarn install
  4. Create a .env file in the root of the project with the following content:

    OPENAI_API_KEY=your_openai_api_key

    Replace your_openai_api_key with your actual OpenAI API key.

Development

To run the project in development mode, use the following script:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published