{"id":13552307,"url":"https://github.com/flutter/photobooth","last_synced_at":"2025-09-30T01:32:21.339Z","repository":{"id":40997880,"uuid":"346147963","full_name":"flutter/photobooth","owner":"flutter","description":"Google I/O 2021 Photo Booth built with Flutter and Firebase","archived":true,"fork":false,"pushed_at":"2023-03-08T10:38:47.000Z","size":85635,"stargazers_count":923,"open_issues_count":4,"forks_count":196,"subscribers_count":72,"default_branch":"main","last_synced_at":"2024-09-22T01:01:54.983Z","etag":null,"topics":["dart","firebase","flutter","flutter-web","google-io","photo-booth"],"latest_commit_sha":null,"homepage":"https://photobooth.flutter.dev","language":"Dart","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-09T21:22:38.000Z","updated_at":"2024-09-19T18:19:43.000Z","dependencies_parsed_at":"2023-02-17T17:31:08.889Z","dependency_job_id":"62c7ed19-2edf-42e7-9e80-08eb1c832bde","html_url":"https://github.com/flutter/photobooth","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fphotobooth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fphotobooth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fphotobooth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fphotobooth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutter","download_url":"https://codeload.github.com/flutter/photobooth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867307,"owners_count":16554317,"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":["dart","firebase","flutter","flutter-web","google-io","photo-booth"],"created_at":"2024-08-01T12:02:02.054Z","updated_at":"2025-09-30T01:32:20.103Z","avatar_url":"https://github.com/flutter.png","language":"Dart","readme":"# I/O Photo Booth\n\n[![Photo Booth Header][logo]][photo_booth_link]\n\n[![io_photobooth][build_status_badge]][workflow_link]\n![coverage][coverage_badge]\n[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]\n[![License: MIT][license_badge]][license_link]\n\nA Photo Booth built with [Flutter][flutter_link] and [Firebase][firebase_link] for [Google I/O 2021][google_io_link].\n\n[Try it now][photo_booth_link] and [learn about how it's made][blog_link].\n\n*Built by [Very Good Ventures][very_good_ventures_link] in partnership with Google*\n\n*Created using [Very Good CLI][very_good_cli_link] 🤖*\n\n---\n\n## Getting Started 🚀\n\nTo run the desired project either use the launch configuration in VSCode/Android Studio or use the following commands:\n\n```sh\n$ flutter run -d chrome\n```\n\n_\\*I/O Photo Booth works on Web._\n\n---\n\n## Running Tests 🧪\n\nTo run all unit and widget tests use the following command:\n\n```sh\n$ flutter test --coverage --test-randomize-ordering-seed random\n```\n\nTo view the generated coverage report you can use [lcov](https://github.com/linux-test-project/lcov).\n\n```sh\n# Generate Coverage Report\n$ genhtml coverage/lcov.info -o coverage/\n# Open Coverage Report\n$ open coverage/index.html\n```\n\n---\n\n## Working with Translations 🌐\n\nThis project relies on [flutter_localizations][flutter_localizations_link] and follows the [official internationalization guide for Flutter][internationalization_link].\n\n### Adding Strings\n\n1. To add a new localizable string, open the `app_en.arb` file at `lib/l10n/arb/app_en.arb`.\n\n```arb\n{\n    \"@@locale\": \"en\",\n    \"counterAppBarTitle\": \"Counter\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Text shown in the AppBar of the Counter Page\"\n    }\n}\n```\n\n2. Then add a new key/value and description\n\n```arb\n{\n    \"@@locale\": \"en\",\n    \"counterAppBarTitle\": \"Counter\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Text shown in the AppBar of the Counter Page\"\n    },\n    \"helloWorld\": \"Hello World\",\n    \"@helloWorld\": {\n        \"description\": \"Hello World Text\"\n    }\n}\n```\n\n3. Use the new string\n\n```dart\nimport 'package:io_photobooth/l10n/l10n.dart';\n\n@override\nWidget build(BuildContext context) {\n  final l10n = context.l10n;\n  return Text(l10n.helloWorld);\n}\n```\n\n### Adding Translations\n\n1. For each supported locale, add a new ARB file in `lib/l10n/arb`.\n\n```\n├── l10n\n│   ├── arb\n│   │   ├── app_en.arb\n│   │   └── app_es.arb\n```\n\n2. Add the translated strings to each `.arb` file:\n\n`app_en.arb`\n\n```arb\n{\n    \"@@locale\": \"en\",\n    \"counterAppBarTitle\": \"Counter\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Text shown in the AppBar of the Counter Page\"\n    }\n}\n```\n\n`app_es.arb`\n\n```arb\n{\n    \"@@locale\": \"es\",\n    \"counterAppBarTitle\": \"Contador\",\n    \"@counterAppBarTitle\": {\n        \"description\": \"Texto mostrado en la AppBar de la página del contador\"\n    }\n}\n```\n\n[build_status_badge]: https://github.com/flutter/photobooth/actions/workflows/main.yaml/badge.svg\n[coverage_badge]: coverage_badge.svg\n[firebase_link]: https://firebase.google.com/\n[flutter_link]: https://flutter.dev\n[flutter_localizations_link]: https://api.flutter.dev/flutter/flutter_localizations/flutter_localizations-library.html\n[google_io_link]: https://events.google.com/io/\n[blog_link]: https://medium.com/flutter/how-its-made-i-o-photo-booth-3b8355d35883\n[internationalization_link]: https://flutter.dev/docs/development/accessibility-and-localization/internationalization\n[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg\n[license_link]: https://opensource.org/licenses/MIT\n[logo]: art/header.png\n[photo_booth_link]: https://photobooth.flutter.dev\n[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg\n[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis\n[very_good_cli_link]: https://github.com/VeryGoodOpenSource/very_good_cli\n[very_good_ventures_link]: https://verygood.ventures/\n[workflow_link]: https://github.com/flutter/photobooth/actions/workflows/main.yaml\n","funding_links":[],"categories":["Dart"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter%2Fphotobooth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutter%2Fphotobooth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter%2Fphotobooth/lists"}