Giter Club home page Giter Club logo

fluttergpt-intellij'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

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.

fluttergpt-intellij's People

Contributors

samyakkkk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

fluttergpt-intellij's Issues

Version Issue

I am having issue while installing this plugin,
Should I have to downgrade my android studio or upgrade?
Current version is Android Studio Dolphin | 2021.3.1 Patch 1

Screenshot 2023-05-01 142432

No response on create widget or fix error

Installation of the plugin went well and also a new openAI API key was added.

If I'm using the create widget feature I don't get any response. Same if I select the code of a widget with a small typo.
I can see that something happens on bottom right because for a brief moment, a progress bar is visible.

On my openAI account I can also see, that the API key was used. Leads to the assumption that the request went trough.

IDE: Android Studio Flamingo | 2022.2.1 Patch 1
Build #AI-222.4459.24.2221.9971841, built on April 19, 2023
Pluginversion: 1.1.2-SNAPSHOT

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.