{"id":13743870,"url":"https://github.com/chinmaygarde/flutter_from_scratch","last_synced_at":"2025-10-05T14:09:01.919Z","repository":{"id":136203353,"uuid":"159415107","full_name":"chinmaygarde/flutter_from_scratch","owner":"chinmaygarde","description":"A minimal Flutter Embedder from Scratch.","archived":false,"fork":false,"pushed_at":"2022-05-20T02:13:12.000Z","size":12,"stargazers_count":158,"open_issues_count":5,"forks_count":26,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-10-18T20:44:08.353Z","etag":null,"topics":["clang","cpp","flutter","gn","raspberry-pi"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chinmaygarde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-11-27T23:32:23.000Z","updated_at":"2024-10-12T07:44:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"84d5a74f-552f-4627-a24a-0ffc89c169f8","html_url":"https://github.com/chinmaygarde/flutter_from_scratch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinmaygarde%2Fflutter_from_scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinmaygarde%2Fflutter_from_scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinmaygarde%2Fflutter_from_scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinmaygarde%2Fflutter_from_scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinmaygarde","download_url":"https://codeload.github.com/chinmaygarde/flutter_from_scratch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248764228,"owners_count":21158047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clang","cpp","flutter","gn","raspberry-pi"],"created_at":"2024-08-03T05:00:58.702Z","updated_at":"2025-10-05T14:09:01.849Z","avatar_url":"https://github.com/chinmaygarde.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"Notes:\n------\n* This is the companion repository for the `Flutter on Raspberry Pi (mostly) from Scratch` [article](https://medium.com/flutter/flutter-on-raspberry-pi-mostly-from-scratch-2824c5e7dcb1).\n* This repository is only meant to showcase what a minimal embedder might look like. It is not production ready (and never will be)!\n* Though this repository is based off of the [Raspberry Pi Cross Compilation SDK and GN Sysroot](https://github.com/chinmaygarde/raspberrypi_cross_compilation_sdk) repository. You dont have to use this toolchain or GN.\n\nFlutter on Raspberry Pi\n=======================\n\nFlutter Embedder for Pi using Broadcom APIs directly.\n\nPrerequisites\n-------------\n\n* The `libflutter_engine.so`, `icudtl.dat` and `flutter_embedder.h` files for the Raspberry Pi placed in the `out/` directory.\n\nUsage for Raspberry Pi\n----------------------\n\n* Download the prepared toolchain, sysroot and related tools to the `out` directory `./tools/setup_sdk.sh`.\n  * This takes a while and downloads upto 1 GB of data from cloud storage.\n* Prepare the build output directory `out` with paths to your toolchain using `./tools/setup_gn.sh`.\n* Build using `ninja -C out` on your host.\n  * Hack and repeat.\n* Push your executable to the Raspberry Pi and run.\n  * You should probably mount the `out` directory to the remote Raspberry Pi using SSHFS. That way, the build artifacts automatically end up getting pushed to the Pi.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinmaygarde%2Fflutter_from_scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinmaygarde%2Fflutter_from_scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinmaygarde%2Fflutter_from_scratch/lists"}