Easily build and deploy your Dart web app to GitHub pages

Related tags

Templates dart flutter
Overview

Pub Package CI

Run flutter build web or dart pub run build_runner build and put the output in another branch. An easy way to update gh-pages.

Install

$ dart pub global activate peanut

or

$ flutter pub global activate peanut

Run

$ peanut

or

$ flutter pub global run peanut

This will build your project into a temporary directory, and then it will update the local gh-pages branch with the build output.

Read more about peanut in this article.

Options

$ peanut --help
Usage: peanut [<args>]

Arguments:
-d, --directories                The directories that should be built.
                                 (defaults to "web")
-b, --branch                     The git branch where the built content should
                                 be committed.
                                 (defaults to "gh-pages")
-c, --build-config               The configuration to use when running
                                 `build_runner`.
    --[no-]release               Flutter: enabled passes `--release`, otherwise
                                 passes `--profile`.
                                 Other: enabled passes `--release`, otherwise
                                 passes `--no-release`.
                                 (defaults to on)
-m, --message                    (defaults to "Built <directories>")
    --[no-]source-branch-info    Includes the name of the source branch and SHA
                                 in the commit message
                                 (defaults to on)
    --post-build-dart-script     Optional Dart script to run after all builds
                                 have completed, but before files are committed
                                 to the repository.
    --builder-options            Builder options YAML or a path to a file
                                 containing builder options YAML.
                                 See the README for details.
    --[no-]verbose               Print more details when running.
    --dry-run                    Verifies configuration and prints commands that
                                 would be executed, but does not do any work.
    --web-renderer               The renderer implementation to use when
                                 building for the web. Flutter web only.

          [canvaskit]            This renderer uses WebGL and WebAssembly to
                                 render graphics.
          [html] (default)       This renderer uses a combination of HTML, CSS,
                                 SVG, 2D Canvas, and WebGL.

    --extra-args                 Extra arguments to provide to the target CLI
                                 within a single string.
                                 Examples:
                                 --extra-args "--dart-define TEST_VAR=123"
                                 --extra-args "--dart-define --base-href=/base/"
-h, --help                       Prints usage information.
    --version                    Print the current version.

Configuration file

peanut also supports a configuration file. Convenient if you have one-off settings you'd rather not type every time you deploy.

The peanut.yaml from this repository:

# Configuration for https://pub.dev/packages/peanut
directories:
  - example

Examples

Git tricks

The easiest way to push your gh-pages branch to github (without switching from your working branch) is:

$ git push origin --set-upstream gh-pages

To create (or update) your local gh-pages branch to match what's on the server.

$ git update-ref refs/heads/gh-pages origin/gh-pages

This is also useful if you want to undo a peanut run.

