Giter Site home page Giter Site logo

lightlessdays / flutterdraw Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 2.21 MB

An open source AI based application that allows you to literally draw and build mobile applications. (Requires GPT-4 Access Key)

License: MIT License

TypeScript 98.48% CSS 0.72% JavaScript 0.79%
chatgpt dart flutter gpt lowcode nocode openai

flutterdraw's Introduction

FlutterDraw: Convert your Drawings into Flutter Apps ๐Ÿ’—

Welcome to FlutterDraw, an innovative application powered by the GPT Vision 4 API. This unique tool empowers users to sketch and design their Flutter applications on an online whiteboard and seamlessly convert these sketches into fully functional Flutter code with just one click.

Index ๐Ÿฅณ

  1. Features
  2. Requirements
  3. Getting Started
  4. Demonstration
  5. API Key
  6. Community
  7. Inspiration

Features ๐Ÿ”ฎ

  • Interactive Whiteboard: Utilize an intuitive online whiteboard interface to sketch and draw your Flutter application layout and design.
  • GPT Vision 4 Integration: Leverage the power of the GPT Vision 4 API for intelligent recognition and interpretation of your sketches.
  • One-Click Conversion: Instantly convert your sketches into complete, runnable Flutter code with a single click.
  • Customization Options: Fine-tune your designs and add specifications before conversion, including widget properties, layout configurations, and more.
  • Preview and Download: Review a preview of your generated Flutter app and easily download the code for immediate use.

Requirements โœจ

  • Compatible web browser (Chrome, Firefox, Safari, etc.)
  • Internet connectivity
  • GPT-4 Vision Access Key

Getting Started โœ…

Before getting started, make sure you have a version of Node.JS greater than 18.17 installed in your system. You can install Node.JS by clicking here. You can learn about Node.JS from here.

To get started, follow the given steps:

  • Step 1: Download the code for the repository by clicking here.
  • Step 2: Unzip the downloaded folder and open the folder in Visual Studio Code (or your favorite terminal).
  • Step 3: Get your OPENAI GPT-4 Access Key and copy the following command:
    echo OPENAI_API_KEY=sk-your-key > .env.local
    
    Make sure to replace sk-your-key with your OPENAI key. This will create a new file called $.env.local in your folder.
  • Once the command runs, enter the following command:
    npm install
    
    This command will install all the required NPM Packages for FlutterDraw.
  • Lastly, run the following command:
    npm run dev
    
    This will start the FlutterDraw server. Once the server starts, go to your favorite browser and type in the URL https://localhost:3000 or click here. This will take you to the FlutterDraw whiteboard, where you can start drawing.

Demonstration ๐ŸŽฅ

API Key ๐Ÿ”‘

To utilize the full functionality of FlutterDraw, ensure that you have obtained a valid API key for the GPT Vision 4 API. You can acquire an API key by signing up on the GPT Vision 4 platform and following the provided instructions.

Community ๐Ÿซ‚

We welcome contributions from the community! Please refer to the following files before Contributing:

Inspiration ๐Ÿ˜Ž

This project has been inspired from, and several components of the code and UI have been derived from the original project by Sawyer Hood that translated wireframes into HTML & CSS. You can check out that repository if you want to convert your drawings into HTML & CSS Code.

flutterdraw's People

Contributors

lightlessdays avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.