Git Product home page Git Product logo

fluttergpt's Introduction

Flutter-logo

FlutterGPT

VScode Downloads VScode version License: APACHE

Use ChatGPT right inside your IDE to create, refactor and debug Flutter code


FlutterGPT is an open-source project aimed at creating a coding assistant specifically designed for Flutter Engineers. This assistant helps with creating, refactoring, and debugging code, making the development process more efficient and enjoyable.

We're starting with simple features to create, refactor, and debug with a vision to build a supercharged, free-to-use coding assistant built for and by Flutter Engineers.

We only use GPT3.5 because it's fast, highly accurate, cheap, and is available to all.


Features

๐Ÿช„ Create

Creating Code using FlutterGPT

Widget from Description

Create flutter widgets based on the description you provide. Be as specific as you like.

FlutterGPT Create: Widget from Description

Model Class from JSON

Create model classes from JSON with null safety in mind. You can also choose to generate Freezed or JsonSerializable modules

command: FlutterGPT Create: Model Class from JSON

Repository Class from Postman Json

Convert you postman collection exports json to API repository class

command: FlutterGPT Create: API Repository from Postman JSON

Complete Code from BluePrint

Get complete code from a blueprint of a class or function with the behaviour of functions, state management and architecture of your choice.

command: FlutterGPT Create: Code from Blueprint

๐Ÿ› ๏ธ Refactor

Refactoring Code using FlutterGPT

From Instruction

Refactor widgets and logic both with this command.

command: FlutterGPT Refactor: From Instructions

Fix Errors

Pass your runtime errors and get fixed code back.

command: FlutterGPT Refactor: Fix Errors

Requirements

  1. You'll need an OpenAI account with a valid API key. For more information on obtaining an API key, please visit the OpenAI API documentation.

Getting Started

  1. After installing the extensions, please visit your VSCode setttings, search for fluttergpt.apiKey and paste the OPENAI API Key.

  2. To get started, select any piece of your dart code, open VSCode command pallete and search for FlutterGPT. You'll see all available commands. Details below.

Please Note: Using OpenAI APIs will incur charges. From our observations, running 500 create widget from description costs only 1$.

FAQs

  1. How safe and secure is it to use, and can you explain why?
  • FlutterGPT communicates directly with the SSL-encrypted OpenAI APIs, which are protected by SOC2 Compliance. Additionally, any data sent to OpenAI via the APIs is not used for training, ensuring complete privacy and security. Therefore, it is completely safe to use for personal or company projects.
  1. Do I need to pay to use FlutterGPT?
  • FlutterGPT is an open-source and free-to-use project. However, you will need to use OpenAI APIs, which are paid. You can start with a free $5 credit, which equates to approximately 2500 create widget requests. After that, you pay on a usage basis. For more information on OpenAI pricing, please refer to their website: https://openai.com/pricing
  1. I am an Android Studio user. Can I use FlutterGPT?

Contributing

We welcome contributions from the Flutter community to help improve FlutterGPT. You can contribute to the project by reporting issues, suggesting new features and taking up next tasks from the ROADMAP.md. To contribute, please follow the guidelines in our CONTRIBUTING.md file. You can also reach out to us at [email protected] if you have any questions or feedback.

Ways to contribute

  • File feature requests: If you have an idea for a new feature that'll make your development life easier, please file a feature request on our issues board.
  • Fix existing issues: You can help us by fixing any existing issues in the project. Check out our issues board to find out what needs to be done.
  • Pick up approved features: You can also contribute by picking up approved features from our Roadmap.

Roadmap

To get a sense of direction of where we're heading, please check out our Roadmap.

Known Issues

This is the beta version and can be unstable. Please check our issues board for any known issues.

Running Locally for Contribution

  1. Clone the repository.
  2. Run npm install
  3. Use the Run Extension command from launch.json for running the extension.
  4. Ensure you've specified the OPENAI secret key in the settings.

Release Notes

0.0.5

Refactors and UX improvements

0.0.4

First version of FlutterGPT!

License

FlutterGPT is released under the Apache License Version 2.0. See the LICENSE file for more information.

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.