Comments
  • RangeError when running on codeship platform

    RangeError when running on codeship platform

    I am building this github repo with peanut https://github.com/Mixolyde/blaseballstatus And it works fine on my home windows laptop. When I run peanut on CodeShip, a public CI/CD web app, I get the attached error. Screenshot_20200914-144749_Chrome I am sure this has something to do with their environment, but the error message isn't too helpful. Basically they spin up an empty linux box, clone your repo and then execute whatever shell commands you give it. The full build output might be viewable here:

    https://app.codeship.com/projects/408806/builds/48930950?pipeline=4e51b1cf-84a2-4057-b69b-ca1d74a4214e

    Any insight on how to debug or diagnose this weird issue would be great.

    opened by Mixolyde 22
  • "build web" is not currently supported.

    "build web" is not currently supported. pub failed (1)

    After Flutter v1.9 flutter build web cmd has been removed. Therefore, the "peanut" command is not working as it tries to run "build web" command.

     flutter pub  global run peanut
    Validating packages:
      C:\Users\Jerin Francis\IdeaProjects\jerinfrancis_website
    
    Package:     C:\Users\Jerin Francis\IdeaProjects\jerinfrancis_website
    Directories: web
    Command:     flutter build web
    
    Deleting 'build\'.
    Deleting 'C:\Users\Jerin Francis\IdeaProjects\jerinfrancis_website\.dart_tool\'.
    Deleting 'C:\Users\Jerin Francis\IdeaProjects\jerinfrancis_website\.android\'.
    Deleting 'C:\Users\Jerin Francis\IdeaProjects\jerinfrancis_website\.ios\'.
    "build web" is not currently supported.
    Error running "C:\Users\Jerin Francis\flutter\bin\flutter.bat build
    web"
    Exit code 1
    
    bug 
    opened by JerinFrancisA 11
  • peanut doesn't generate main.dart.js for Flutter app

    peanut doesn't generate main.dart.js for Flutter app

    I have a tiny Flutter app that I want to publish to github pages.

    Using flutter pub global run peanut:peanut returns normally, but peanut skips building the app itself (the js files) and only creates the other files in the repo (listing here):

    Screen Shot 2021-02-20 at 10 03 30

    I tried running with --canvas-kit in case it will make a difference, but unfortunately, it didn't.

    Maybe relevant: I'm using fvm for Flutter version management.

    I'm happy to explore ways to debug this further, or I can update the README if needed.

    Here's the verbose output:

    % flutter pub global run peanut:peanut --verbose
    [ +185 ms] executing: [/Users/filiph/fvm/versions/beta/] git -c log.showSignature=false log -n 1 --pretty=format:%H
    [  +87 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
    [  +11 ms] a29104a69b102a7485cd00d358eaeab219d258ab
    [   +2 ms] executing: [/Users/filiph/fvm/versions/beta/] git tag --points-at a29104a69b102a7485cd00d358eaeab219d258ab
    [  +45 ms] Exit code 0 from: git tag --points-at a29104a69b102a7485cd00d358eaeab219d258ab
    [        ] 1.26.0-17.6.pre
    [ +106 ms] executing: [/Users/filiph/fvm/versions/beta/] git rev-parse --abbrev-ref --symbolic @{u}
    [  +30 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
    [        ] origin/beta
    [        ] executing: [/Users/filiph/fvm/versions/beta/] git ls-remote --get-url origin
    [  +19 ms] Exit code 0 from: git ls-remote --get-url origin
    [        ] https://github.com/flutter/flutter.git
    [ +128 ms] executing: [/Users/filiph/fvm/versions/beta/] git rev-parse --abbrev-ref HEAD
    [  +39 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
    [   +1 ms] beta
    [  +24 ms] executing: sw_vers -productName
    [  +32 ms] Exit code 0 from: sw_vers -productName
    [        ] macOS
    [        ] executing: sw_vers -productVersion
    [  +20 ms] Exit code 0 from: sw_vers -productVersion
    [        ] 11.2.1
    [        ] executing: sw_vers -buildVersion
    [  +21 ms] Exit code 0 from: sw_vers -buildVersion
    [        ] 20D74
    [  +15 ms] executing: sysctl hw.optional.arm64
    [  +12 ms] Exit code 0 from: sysctl hw.optional.arm64
    [        ] hw.optional.arm64: 1
    [  +85 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
    [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
    [  +57 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
    [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
    [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
    [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
    [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
    [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
    [  +41 ms] executing: /Users/filiph/fvm/versions/beta/bin/cache/dart-sdk/bin/pub global run peanut:peanut --verbose
    Validating packages:
      /Users/filiph/dev/human_life
    
    Package:     /Users/filiph/dev/human_life
    Directories: web
    Command:     pub run build_runner build --release \
                   --output web:/var/folders/54/z2sqwtn97y1ftg9plxgrqrv00000gn/T/peanut.1613844050422.i7w4Yf
    
    [INFO] Generating build script...
    [INFO] Generating build script completed, took 883ms
    
    [INFO] Initializing inputs
    [INFO] Reading cached asset graph...
    [INFO] Reading cached asset graph completed, took 367ms
    
    [INFO] Checking for updates since last build...
    [INFO] Checking for updates since last build completed, took 975ms
    
    [INFO] Running build...
    [INFO] Running build completed, took 218ms
    
    [INFO] Caching finalized dependency graph...
    [INFO] Caching finalized dependency graph completed, took 298ms
    
    [INFO] Creating merged output dir `/var/folders/54/z2sqwtn97y1ftg9plxgrqrv00000gn/T/peanut.1613844050422.i7w4Yf`...
    [INFO] Creating merged output dir `/var/folders/54/z2sqwtn97y1ftg9plxgrqrv00000gn/T/peanut.1613844050422.i7w4Yf` completed, took 67ms
    
    [INFO] Writing asset manifest...
    [INFO] Writing asset manifest completed, took 4ms
    
    [INFO] Succeeded after 625ms with 0 outputs (0 actions)
    
    
    Deleting extra files from output directory
      .packages
      .build.manifest
      packages/_fe_analyzer_shared/src/parser/parser.md
      packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.js
      packages/flutter/fix_data.yaml
      packages/flutter/analysis_options_user.yaml
      packages/flutter/src/foundation/README.md
      packages/sky_engine/_embedder.yaml
      packages/build_runner/src/server/build_updates_client/hot_reload_client.dart.js
      packages/build_runner/src/server/build_updates_client/live_reload_client.js
      packages/build_runner/src/server/README.md
      packages/build_runner/src/server/graph_viz.js
      packages/build_runner/src/server/graph_viz_main.dart.js
      packages/build_runner/src/server/graph_viz.html
      packages/pedantic/analysis_options.1.0.0.yaml
      packages/pedantic/analysis_options.1.2.0.yaml
      packages/pedantic/analysis_options.1.6.0.yaml
      packages/pedantic/analysis_options.1.8.0.yaml
      packages/pedantic/analysis_options.1.4.0.yaml
      packages/pedantic/analysis_options.1.1.0.yaml
      packages/pedantic/analysis_options.1.3.0.yaml
      packages/pedantic/analysis_options.yaml
      packages/pedantic/analysis_options.1.7.0.yaml
      packages/pedantic/analysis_options.1.9.0.yaml
      packages/pedantic/analysis_options.1.5.0.yaml
      packages/$sdk/_internal/strong.sum
      packages/$sdk/dev_compiler/web/dart_stack_trace_mapper.js
      packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js
      packages/$sdk/dev_compiler/kernel/amd/require.js
      packages/$sdk/dev_compiler/kernel/common/dart_sdk.js
      packages/$sdk/dev_compiler/kernel/common/run.js
      packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js
      packages/analyzer/src/summary/format.fbs
      .dart_tool/package_config.json
    
    Deleted files: 34
    
    No change in branch "gh-pages". No commit created.
    
    [+8674 ms] "flutter global" took 8,797ms.
    [ +162 ms] ensureAnalyticsSent: 127ms
    [   +2 ms] Running shutdown hooks
    [        ] Shutdown hooks complete
    [        ] exiting with code 0
    
    opened by filiph 6
  • I'm facing this error while run peanut command

    I'm facing this error while run peanut command

    please help me with this problem.

    $ flutter pub global run peanut
    Validating packages:
      D:\My Files\flutter-apps\flutter_web\profile
    Package:     D:\My Files\flutter-apps\flutter_web\profile
    Directories: web
    Command:     flutter build web
    
    Deleting build...
                       1,413ms
    Deleting .dart_tool...
                       1,136ms
    Compiling lib\main.dart for the Web...        
                         33.5s
    Unsupported operation: Cannot extract a file path from a c URI
    #0      _Uri.toFilePath (dart:core/uri.dart:2727:7)
    #1      new Directory.fromUri (dart:io/directory.dart:152:59)
    #2      copyFilesRecursive (package:peanut/src/flutter.dart:59:29)
    <asynchronous suspension>
    #3      runFlutterBuild (package:peanut/src/flutter.dart:44:9)
    <asynchronous suspension>
    #4      run (package:peanut/src/peanut.dart:123:15)
    <asynchronous suspension>
    #5      main (file:///C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/peanut-3.4.2/bin/peanut.dart:54:11)
    #6      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
    #7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
    
    opened by Rakshak1344 6
  • Add Flutter support

    Add Flutter support

    Detects if the current process uses the flutter sdk and uses flutter build web instead of build_runner.

    For example,

    flutter pub global activate --source git [email protected]:johnpryan/peanut.dart.git
    flutter pub global run peanut:peanut
    

    A few things to call out:

    1. This approach simply executes flutter build web and copies the files to the temp directory. I'm not sure if there's a way to use build_runner for flutter for web apps.
    2. flutter pub global activate produces a bash file that runs pub global run peanut:peanut "$@" - but really this should be flutter packages global run... for Flutter users. (There is no pub when the Flutter SDK is installed) That's why flutter pub global run peanut:peanut is required here and not just peanut.
    3. If the Dart SDK and and Flutter SDK are both installed, users still need to activate and run peanut with the flutter command since the path is detected using Platform.resolvedExecutable

    Once published, users should be able to run:

    flutter pub global activate peanut
    flutter pub global run peanut:peanut
    

    closes #62

    opened by johnpryan 5
  • Not working with nested packages

    Not working with nested packages

    For https://github.com/andresaraujo/timeago.dart which has two dart packages timeago and timeago_flutter I wanted to build the web example under timeago/example but didn't work, it didn't produce the index.html and js outputs.

    The command I used was:

    // from timeago folder peanut -d example

    Am I missing something?

    question 
    opened by andresaraujo 4
  • `peanut` command invalidates subsequent builds?

    `peanut` command invalidates subsequent builds?

    Not sure whats going on here exactly but if I run peanut then it kills my dev server because the build script gets invalidated, and then the next build is a non-incremental build.

    opened by jakemac53 4
  • Missing flutter.js in generated branch

    Missing flutter.js in generated branch

    Running the build I often find that the gh-pages branch is missing the flutter.js file that is needed to serve the flutter page. This does not appear to happen deterministically.

    Steps used to push the branch:

    $ flutter pub global run peanut
    $ git push origin --set-upstream gh-pages
    
    • OS: Windows 11
    • Flutter version: 3.0.1
    opened by afiefh 3
  • Could not find a file named

    Could not find a file named "pubspec.yaml" in "/home/sbr/.pub-cache/hosted/pub.dartlang.org/_fe_analyzer_shared-31.0.0".

    Hi,

    I'm trying to use peanut and got the above named error message. I run

    • flutter clean
    • flutter pub global activate peanut
    • flutter pub get

    peanut --version 4.1.1

    flutter doctor -v Flutter (Channel stable, 2.10.4, on Ubuntu 20.04.4 LTS 5.13.0-41-generic, locale de_DE.UTF-8) • Flutter version 2.10.4 at /home/sbr/snap/flutter/common/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision c860cba910 (vor 9 Wochen), 2022-03-25 00:23:12 -0500 • Engine revision 57d3bac3dd • Dart version 2.16.2 • DevTools version 2.9.2

    [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /home/sbr/Android/Sdk • Platform android-32, build-tools 32.1.0-rc1 • Java binary at: /home/sbr/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) • All Android licenses accepted.

    [✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

    [✓] Linux toolchain - develop for Linux desktop • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) • cmake version 3.10.2 • ninja version 1.8.2 • pkg-config version 0.29.1

    [✓] Android Studio (version 2021.2) • Android Studio at /home/sbr/android-studio • Flutter plugin version 67.1.2 • Dart plugin version 212.5744 • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

    [✓] VS Code • VS Code at /snap/code/current • Flutter extension version 3.40.0

    [✓] Connected device (1 available) • Linux (desktop) • linux • linux-x64 • Ubuntu 20.04.4 LTS 5.13.0-41-generic

    [✓] HTTP Host Availability • All required HTTP hosts are available

    ! Doctor found issues in 1 category.

    Needs info 
    opened by radtki 3
  • 404 error on github pages

    404 error on github pages

    https://github.com/bhavikvashi1804/flutter_BLoC_Weather_App

    Check this repo I have performed all the operation listed on Package Still Getting error on publishing pages https://bhavikvashi1804.github.io/flutter_BLoC_Weather_App

    Operation Performed: - flutter pub global activate peanut flutter pub global run peanut:peanut git push origin --set-upstream gh-pages

    opened by bhavikvashi1804 3
  • ERROR: Wrong full snapshot version, expected 'a2967d784bf01190add298db8b62285b' found '1d7acad1540192ac459cf60344efb7c1' Isolate creation failed

    ERROR: Wrong full snapshot version, expected 'a2967d784bf01190add298db8b62285b' found '1d7acad1540192ac459cf60344efb7c1' Isolate creation failed

    Thanks for your awesome package, I appreciate.

    when i open my terminal and type: pub global activate peanut

    I recieve this error message: Wrong full snapshot version, expected 'a2967d784bf01190add298db8b62285b' found '1d7acad1540192ac459cf60344efb7c1' Isolate creation failed

    Please, I need feedback on how to resolve this issue.

    opened by Wizpna 3
  • peanut does not invode flutter build web

    peanut does not invode flutter build web

    Similar to the case of https://github.com/kevmoo/peanut.dart/issues/95

    flutter is not detected when running on github actions and installing flutter with https://github.com/subosito/flutter-action .

    The MWE for my case is basically https://github.com/white-gecko/flutter_peanut_mwe.

    The FLUTTER_ROOT is /opt/hostedtoolcache/flutter/stable-3.0.5-x64.

    It terminates with:

    Validating packages:
      /home/runner/work/flutter_peanut_mwe/flutter_peanut_mwe
    You must have a dependency on `build_runner` in `pubspec.yaml`.
    # pubspec.yaml
    dev_dependencies:
      build_runner: >=1.3.0 <3.0.0
    You must have a dependency on `build_web_compilers` in `pubspec.yaml`.
    # pubspec.yaml
    dev_dependencies:
      build_web_compilers: >=1.2.0 <4.0.0
    pub finished with exit code 78
    

    The complete log is: rawlog.txt

    But as I understand it, it should not be asking for build_runner and build_web_compilers if it would run flutter build web.

    Needs info 
    opened by white-gecko 2
  • Fatal error with git directories with out HEAD – or maybe Windows – or maybe both

    Fatal error with git directories with out HEAD – or maybe Windows – or maybe both

    flutter pub global run peanut

    `ProcessException: fatal: Needed a single revision
      Command: git rev-parse --verify --symbolic-full-name HEAD
    #0      _throwIfProcessFailed (package:git/src/top_level.dart:39:5)
    #1      runGit (package:git/src/top_level.dart:17:5)
    <asynchronous suspension>
    <asynchronous suspension>
    #3      run (package:peanut/src/peanut.dart:37:25)
    <asynchronous suspension>
    #4      main (file:///D:/dev/flutter/.pub-cache/hosted/pub.dartlang.org/peanut-4.1.1/bin/peanut.dart:55:5)
    <asynchronous suspension>`
    
    bug 
    opened by fobf 5
  • Add an example how to use extra-args in the configuration file

    Add an example how to use extra-args in the configuration file

    Could it be possible to add an example to the Configuration file section of README.md about how to use extra-args in peanut.yaml?

    For example, I found that this works:

    # Configuration for https://pub.dev/packages/peanut
    
    extra-args: "--base-href /base/"
    
    enhancement help wanted 
    opened by areee 1
  • Feature idea: Generate 404.html for GitHub Pages when using path-based routing

    Feature idea: Generate 404.html for GitHub Pages when using path-based routing

    For the use case "Build Flutter web app and host it on GitHub pages" many users might stumble on the the typical SPA (Single Page Application) issue: web apps like to use path-based routing (http://web.app/deep/link/31) instead of hash-based routing (http://web.app/#/deep/link/31).

    Normally accessing a deeplink-url will result in a 404 error. With GitHub pages a used strategy is to copy the index.html to 404.html . (404.html is a github pages magic file)

    When using peanut to build web files an optional flag that addresses this issue directly. Alternatively you can provide a "post-build-dart-script" that does this and emphasize it inside readme file / example page.

    opened by felixblaschke 0
  • Built files not reachable withing post-build-dart-script

    Built files not reachable withing post-build-dart-script

    When using --post-build-dart-script the "temporary directory" where all built files are, are not reachable/visible. Therefore I am not able to modify the files with the dart script.

    I created a new Flutter project and used the following Dart script as --post-build-dart-script :

    main() {
      Directory(".").listSync(recursive: true).forEach((file) {
        if (!file.path.startsWith("./.git")) {
          print(file.path);
        }
      });
    }
    

    Within the logged files I couldn't figure out the directory, with the built files.

    Maybe you can clarify on that in the README file.

    opened by felixblaschke 0
  • Provide user-facing introduction about goal of peanut

    Provide user-facing introduction about goal of peanut

    The current introduction ("Do you ever want to pub run build_runner build into another branch? This is your ticket.") sounds cool but is very technical. Your package (using default parameters) looks to me to have a clear goal (or default use case), like:

    "Peanut builds your Flutter project as a webapp and puts the website sources as an extra branch, that is ready to be hosted on GitHub Pages."

    This might gives your users a better idea what to expect from peanut.

    I also think this use case is very common once Flutter web gets adopted: Host sources on GitHub and use it to host that webapp.

    opened by felixblaschke 0
Owner
Kevin Moore
A Product Manager at @google working on @dart-lang and @flutter web technologies and our package ecosystem.
Kevin Moore
UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.

⚠️ The main repository of UIWidgets has been moved to https://github.com/Unity-Technologies/com.unity.uiwidgets. Please visit the new site if you have

Unity Technologies 1.9k Dec 27, 2022
Trying out Flutter for desktop Web app development as an alternative to SPA frameworks (such as React and Angular) by recreating one of the pages of an existing CV Management web app

HTML Renderer Demo CanvasKit Renderer Demo Reddit discussion This repo contains a PoC of using Flutter as a traditional SPA framework for creating a d

Maxim Saplin 20 Oct 11, 2022
Simple Dart package for creating mailto links in your Flutter apps or web pages

mailto Simple Dart package for creating mailto links in your Flutter and Dart apps The mailto package helps you build mailto links and provides you wi

SMAHO Engineering OSS 21 Jul 8, 2022
Easily build your Widgets, Avoid parenthesis nesting, easy to build UI, A little like swift-ui.

tenon_mortise Easily build your Widgets, Avoid parenthesis nesting, easy to build UI, A little like swift-ui. Getting Started Usage To use this plugin

JieLiu 4 Dec 15, 2022
A simple dart library for extracting the Open Graph protocol on a web pages

ogp_data_extract A simple dart library for extracting the Open Graph protocol on

KINTO 0 Jan 12, 2022
Easily integrate GitHub's Octicons in your own Flutter project

flutter_octicons Use the Octicon icons developed by GitHub and released under the MIT license in Flutter. flutter_octicons automatically updates itsel

Rubin Raithel 6 Nov 21, 2022
Flutter Github Following Application, Using Flutter Provider and Flutter HTTP to get data from Github API.

Flutter Github Following Application Watch it on Youtube Previous Designs Checkout my Youtube channel Installation Please remember, after cloning this

Mohammad Rahmani 110 Dec 23, 2022
A most easily usable cookie management library in Dart. With SweetCookieJar, you can easily manage cookie on your application.

A most easily usable cookie management library in Dart! 1. About 1.1. Introduction 1.1.1. Install Library 1.1.2. Import It 1.1.3. Use SweetCookieJar 1

Kato Shinya 9 Oct 27, 2022
A most easily usable cache management library in Dart. With CacheStorage, you can easily manage cache on your application.

A most easily usable cache management library in Dart! 1. About 1.1. Introduction 1.1.1. Install Library 1.1.2. Import It 1.1.3. Use CacheStorage 1.2.

Kato Shinya 1 Dec 13, 2021
A most easily usable RESAS API wrapper in Dart. With this library, you can easily integrate your application with the RESAS API.

A most easily usable RESAS API wrapper library in Dart! 1. About 1.1. What Is RESAS? 1.2. Introduction 1.2.1. Install Library 1.2.2. Import It 1.2.3.

Kato Shinya 2 Apr 7, 2022
An open-source unofficial GitHub mobile client, that aims to deliver the ultimate GitHub experience on mobile devices.

DioHub for Github Summary Features Roadmap Support Screenshots Build Instructions Summary DioHub is an open-source unofficial GitHub mobile client, th

Naman Shergill 401 Jan 4, 2023
Github-search - Allows users to search users on github Uses flutter

Github Search Github Search is a cross-platform mobile application powered by Flutter Framework and Github API. The application was built with simplic

Saul 3 Sep 13, 2022
Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.

Flet Flet is a framework that enables you to easily build realtime web, mobile and desktop apps in your favorite language and securely share them with

Flet 3.6k Jan 9, 2023
Flet enables developers to easily build realtime web, mobile and desktop apps in Ruby. No frontend experience required

Flet If bundler is not being used to manage dependencies, install the gem by executing: $ gem install flet Flet Flet is a framework that enables you

AdamMusa 29 Jan 3, 2023
flutter web app with given code and example. Step by step teaching how to build a flutter web app with backend

flutter_web A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

dbestech 20 Oct 26, 2022
Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.

Figma to Code Most design to code plugins are bad, some are even paid. This project aims to raise the bar by generating responsive layouts in Tailwind

Bernardo Ferrari 2.8k Jan 4, 2023
A routing package that lets you navigate through guarded page stacks and URLs using the Router and Navigator's Pages API, aka "Navigator 2.0".

A Flutter package to help you handle your application routing and synchronize it with browser URL. Beamer uses the power of Router and implements all

Sandro Lovnički 485 Jan 7, 2023
More than 130+ pages in this beautiful app and more than 45 developers has contributed to it.

flutter-ui-nice ❤️ Star ❤️ the repo to support the project or ?? Follow Me.Thanks! Facebook Page Twitter Medium QQ Group Flutter Open NieBin Flutter O

Flutter开源社区 3.4k Jan 3, 2023