CommandDash / fluttergpt-intellij

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Refactoring 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 plugin, please navigate to IntelliJ settings -> Tools -> FlutterGPT -> Add Secret Key from here OPENAI API Key.

  2. To get started, select any piece of your dart code, open tools and you'll find all the available create and refactor actions. Details are provided above.

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

Known Issues

This is the beta version and can be unstable.

Release Notes

1.0.0

First version of FlutterGPT!

Contributing

We welcome contributions from the community. If you'd like to contribute to the project, report issues, or suggest new features, please follow the guidelines in our CONTRIBUTING.md file or reach out to us through [contact information].

License

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

About

License:Apache License 2.0


Languages

Language:Kotlin 100.0%