Repository: Decron/Whitebox-Code-GPT
Branch: main
Commit: a5dbf33d4dd9
Files: 345
Total size: 317.4 KB
Directory structure:
gitextract_6tcd7rgx/
├── .github/
│ └── FUNDING.yml
├── C++ GPT/
│ ├── .github/
│ │ └── FUNDING.yml
│ ├── Conversation Starters
│ ├── Instructions
│ ├── actions
│ └── knowledge/
│ └── standards
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── Firebase GPT/
│ ├── .github/
│ │ └── FUNDING.yml
│ ├── Conversation Starters
│ ├── Instructions
│ ├── actions
│ └── knowledge/
│ └── standards
├── Flutter GPT/
│ ├── .github/
│ │ └── FUNDING.yml
│ ├── Conversation Starters
│ ├── Instructions
│ ├── actions
│ └── knowledge/
│ ├── examples/
│ │ ├── .github/
│ │ │ ├── CODEOWNERS
│ │ │ ├── DOCS_ISSUE_TEMPLATE.md
│ │ │ ├── FUNDING.yml
│ │ │ ├── ISSUE_TEMPLATE/
│ │ │ │ ├── bug_report.md
│ │ │ │ ├── build.md
│ │ │ │ ├── chore.md
│ │ │ │ ├── ci.md
│ │ │ │ ├── config.yml
│ │ │ │ ├── documentation.md
│ │ │ │ ├── feature_request.md
│ │ │ │ ├── performance.md
│ │ │ │ ├── refactor.md
│ │ │ │ ├── revert.md
│ │ │ │ ├── style.md
│ │ │ │ └── test.md
│ │ │ ├── PULL_REQUEST_TEMPLATE.md
│ │ │ └── workflows/
│ │ │ ├── angular_bloc.yaml
│ │ │ ├── angular_dart_examples.yaml
│ │ │ ├── bloc.yaml
│ │ │ ├── bloc_concurrency.yaml
│ │ │ ├── bloc_test.yaml
│ │ │ ├── bloc_tools.yaml
│ │ │ ├── build.yaml
│ │ │ ├── docs.yaml
│ │ │ ├── flutter_bloc.yaml
│ │ │ ├── flutter_examples.yaml
│ │ │ ├── hydrated_bloc.yaml
│ │ │ └── replay_bloc.yaml
│ │ ├── .gitignore
│ │ └── flutter_bloc/
│ │ ├── angular_counter/
│ │ │ ├── .gitignore
│ │ │ └── counter_bloc.dart
│ │ ├── flutter_bloc_with_stream/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── bloc/
│ │ │ │ ├── ticker_bloc.dart
│ │ │ │ ├── ticker_event.dart
│ │ │ │ └── ticker_state.dart
│ │ │ ├── main.dart
│ │ │ └── ticker/
│ │ │ └── ticker.dart
│ │ ├── flutter_complex_list/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── complex_list/
│ │ │ │ ├── complex_list.dart
│ │ │ │ ├── cubit/
│ │ │ │ │ ├── complex_list_cubit.dart
│ │ │ │ │ └── complex_list_state.dart
│ │ │ │ ├── models/
│ │ │ │ │ ├── item.dart
│ │ │ │ │ └── models.dart
│ │ │ │ └── view/
│ │ │ │ ├── complex_list_page.dart
│ │ │ │ └── view.dart
│ │ │ ├── main.dart
│ │ │ ├── repository.dart
│ │ │ └── simple_bloc_observer.dart
│ │ ├── flutter_counter/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── counter/
│ │ │ │ ├── counter.dart
│ │ │ │ ├── cubit/
│ │ │ │ │ └── counter_cubit.dart
│ │ │ │ └── view/
│ │ │ │ ├── counter_page.dart
│ │ │ │ ├── counter_view.dart
│ │ │ │ └── view.dart
│ │ │ ├── counter_observer.dart
│ │ │ └── main.dart
│ │ ├── flutter_dynamic_form/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── main.dart
│ │ │ ├── new_car/
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── new_car_bloc.dart
│ │ │ │ │ ├── new_car_event.dart
│ │ │ │ │ └── new_car_state.dart
│ │ │ │ ├── new_car.dart
│ │ │ │ └── view/
│ │ │ │ └── new_car_page.dart
│ │ │ └── new_car_repository.dart
│ │ ├── flutter_firebase_login/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app/
│ │ │ │ ├── app.dart
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── app_bloc.dart
│ │ │ │ │ ├── app_event.dart
│ │ │ │ │ └── app_state.dart
│ │ │ │ ├── bloc_observer.dart
│ │ │ │ ├── routes/
│ │ │ │ │ └── routes.dart
│ │ │ │ └── view/
│ │ │ │ └── app.dart
│ │ │ ├── generated_plugin_registrant.dart
│ │ │ ├── home/
│ │ │ │ ├── home.dart
│ │ │ │ ├── view/
│ │ │ │ │ └── home_page.dart
│ │ │ │ └── widgets/
│ │ │ │ ├── avatar.dart
│ │ │ │ └── widgets.dart
│ │ │ ├── login/
│ │ │ │ ├── cubit/
│ │ │ │ │ ├── login_cubit.dart
│ │ │ │ │ └── login_state.dart
│ │ │ │ ├── login.dart
│ │ │ │ └── view/
│ │ │ │ ├── login_form.dart
│ │ │ │ ├── login_page.dart
│ │ │ │ └── view.dart
│ │ │ ├── main.dart
│ │ │ ├── sign_up/
│ │ │ │ ├── cubit/
│ │ │ │ │ ├── sign_up_cubit.dart
│ │ │ │ │ └── sign_up_state.dart
│ │ │ │ ├── sign_up.dart
│ │ │ │ └── view/
│ │ │ │ ├── sign_up_form.dart
│ │ │ │ ├── sign_up_page.dart
│ │ │ │ └── view.dart
│ │ │ └── theme.dart
│ │ ├── flutter_form_validation/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── bloc/
│ │ │ │ ├── my_form_bloc.dart
│ │ │ │ ├── my_form_event.dart
│ │ │ │ └── my_form_state.dart
│ │ │ ├── main.dart
│ │ │ └── models/
│ │ │ ├── email.dart
│ │ │ ├── models.dart
│ │ │ └── password.dart
│ │ ├── flutter_infinite_list/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── main.dart
│ │ │ ├── posts/
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── post_bloc.dart
│ │ │ │ │ ├── post_event.dart
│ │ │ │ │ └── post_state.dart
│ │ │ │ ├── models/
│ │ │ │ │ ├── models.dart
│ │ │ │ │ └── post.dart
│ │ │ │ ├── posts.dart
│ │ │ │ ├── view/
│ │ │ │ │ ├── posts_list.dart
│ │ │ │ │ ├── posts_page.dart
│ │ │ │ │ └── view.dart
│ │ │ │ └── widgets/
│ │ │ │ ├── bottom_loader.dart
│ │ │ │ ├── post_list_item.dart
│ │ │ │ └── widgets.dart
│ │ │ └── simple_bloc_observer.dart
│ │ ├── flutter_login/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── authentication/
│ │ │ │ ├── authentication.dart
│ │ │ │ └── bloc/
│ │ │ │ ├── authentication_bloc.dart
│ │ │ │ ├── authentication_event.dart
│ │ │ │ └── authentication_state.dart
│ │ │ ├── home/
│ │ │ │ ├── home.dart
│ │ │ │ └── view/
│ │ │ │ └── home_page.dart
│ │ │ ├── login/
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── login_bloc.dart
│ │ │ │ │ ├── login_event.dart
│ │ │ │ │ └── login_state.dart
│ │ │ │ ├── login.dart
│ │ │ │ ├── models/
│ │ │ │ │ ├── models.dart
│ │ │ │ │ ├── password.dart
│ │ │ │ │ └── username.dart
│ │ │ │ └── view/
│ │ │ │ ├── login_form.dart
│ │ │ │ ├── login_page.dart
│ │ │ │ └── view.dart
│ │ │ ├── main.dart
│ │ │ └── splash/
│ │ │ ├── splash.dart
│ │ │ └── view/
│ │ │ └── splash_page.dart
│ │ ├── flutter_shopping_cart/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── cart/
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── cart_bloc.dart
│ │ │ │ │ ├── cart_event.dart
│ │ │ │ │ └── cart_state.dart
│ │ │ │ ├── cart.dart
│ │ │ │ ├── models/
│ │ │ │ │ ├── cart.dart
│ │ │ │ │ └── models.dart
│ │ │ │ └── view/
│ │ │ │ └── cart_page.dart
│ │ │ ├── catalog/
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── catalog_bloc.dart
│ │ │ │ │ ├── catalog_event.dart
│ │ │ │ │ └── catalog_state.dart
│ │ │ │ ├── catalog.dart
│ │ │ │ ├── models/
│ │ │ │ │ ├── catalog.dart
│ │ │ │ │ ├── item.dart
│ │ │ │ │ └── models.dart
│ │ │ │ └── view/
│ │ │ │ └── catalog_page.dart
│ │ │ ├── main.dart
│ │ │ ├── shopping_repository.dart
│ │ │ └── simple_bloc_observer.dart
│ │ ├── flutter_timer/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── main.dart
│ │ │ ├── ticker.dart
│ │ │ └── timer/
│ │ │ ├── bloc/
│ │ │ │ ├── timer_bloc.dart
│ │ │ │ ├── timer_event.dart
│ │ │ │ └── timer_state.dart
│ │ │ ├── timer.dart
│ │ │ └── view/
│ │ │ └── timer_page.dart
│ │ ├── flutter_todos/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── .vscode/
│ │ │ │ └── launch.json
│ │ │ ├── app/
│ │ │ │ ├── app.dart
│ │ │ │ └── app_bloc_observer.dart
│ │ │ ├── bootstrap.dart
│ │ │ ├── edit_todo/
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── edit_todo_bloc.dart
│ │ │ │ │ ├── edit_todo_event.dart
│ │ │ │ │ └── edit_todo_state.dart
│ │ │ │ ├── edit_todo.dart
│ │ │ │ └── view/
│ │ │ │ ├── edit_todo_page.dart
│ │ │ │ └── view.dart
│ │ │ ├── generated_plugin_registrant.dart
│ │ │ ├── home/
│ │ │ │ ├── cubit/
│ │ │ │ │ ├── home_cubit.dart
│ │ │ │ │ └── home_state.dart
│ │ │ │ ├── home.dart
│ │ │ │ └── view/
│ │ │ │ ├── home_page.dart
│ │ │ │ └── view.dart
│ │ │ ├── l10n/
│ │ │ │ ├── arb/
│ │ │ │ │ └── app_en.arb
│ │ │ │ └── l10n.dart
│ │ │ ├── main_development.dart
│ │ │ ├── main_production.dart
│ │ │ ├── main_staging.dart
│ │ │ ├── stats/
│ │ │ │ ├── bloc/
│ │ │ │ │ ├── stats_bloc.dart
│ │ │ │ │ ├── stats_event.dart
│ │ │ │ │ └── stats_state.dart
│ │ │ │ ├── stats.dart
│ │ │ │ └── view/
│ │ │ │ ├── stats_page.dart
│ │ │ │ └── view.dart
│ │ │ ├── theme/
│ │ │ │ └── theme.dart
│ │ │ └── todos_overview/
│ │ │ ├── bloc/
│ │ │ │ ├── todos_overview_bloc.dart
│ │ │ │ ├── todos_overview_event.dart
│ │ │ │ └── todos_overview_state.dart
│ │ │ ├── models/
│ │ │ │ ├── models.dart
│ │ │ │ └── todos_view_filter.dart
│ │ │ ├── todos_overview.dart
│ │ │ ├── view/
│ │ │ │ ├── todos_overview_page.dart
│ │ │ │ └── view.dart
│ │ │ └── widgets/
│ │ │ ├── todo_list_tile.dart
│ │ │ ├── todos_overview_filter_button.dart
│ │ │ ├── todos_overview_options_button.dart
│ │ │ └── widgets.dart
│ │ ├── flutter_weather/
│ │ │ ├── .gitignore
│ │ │ ├── .metadata
│ │ │ ├── app.dart
│ │ │ ├── main.dart
│ │ │ ├── search/
│ │ │ │ ├── search.dart
│ │ │ │ └── view/
│ │ │ │ └── search_page.dart
│ │ │ ├── settings/
│ │ │ │ ├── settings.dart
│ │ │ │ └── view/
│ │ │ │ └── settings_page.dart
│ │ │ ├── theme/
│ │ │ │ ├── cubit/
│ │ │ │ │ └── theme_cubit.dart
│ │ │ │ └── theme.dart
│ │ │ ├── weather/
│ │ │ │ ├── cubit/
│ │ │ │ │ ├── weather_cubit.dart
│ │ │ │ │ ├── weather_cubit.g.dart
│ │ │ │ │ └── weather_state.dart
│ │ │ │ ├── models/
│ │ │ │ │ ├── models.dart
│ │ │ │ │ ├── weather.dart
│ │ │ │ │ └── weather.g.dart
│ │ │ │ ├── view/
│ │ │ │ │ └── weather_page.dart
│ │ │ │ ├── weather.dart
│ │ │ │ └── widgets/
│ │ │ │ ├── weather_empty.dart
│ │ │ │ ├── weather_error.dart
│ │ │ │ ├── weather_loading.dart
│ │ │ │ ├── weather_populated.dart
│ │ │ │ └── widgets.dart
│ │ │ └── weather_bloc_observer.dart
│ │ └── flutter_wizard/
│ │ ├── .gitignore
│ │ ├── .metadata
│ │ ├── bloc/
│ │ │ ├── profile_wizard_bloc.dart
│ │ │ ├── profile_wizard_event.dart
│ │ │ └── profile_wizard_state.dart
│ │ └── main.dart
│ ├── examples.txt
│ └── standards
├── Git Assistant/
│ ├── .github/
│ │ └── FUNDING.yml
│ ├── Conversation Starters
│ ├── Instructions
│ ├── actions
│ └── knowledge/
│ └── standards
├── LICENSE
├── Node_js GPT/
│ ├── .github/
│ │ └── FUNDING.yml
│ ├── Conversation Starters
│ ├── Instructions
│ ├── actions
│ └── knowledge/
│ └── standards
├── Python GPT/
│ ├── .github/
│ │ └── FUNDING.yml
│ ├── Conversation Starters
│ ├── Instructions
│ ├── MatPlotLibAssistant/
│ │ ├── .github/
│ │ │ └── FUNDING.yml
│ │ ├── Conversation Starters
│ │ ├── Instructions
│ │ ├── actions
│ │ └── knowledge/
│ │ ├── Examples/
│ │ │ ├── 3D/
│ │ │ │ ├── scatter3d_simple.py
│ │ │ │ ├── surface3d_simple.py
│ │ │ │ ├── trisurf3d_simple.py
│ │ │ │ ├── voxels_simple.py
│ │ │ │ └── wire3d_simple.py
│ │ │ ├── arrays/
│ │ │ │ ├── barbs.py
│ │ │ │ ├── contour.py
│ │ │ │ ├── contourf.py
│ │ │ │ ├── imshow.py
│ │ │ │ ├── pcolormesh.py
│ │ │ │ ├── quiver.py
│ │ │ │ └── streamplot.py
│ │ │ ├── basic/
│ │ │ │ ├── bar.py
│ │ │ │ ├── fill_between.py
│ │ │ │ ├── plot.py
│ │ │ │ ├── scatter_plot.py
│ │ │ │ ├── stackplot.py
│ │ │ │ ├── stairs.py
│ │ │ │ └── stem.py
│ │ │ ├── stats/
│ │ │ │ ├── boxplot_plot.py
│ │ │ │ ├── ecdf.py
│ │ │ │ ├── errorbar_plot.py
│ │ │ │ ├── eventplot.py
│ │ │ │ ├── hexbin.py
│ │ │ │ ├── hist2d.py
│ │ │ │ ├── hist_plot.py
│ │ │ │ ├── pie.py
│ │ │ │ └── violin.py
│ │ │ └── unstructured/
│ │ │ ├── tricontour.py
│ │ │ ├── tricontourf.py
│ │ │ ├── tripcolor.py
│ │ │ └── triplot.py
│ │ └── standards.txt
│ ├── actions
│ └── knowledge/
│ ├── advanced topics
│ ├── standards
│ └── subAssistants.txt
├── README.md
├── SECURITY.md
├── inventory.json
├── regex/
│ ├── .github/
│ │ └── FUNDING.yml
│ ├── Conversation Starters
│ ├── Instructions
│ ├── actions
│ └── knowledge/
│ ├── ECMA
│ ├── Go
│ ├── Java 8
│ ├── PCRE2
│ ├── Python
│ ├── Rust
│ ├── javascript
│ ├── net
│ └── standards
└── template/
├── .github/
│ └── FUNDING.yml
├── Conversation Starters
├── Instructions
├── actions
└── knowledge/
└── standards
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/FUNDING.yml
================================================
# These are supported funding model platforms
custom: ['https://www.paypal.com/paypalme/seller/Hadrio/dashboard']
================================================
FILE: C++ GPT/.github/FUNDING.yml
================================================
# These are supported funding model platforms
custom: ['https://www.paypal.com/paypalme/seller/Hadrio/dashboard']
================================================
FILE: C++ GPT/Conversation Starters
================================================
How do I optimize this C++ code?
Explain C++ polymorphism.
What's wrong with my C++ function?
Best practices for memory management in C++?
================================================
FILE: C++ GPT/Instructions
================================================
The GPT is an expert in C++ programming. It can provide detailed and accurate responses on C++ concepts, code optimization, debugging, and best practices. It should guide users in understanding complex C++ topics and offer solutions to coding problems. The GPT should avoid giving incorrect or outdated information and should not engage in topics outside its expertise in C++ programming.
================================================
FILE: C++ GPT/actions
================================================
!! In progress. This file is not live yet
{
"openapi": "3.1.0",
"info": {
"title": "GitHub Code Repository Data",
"description": "Accesses code examples from the specified GitHub repository.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.github.com"
}
],
"paths": {
"/repos/{owner}/{repo}/contents/{path}": {
"get": {
"description": "Retrieve file content from a GitHub repository",
"operationId": "GetRepoContent",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "Owner of the repository",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "Repository name",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "path",
"in": "path",
"description": "File path within the repository",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}
================================================
FILE: C++ GPT/knowledge/standards
================================================
This guide contains standards for the assistant to adhere to.
Adhering to standards is suggested but not required if it leads to poor solutions.
The specifications of the user override the standards.
================================================
FILE: CODE_OF_CONDUCT.md
================================================
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
hadriogroup@gmail.com.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
================================================
FILE: CONTRIBUTING.md
================================================
# Contribution Guidelines
Thank you for considering contributing to our project! We highly value your input and appreciate your help in making this project even better. Before you get started, please take a moment to read through these contribution guidelines.
## How to Contribute
1. **Fork the Repository**: Click the "Fork" button at the top right of this repository to create a copy in your own GitHub account.
2. **Clone the Repository**: Clone your forked repository to your local machine:
```sh
git clone https://github.com/Decron/Whitebox-Code-GPT.git
3. **Suggest new assistant**: If there is an assistant you would like to take ownership of, open an issue requesting custody, or create a pull request which adds the knowledge files of an existing assistant you'd like to include. Include links to conversation history that demostrates effectiveness.
4. Lastly, we'll help build your assistants for you:
* If you're requesting somebody help with the creation of a new assistant, open an issue titled "New GPT request:
"
* If you'd like us to add a feature to an existing assistant, open a discussion post with your suggested new features.
5. If you have a significant issue with an existing assistant, open an issue [here](https://github.com/Decron/Whitebox-Code-GPT/issues) and describe what happened. Include links to conversation history if possible.
================================================
FILE: Firebase GPT/.github/FUNDING.yml
================================================
# These are supported funding model platforms
custom: ['https://www.paypal.com/paypalme/seller/Hadrio/dashboard']
================================================
FILE: Firebase GPT/Conversation Starters
================================================
How do I integrate Firebase Authentication?
Tell me about Firebase Cloud Functions.
Best practices for Firebase Realtime Database?
Troubleshooting Firebase Firestore issues?
================================================
FILE: Firebase GPT/Instructions
================================================
This GPT is an expert in Firebase plugins and integration, providing detailed assistance and guidance on implementing and troubleshooting Firebase features in various software projects. It will offer step-by-step instructions, best practices, and troubleshooting tips tailored to specific Firebase-related queries. The GPT will focus on clarifying complex concepts, making Firebase integration more accessible to users with varying levels of experience. It will avoid providing outdated information, focus on Firebase's current capabilities, and ensure to clarify when additional context is needed for a query. The GPT's responses will be technical, accurate, and up-to-date, reflecting a deep understanding of Firebase and its ecosystem.
================================================
FILE: Firebase GPT/actions
================================================
!! In progress. This file is not live yet
{
"openapi": "3.1.0",
"info": {
"title": "GitHub Code Repository Data",
"description": "Accesses code examples from the specified GitHub repository.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.github.com"
}
],
"paths": {
"/repos/{owner}/{repo}/contents/{path}": {
"get": {
"description": "Retrieve file content from a GitHub repository",
"operationId": "GetRepoContent",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "Owner of the repository",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "Repository name",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "path",
"in": "path",
"description": "File path within the repository",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}
================================================
FILE: Firebase GPT/knowledge/standards
================================================
This guide contains standards for the assistant to adhere to.
Adhering to standards is suggested but not required if it leads to poor solutions.
The specifications of the user override the standards.
================================================
FILE: Flutter GPT/.github/FUNDING.yml
================================================
# These are supported funding model platforms
custom: ['https://www.paypal.com/paypalme/seller/Hadrio/dashboard']
================================================
FILE: Flutter GPT/Conversation Starters
================================================
Create a new page
How do I start with Flutter?
Create a Stateful widget & constructor
Tips for optimizing Flutter performance?
Create an app template
================================================
FILE: Flutter GPT/Instructions
================================================
You are Flutter GPT, a specialized assistant for Flutter development queries. Your role is to provide expert advice and solutions for Flutter-related issues. If a user presents a suboptimal solution, you suggest more efficient approaches. Your responses are informative, concise.
If commanded to create a certain class or widget, do so without commentary if possible
Remember to pay attention to general concepts that users may frequently overlook, such as null safety but don't bring it up unless its relevant.
Despite being specialist, you may assist with any other queries the user has. If you and the user cannot solve an issue together, you may direct them to the Whitebox Inventory Assistant, which catalogues other specialists for various technologies. The inventory assistant is located at https://chat.openai.com/g/g-oBpMxDEHp-inventory-assistant
================================================
FILE: Flutter GPT/actions
================================================
!! In progress. This file is not live yet
{
"openapi": "3.1.0",
"info": {
"title": "GitHub Code Repository Data",
"description": "Accesses code examples from the specified GitHub repository.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.github.com"
}
],
"paths": {
"/repos/{owner}/{repo}/contents/{path}": {
"get": {
"description": "Retrieve file content from a GitHub repository",
"operationId": "GetRepoContent",
"parameters": [
{
"name": "owner",
"in": "path",
"description": "Owner of the repository",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "path",
"description": "Repository name",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "path",
"in": "path",
"description": "File path within the repository",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}
================================================
FILE: Flutter GPT/knowledge/examples/.github/CODEOWNERS
================================================
# Every request must be reviewed and accepted by:
* @felangel
================================================
FILE: Flutter GPT/knowledge/examples/.github/DOCS_ISSUE_TEMPLATE.md
================================================
---
title: "[Translations] Update docs"
labels: documentation, translation
---
Update Translations to include changes from {{ sha }}.
- [ ] az (@KenanYusubov)
- [ ] cs
- [ ] es (@KingDarBoja or @Classy-Bear)
- [ ] fr (@sachaarbonel or @StefanYYC)
- [ ] jp (@dshukertjr)
- [ ] ko-kr (@zoomKoding)
- [ ] pt-br (@rodrigobastosv or @alisson-suzigan)
- [ ] ru (@basilex)
- [ ] zh-cn (@jakecastelli)
================================================
FILE: Flutter GPT/knowledge/examples/.github/FUNDING.yml
================================================
github: [felangel]
patreon: felangel
open_collective: bloc
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/bug_report.md
================================================
---
name: Bug Report
about: Create a report to help us improve
title: "fix: "
labels: bug
---
**Description**
A clear and concise description of what the bug is.
**Steps To Reproduce**
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected Behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional Context**
Add any other context about the problem here.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/build.md
================================================
---
name: Build System
about: Changes that affect the build system or external dependencies
title: "build: "
labels: build
---
**Description**
Describe what changes need to be done to the build system and why
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/chore.md
================================================
---
name: Chore
about: Other changes that don't modify src or test files
title: "chore: "
labels: chore
---
**Description**
Clearly describe what change is needed and why. If this changes code then please use another issue type.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/ci.md
================================================
---
name: Continuous Integration
about: Changes to the CI configuration files and scripts
title: "ci: "
labels: ci
---
**Description**
Describe what changes need to be done to the ci/cd system and why
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/documentation.md
================================================
---
name: Documentation
about: Improve the documentation so all collaborators have a common understanding
title: "docs: "
labels: documentation
---
**Description**
Clearly describe what documentation you are looking to add or improve.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/feature_request.md
================================================
---
name: Feature Request
about: A new feature to be added to the project
title: "feat: "
labels: feature
---
**Description**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Desired Solution**
A clear and concise description of what you want to happen.
**Alternatives Considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional Context**
Add any other context or screenshots about the feature request go here.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/performance.md
================================================
---
name: Performance Update
about: A code change that improves performance
title: "perf: "
labels: performance
---
**Description**
Clearly describe what code needs to be changed and what the performance impact is going to be.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/refactor.md
================================================
---
name: Refactor
about: A code change that neither fixes a bug nor adds a feature
title: "refactor: "
labels: refactor
---
**Description**
Clearly describe what needs to be refactored any why. Please provide links to related issues (bugs or upcoming features) in order to help prioritize.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/revert.md
================================================
---
name: Revert Commit
about: Reverts a previous commit
title: "revert: "
labels: revert
---
**Description**
Provide a link to a PR/Commit that you are looking to revert and why.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/style.md
================================================
---
name: Style Changes
about: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
title: "style: "
labels: style
---
**Description**
Clearly describe what you are looking to change and why.
================================================
FILE: Flutter GPT/knowledge/examples/.github/ISSUE_TEMPLATE/test.md
================================================
---
name: Test
about: Adding missing tests or correcting existing tests
title: "test: "
labels: test
---
**Description**
List out the tests that need to be added or changed. Please also include any information as to why this was not covered in the past.
================================================
FILE: Flutter GPT/knowledge/examples/.github/PULL_REQUEST_TEMPLATE.md
================================================
## Status
**READY/IN DEVELOPMENT/HOLD**
## Breaking Changes
YES | NO
## Description
## Type of Change
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/angular_bloc.yaml
================================================
name: angular_bloc
on:
push:
paths:
- "packages/angular_bloc/**"
- ".github/workflows/angular_bloc.yaml"
pull_request:
paths:
- "packages/angular_bloc/**"
- ".github/workflows/angular_bloc.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/angular_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 3.0.0
- name: Install Dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run Tests
run: |
dart pub global activate coverage 1.2.0
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/angular_bloc/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/angular_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh 110
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/angular_dart_examples.yaml
================================================
name: angular_dart_examples
on:
push:
paths:
- ".github/workflows/angular_dart_examples.yaml"
- "packages/angular_bloc/**"
- "examples/angular_counter/**"
- "examples/github_search/common_github_search/**"
- "examples/github_search/angular_github_search/**"
pull_request:
paths:
- ".github/workflows/angular_dart_examples.yaml"
- "packages/angular_bloc/**"
- "examples/angular_counter/**"
- "examples/github_search/common_github_search/**"
- "examples/github_search/angular_github_search/**"
jobs:
examples:
strategy:
matrix:
folder:
[
"examples/angular_counter",
"examples/github_search/common_github_search",
"examples/github_search/angular_github_search",
]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 3.0.0
- name: Install Dependencies
working-directory: ${{ matrix.folder }}
run: dart pub get
- name: Install webdev
if: matrix.folder != 'examples/github_search/common_github_search'
working-directory: ${{ matrix.folder }}
run: |
dart pub global activate webdev
webdev build
- name: Format
working-directory: ${{ matrix.folder }}
run: dart format --set-exit-if-changed .
- name: Analyze
working-directory: ${{ matrix.folder }}
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run tests
working-directory: ${{ matrix.folder }}
run: |
if [ -d "test" ]; then
dart run build_runner test --fail-on-severe
fi
build:
needs: [examples]
runs-on: ubuntu-latest
steps:
- name: noop
run: echo 'noop'
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/bloc.yaml
================================================
name: bloc
on:
push:
paths:
- "packages/bloc/**"
- ".github/workflows/bloc.yaml"
pull_request:
paths:
- "packages/bloc/**"
- ".github/workflows/bloc.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run Tests
run: |
dart pub global activate coverage 1.2.0
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/bloc/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/bloc_concurrency.yaml
================================================
name: bloc_concurrency
on:
push:
paths:
- "packages/bloc_concurrency/**"
- ".github/workflows/bloc_concurrency.yaml"
pull_request:
paths:
- "packages/bloc_concurrency/**"
- ".github/workflows/bloc_concurrency.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/bloc_concurrency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run Tests
run: |
dart pub global activate coverage 1.2.0
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/bloc_concurrency/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/bloc_concurrency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/bloc_test.yaml
================================================
name: bloc_test
on:
push:
paths:
- "packages/bloc_test/**"
- ".github/workflows/bloc_test.yaml"
pull_request:
paths:
- "packages/bloc_test/**"
- ".github/workflows/bloc_test.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/bloc_test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .
- name: Run Tests
run: |
dart pub global activate coverage 1.2.0
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --report-on=lib
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/bloc_test/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/bloc_test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/bloc_tools.yaml
================================================
name: bloc_tools
on:
pull_request:
paths:
- ".github/workflows/bloc_tools.yaml"
- "packages/bloc_tools/**"
push:
branches:
- master
paths:
- ".github/workflows/bloc_tools.yaml"
- "packages/bloc_tools/**"
jobs:
build:
defaults:
run:
working-directory: packages/bloc_tools
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: flutter packages get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: flutter analyze .
- name: Verify Build
run: flutter pub run test --run-skipped -t pull-request-only
- name: Run Tests
run: flutter test -x pull-request-only --no-pub --coverage --test-randomize-ordering-seed random
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/bloc_tools/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/bloc_tools
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/build.yaml
================================================
name: build
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: noop
run: echo 'noop'
semantic_pull_request:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1
pana:
runs-on: ubuntu-latest
steps:
- name: noop
run: echo 'noop'
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/docs.yaml
================================================
name: docs
on:
push:
branches:
- master
paths:
- '.github/workflows/docs.yaml'
- 'README.md'
- 'docs/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/DOCS_ISSUE_TEMPLATE.md
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/flutter_bloc.yaml
================================================
name: flutter_bloc
on:
push:
paths:
- "packages/flutter_bloc/**"
- ".github/workflows/flutter_bloc.yaml"
pull_request:
paths:
- "packages/flutter_bloc/**"
- ".github/workflows/flutter_bloc.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/flutter_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: flutter packages get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: flutter analyze lib test example
- name: Run tests
run: flutter test --no-pub --coverage --test-randomize-ordering-seed random
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/flutter_bloc/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/flutter_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/flutter_examples.yaml
================================================
name: flutter_examples
on:
push:
paths:
- ".github/workflows/flutter_examples.yaml"
- "packages/flutter_bloc/**"
- "examples/flutter_bloc_with_stream/**"
- "examples/flutter_complex_list/**"
- "examples/flutter_counter/**"
- "examples/flutter_dynamic_form/**"
- "examples/flutter_firebase_login/**"
- "examples/flutter_form_validation/**"
- "examples/flutter_infinite_list/**"
- "examples/flutter_login/**"
- "examples/flutter_shopping_cart/**"
- "examples/flutter_timer/**"
- "examples/flutter_todos/**"
- "examples/flutter_weather/**"
- "examples/flutter_wizard/**"
- "examples/github_search/flutter_github_search/**"
pull_request:
paths:
- ".github/workflows/flutter_examples.yaml"
- "packages/flutter_bloc/**"
- "examples/flutter_bloc_with_stream/**"
- "examples/flutter_complex_list/**"
- "examples/flutter_counter/**"
- "examples/flutter_dynamic_form/**"
- "examples/flutter_firebase_login/**"
- "examples/flutter_form_validation/**"
- "examples/flutter_infinite_list/**"
- "examples/flutter_login/**"
- "examples/flutter_shopping_cart/**"
- "examples/flutter_timer/**"
- "examples/flutter_todos/**"
- "examples/flutter_weather/**"
- "examples/flutter_wizard/**"
- "examples/github_search/flutter_github_search/**"
jobs:
examples:
strategy:
matrix:
folder:
[
"packages/flutter_bloc/example",
"examples/flutter_bloc_with_stream",
"examples/flutter_complex_list",
"examples/flutter_counter",
"examples/flutter_dynamic_form",
"examples/flutter_firebase_login",
"examples/flutter_form_validation",
"examples/flutter_infinite_list",
"examples/flutter_login",
"examples/flutter_shopping_cart",
"examples/flutter_timer",
"examples/flutter_todos",
"examples/flutter_todos/packages/local_storage_todos_api",
"examples/flutter_todos/packages/todos_api",
"examples/flutter_todos/packages/todos_repository",
"examples/flutter_weather",
"examples/flutter_wizard",
"examples/github_search/flutter_github_search",
]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
working-directory: ${{ matrix.folder }}
run: flutter packages get
- name: Format
working-directory: ${{ matrix.folder }}
run: dart format --set-exit-if-changed lib
- name: Analyze
working-directory: ${{ matrix.folder }}
run: flutter analyze lib
- name: Run tests
working-directory: ${{ matrix.folder }}
run: |
if [ -d "test" ]; then
flutter test --no-pub --test-randomize-ordering-seed random
fi
build:
needs: [examples]
runs-on: ubuntu-latest
steps:
- name: noop
run: echo 'noop'
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/hydrated_bloc.yaml
================================================
name: hydrated_bloc
on:
push:
paths:
- "packages/hydrated_bloc/**"
- ".github/workflows/hydrated_bloc.yaml"
pull_request:
paths:
- "packages/hydrated_bloc/**"
- ".github/workflows/hydrated_bloc.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/hydrated_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: flutter pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: flutter analyze lib test example
- name: Run tests
run: flutter test -j 1 --no-pub --coverage --test-randomize-ordering-seed random
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/hydrated_bloc/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/hydrated_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh 110
================================================
FILE: Flutter GPT/knowledge/examples/.github/workflows/replay_bloc.yaml
================================================
name: replay_bloc
on:
push:
paths:
- "packages/replay_bloc/**"
- ".github/workflows/replay_bloc.yaml"
pull_request:
paths:
- "packages/replay_bloc/**"
- ".github/workflows/replay_bloc.yaml"
jobs:
build:
defaults:
run:
working-directory: packages/replay_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: flutter pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: flutter analyze lib test example
- name: Run tests
run: flutter test -j 1 --no-pub --coverage --test-randomize-ordering-seed random
- name: Check Code Coverage
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: packages/replay_bloc/coverage/lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pana:
defaults:
run:
working-directory: packages/replay_bloc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.10.0
- name: Install Dependencies
run: |
flutter packages get
flutter pub global activate pana
sudo apt-get install webp
- name: Verify Pub Score
run: ../../tool/verify_pub_score.sh
================================================
FILE: Flutter GPT/knowledge/examples/.gitignore
================================================
# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# Visual Studio Code related
.classpath
.project
.settings/
.vscode/*
# Flutter repo-specific
/bin/cache/
/bin/mingit/
/dev/benchmarks/mega_gallery/
/dev/bots/.recipe_deps
/dev/bots/android_tools/
/dev/docs/doc/
/dev/docs/flutter.docs.zip
/dev/docs/lib/
/dev/docs/pubspec.yaml
/dev/integration_tests/**/xcuserdata
/dev/integration_tests/**/Pods
/packages/flutter/coverage/
version
# packages file containing multi-root paths
.packages.generated
# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
build/
flutter_*.png
linked_*.ds
unlinked.ds
unlinked_spec.ds
# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
**/android/key.properties
*.jks
# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
# Coverage
coverage/
coverage_badge.svg
.test_coverage.dart
*.lcov
nohup.out
# Mason
mason-lock.json
.mason
# Exceptions to above rules.
!.vscode/launch.json
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
!/dev/ci/**/Gemfile.lock
================================================
FILE: Flutter GPT/knowledge/examples/flutter_bloc/angular_counter/.gitignore
================================================
# Files and directories created by pub
.dart_tool/
.packages
# Remove the following pattern if you wish to check in your lock file
pubspec.lock
# Conventional directory for build outputs
build/
# Directory created by dartdoc
doc/api/
================================================
FILE: Flutter GPT/knowledge/examples/flutter_bloc/angular_counter/counter_bloc.dart
================================================
import 'package:bloc/bloc.dart';
/// Base counter event.
sealed class CounterEvent {}
/// Notifies bloc to increment state.
final class CounterIncrementPressed extends CounterEvent {}
/// Notifies bloc to decrement state.
final class CounterDecrementPressed extends CounterEvent {}
/// {@template counter_bloc}
/// A simple [Bloc] that manages an `int` as its state.
/// {@endtemplate}
class CounterBloc extends Bloc {
/// {@macro counter_bloc}
CounterBloc() : super(0) {
on((event, emit) => emit(state + 1));
on((event, emit) => emit(state - 1));
}
}
================================================
FILE: Flutter GPT/knowledge/examples/flutter_bloc/flutter_bloc_with_stream/.gitignore
================================================
# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# Visual Studio Code related
.vscode/
# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.packages
.pub-cache/
.pub/
build/
# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
================================================
FILE: Flutter GPT/knowledge/examples/flutter_bloc/flutter_bloc_with_stream/.metadata
================================================
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
version:
revision: b1c77b7ed32346fe829c0ca97bd85d19290d54ae
channel: beta
project_type: app
# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: b1c77b7ed32346fe829c0ca97bd85d19290d54ae
base_revision: b1c77b7ed32346fe829c0ca97bd85d19290d54ae
- platform: android
create_revision: b1c77b7ed32346fe829c0ca97bd85d19290d54ae
base_revision: b1c77b7ed32346fe829c0ca97bd85d19290d54ae
- platform: ios
create_revision: b1c77b7ed32346fe829c0ca97bd85d19290d54ae
base_revision: b1c77b7ed32346fe829c0ca97bd85d19290d54ae
# User provided section
# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
================================================
FILE: Flutter GPT/knowledge/examples/flutter_bloc/flutter_bloc_with_stream/bloc/ticker_bloc.dart
================================================
import 'package:bloc/bloc.dart';
import 'package:bloc_concurrency/bloc_concurrency.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter_bloc_with_stream/ticker/ticker.dart';
part 'ticker_event.dart';
part 'ticker_state.dart';
/// {@template ticker_bloc}
/// Bloc which manages the current [TickerState]
/// and depends on a [Ticker] instance.
/// {@endtemplate}
class TickerBloc extends Bloc {
/// {@macro ticker_bloc}
TickerBloc(Ticker ticker) : super(TickerInitial()) {
on(
(event, emit) async {
await emit.onEach(
ticker.tick(),
onData: (tick) => add(_TickerTicked(tick)),
);
emit(const TickerComplete());
},
transformer: restartable(),
);
on<_TickerTicked>((event, emit) => emit(TickerTickSuccess(event.tick)));
}
}
================================================
FILE: Flutter GPT/knowledge/examples/flutter_bloc/flutter_bloc_with_stream/bloc/ticker_event.dart
================================================
part of 'ticker_bloc.dart';
/// {@template ticker_event}
/// Base class for all [TickerEvent]s which are
/// handled by the [TickerBloc].
/// {@endtemplate}
sealed class TickerEvent extends Equatable {
/// {@macro ticker_event}
const TickerEvent();
@override
List