Skip to content

The official graphical user interface for Fungi, built with Flutter.

Notifications You must be signed in to change notification settings

enbop/fungi-app

Repository files navigation

Fungi App

The official graphical user interface for Fungi, built with Flutter.

File Transfer Interface Data Tunnel Interface

Architecture

Fungi App communicates with the underlying fungi binary via gRPC. The app manages the lifecycle of the daemon process.

Development

Prerequisites

  1. Flutter SDK: Ensure you have the latest Flutter SDK installed.
  2. Fungi Artifacts: This project requires pre-built fungi binaries and proto files.
    • Create a fungi-artifacts directory in the project root.
    • Place the fungi (or fungi.exe) binary for your platform in fungi-artifacts/.
    • Place fungi_daemon.proto in fungi-artifacts/.
  3. macOS: If you're building on macOS, install CocoaPods (required for macOS Flutter plugins):
    brew install cocoapods
    pod setup

Code Generation

If you modify the .proto definitions, regenerate the Dart gRPC code:

# Install protoc_plugin
dart pub global activate protoc_plugin 21.1.2

# Update path
export PATH="$PATH:$HOME/.pub-cache/bin"

# Regenerate gRPC code
protoc --dart_out=grpc:lib/src/grpc/generated -Ifungi-artifacts fungi-artifacts/fungi_daemon.proto

Running the App

flutter pub get
flutter run

About

The official graphical user interface for Fungi, built with Flutter.

Resources

Stars

Watchers

Forks

Packages

No packages published