Skip to content

nosuta/flap

Repository files navigation


Go x Flutter frontend template

Flap

Build cross-platform Flutter apps with embedded Go.

Supported platforms

  • Web
  • Android
  • iOS
  • macOS

Getting Started

Install the CLI from GitHub Releases.

Create a new project:

flap

This checks dependencies, prompts for your app name and bundle ID, clones the template, and runs the full setup automatically.

Updating from the template

The template is set as the upstream remote. To pull in updates:

git fetch upstream
git merge upstream/master

Manual setup (without CLI)

Prerequisites

  • Go
  • Flutter
  • protoc
  • perl
  • npm (for Web)
  • TinyGo (for Web)
  • Chrome (for Web)

Setup

Create custom.mk from template.mk then fill the environments:

cp template.mk custom.mk

Prepare:

make prepare

Prepare for Web testing:

make prepare_go_wasm_test

Run

Run the Web app:

make web_run

Other options:

make help

Acknowledgements

At the early stage of this project, it was heavily influenced by flutter-openpgp, which convinced me of the potential of the Go–Flutter bridge.

About

Go x Flutter frontend template

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors