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.
1. Widget from Description
Create flutter widgets based on the description you provide. Be as specific as you like.
2. Model Class from JSON
Create model classes from JSON with null safety in mind. You can also choose to generate Freezed or JsonSerializable modules
3. Repository Class from Postman Json
Convert you postman collection exports json to API repository class
4. 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.
5. Create Web and Tablet Counterparts
Create Web and Tablet widgets from mobile code. Write the mobile code and let the AI do the rest. i.e create the tablet and web code.
6. Create Mobile, Web and Tablet Counterpart from description
Create Mobile, Web and Tablet widgets from description. Select a folder and write the description. The AI will create the code for you. i.e. create the mobile, tablet and web code and a selector file to choose the right code.
1. From Instruction
Refactor widgets and logic both with this command.
2. Fix Errors
Pass your runtime errors and get fixed code back.
📝 Add to Reference
LLM's work great when provided with references along with the instructions. FlutterGPT users can now add any piece of code or customized descriptions as reference and they'll be passed to model for any command being used.
Please Note: Using OpenAI APIs will incur charges. From our observations, running 500 create widget from description costs only 1$.
Ways to contribute
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@example.com if you have any questions or feedback.
Running Locally for Contribution
To get a sense of direction of where we're heading, please check out our Roadmap.
This is the beta version and can be unstable. Please check our issues board for any known issues.
Refactors and UX improvements
First version of FlutterGPT!
FlutterGPT is released under the Apache License Version 2.0. See the LICENSE file for more information.