AutoGPT/frontend
Reinier van der Leer e44ca4185a
fix(frontend): Unbreak `ChatInputField`
Fix specification of `onSubmitted` hook in the `TextField`.
2024-02-21 02:09:23 +01:00
..
android Add google-services.json for android 2023-09-15 14:15:14 -07:00
assets Fix challenges (#5561) 2023-10-05 10:59:50 -07:00
build/web updated frontend build 2023-11-01 12:28:04 +01:00
ios Add GoogleService-Info.plist for iOS 2023-09-15 14:15:30 -07:00
lib fix(frontend): Unbreak `ChatInputField` 2024-02-21 02:09:23 +01:00
linux Add URL launcher dependency 2023-09-26 19:26:47 -07:00
macos Add URL launcher dependency 2023-09-26 19:26:47 -07:00
test Merge commit 'e5d30a9f6d0854e20049309333c2f637cd03025c' as 'frontend' 2023-09-06 11:22:37 -07:00
web Update index.html to support web 2023-09-15 14:17:44 -07:00
windows Add URL launcher dependency 2023-09-26 19:26:47 -07:00
.gitignore Added action to build and commit the frontend 2023-09-19 12:02:50 +02:00
.metadata Merge commit 'e5d30a9f6d0854e20049309333c2f637cd03025c' as 'frontend' 2023-09-06 11:22:37 -07:00
README.md docs(frontend): Add note for Linux users to instructions (#6284) 2023-11-24 20:07:09 +01:00
analysis_options.yaml Merge commit 'e5d30a9f6d0854e20049309333c2f637cd03025c' as 'frontend' 2023-09-06 11:22:37 -07:00
build.sh Serving frontend from the forge agent server (#5252) 2023-09-18 16:27:03 +02:00
pubspec.lock Add flutter_markdown dependency 2023-10-19 22:13:15 -07:00
pubspec.yaml Add flutter_markdown dependency 2023-10-19 22:13:15 -07:00
run Added cli tool for setting up and running the project 2023-09-15 15:14:06 +02:00

README.md

AutoGPT Flutter Client

Description

This repository contains the Flutter client for the AutoGPT project. The application facilitates users in discussing various tasks with a single agent. The app is built to be cross-platform and runs on Web, Android, iOS, Windows, and Mac.

Features

  • List and manage multiple tasks.
  • Engage in chat conversations related to selected tasks.

Design document

The design document for this project provides a detailed outline of the architecture, components, and other important aspects of this application. Please note that this is a living, growing document and it is subject to change as the project evolves.

You can access the design document here.

Requirements

  • Flutter 3.x
  • Dart 3.x

Flutter comes with Dart, to install Flutter, follow the instructions here: https://docs.flutter.dev/get-started/install

Installation

  1. Clone the repo:
git clone https://github.com/Significant-Gravitas/AutoGPT.git
  1. Navigate to the project directory:
cd AutoGPT/frontend
  1. Get Flutter packages:
flutter pub get
  1. Run the app:
#For chromium users on linux:
#export CHROME_EXECUTABLE=/usr/bin/chromium
flutter run -d chrome --web-port 5000

Project Structure

  • lib/: Contains the main source code for the application.
  • models/: Data models that define the structure of the objects used in the app.
  • views/: The UI components of the application.
  • viewmodels/: The business logic and data handling for the views.
  • services/: Contains the service classes that handle communication with backend APIs and other external data sources. These services are used to fetch and update data that the app uses, and they are consumed by the ViewModels.
  • test/: Contains the test files for unit and widget tests.

Responsive Design

The app features a responsive design that adapts to different screen sizes and orientations. On larger screens (Web, Windows, Mac), views are displayed side by side horizontally. On smaller screens (Android, iOS), views are displayed in a tab bar controller layout.

License

This project is licensed under the MIT License - see the LICENSE file for details.