{"id":18574401,"url":"https://github.com/atsign-foundation/private_fit","last_synced_at":"2025-10-29T20:18:56.040Z","repository":{"id":37480412,"uuid":"505618873","full_name":"atsign-foundation/private_fit","owner":"atsign-foundation","description":"PrivateFit is an E2E encrypted fitness application built on the atPlatform. ","archived":false,"fork":false,"pushed_at":"2024-02-27T09:57:30.000Z","size":23200,"stargazers_count":8,"open_issues_count":13,"forks_count":13,"subscribers_count":11,"default_branch":"trunk","last_synced_at":"2025-03-24T18:45:05.155Z","etag":null,"topics":["atplatform","dart","fitness","flutter","health","privacy"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"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/atsign-foundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-06-20T22:42:54.000Z","updated_at":"2024-06-14T07:50:24.000Z","dependencies_parsed_at":"2024-02-27T11:07:05.922Z","dependency_job_id":"c3948cd8-bdd2-4dad-bc7d-2b27000a46ae","html_url":"https://github.com/atsign-foundation/private_fit","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/atsign-foundation%2Fprivate_fit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsign-foundation%2Fprivate_fit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsign-foundation%2Fprivate_fit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsign-foundation%2Fprivate_fit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atsign-foundation","download_url":"https://codeload.github.com/atsign-foundation/private_fit/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248185145,"owners_count":21061464,"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":["atplatform","dart","fitness","flutter","health","privacy"],"created_at":"2024-11-06T23:15:11.993Z","updated_at":"2025-10-29T20:18:55.953Z","avatar_url":"https://github.com/atsign-foundation.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://atsign.com#gh-light-mode-only\"\u003e\u003cimg width=250px src=\"https://atsign.com/wp-content/uploads/2022/05/atsign-logo-horizontal-color2022.svg#gh-light-mode-only\" alt=\"The Atsign Foundation\"\u003e\u003c/a\u003e\u003ca href=\"https://atsign.com#gh-dark-mode-only\"\u003e\u003cimg width=250px src=\"https://atsign.com/wp-content/uploads/2023/08/atsign-logo-horizontal-reverse2022-Color.svg#gh-dark-mode-only\" alt=\"The Atsign Foundation\"\u003e\u003c/a\u003e\n\n# Private Fit\n\n## Now for a little internet optimism\n\n[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]\n[![License: MIT][license_badge]][license_link]\n\nGenerated by the [at_app CLI](https://github.com/atsign-foundation/at_app)\nand [Very Good CLI][very_good_cli_link] 🤖\n\nA secure fitness app.\n\n---\n\n## Getting Started 🚀\n\nThis project contains 3 flavors:\n\n- development\n- staging\n- production\n\nTo run the desired flavor either use the launch configuration in\nVSCode/Android Studio or use the following commands:\n\n```sh\n# Development\n$ flutter run --flavor development --target lib/main_development.dart\n\n# Staging\n$ flutter run --flavor staging --target lib/main_staging.dart\n\n# Production\n$ flutter run --flavor production --target lib/main_production.dart\n```\n\n_\\*Private Fit works on iOS, Android, Web, and Windows._\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\n[lcov](https://github.com/linux-test-project/lcov).\n\n```sh\n# Generate Coverage Report\n$ genhtml coverage/lcov.info -o coverage/\n\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]\nand follows the\n[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\n`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:private_fit/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 Supported Locales\n\nUpdate the `CFBundleLocalizations` array in the `Info.plist` at\n`ios/Runner/Info.plist` to include the new locale.\n\n```xml\n    ...\n\n    \u003ckey\u003eCFBundleLocalizations\u003c/key\u003e\n    \u003carray\u003e\n        \u003cstring\u003een\u003c/string\u003e\n        \u003cstring\u003ees\u003c/string\u003e\n    \u003c/array\u003e\n\n    ...\n```\n\n### Adding Translations\n\n1. For each supported locale, add a new ARB file in `lib/l10n/arb`.\n\n```text\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## Open source usage and contributions\n\nThis is open source code, so feel free to use it as is, suggest changes or\nenhancements or create your own version. See\n[CONTRIBUTING.md](./CONTRIBUTING.md) for detailed guidance on how to setup\ntools, tests and make a pull request.\n\n## Acknowledgement/attribution\n\nThis project idea came from a hackathon and the repo was created by\n[Kelvin Zawadi](https://github.com/kzawadi).\n\n### Copyright notice\n\nCopyright 2014 The Flutter Authors. All rights reserved.\n\nThis project has copied some variables from the `flutter create` tool in\norder to give developers a familiar experience.\nVariables have been annotated with the copyright.\n\nPlease see the original license\n[here](https://github.com/flutter/flutter/blob/master/LICENSE).\n\n## Maintainers\n\nThis project is currently maintained by\n[Jatin Pandya](https://github.com/Jatinpandya26),\n[Tinashe Seremwe](https://github.com/tinashe404) and\n[Kelvin Zawadi](https://github.com/kzawadi)\n\n[coverage_badge]: coverage_badge.svg\n[flutter_localizations_link]: https://api.flutter.dev/flutter/flutter_localizations/flutter_localizations-library.html\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[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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsign-foundation%2Fprivate_fit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatsign-foundation%2Fprivate_fit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsign-foundation%2Fprivate_fit/lists"}