{"id":27326588,"url":"https://github.com/supejuice/forma","last_synced_at":"2026-04-27T11:31:58.639Z","repository":{"id":286418911,"uuid":"961345966","full_name":"supejuice/forma","owner":"supejuice","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-24T05:23:24.000Z","size":523,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-24T11:41:43.515Z","etag":null,"topics":["firebase","flutter","gemini","genkit","golang"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supejuice.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-06T10:18:13.000Z","updated_at":"2026-02-24T05:23:27.000Z","dependencies_parsed_at":"2025-08-06T01:24:27.529Z","dependency_job_id":null,"html_url":"https://github.com/supejuice/forma","commit_stats":null,"previous_names":["supejuice/forma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/supejuice/forma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supejuice%2Fforma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supejuice%2Fforma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supejuice%2Fforma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supejuice%2Fforma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supejuice","download_url":"https://codeload.github.com/supejuice/forma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supejuice%2Fforma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["firebase","flutter","gemini","genkit","golang"],"created_at":"2025-04-12T11:58:57.622Z","updated_at":"2026-04-27T11:31:58.632Z","avatar_url":"https://github.com/supejuice.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forma\n\nForma is an AI-assisted nutrition and calorie tracking project.\n\nThe primary product is the Flutter app in `forma_flutter`, focused on fast meal logging and local calorie trend tracking.\n\n## Main App (`forma_flutter`)\n\nImplemented features:\n\n- Mistral API key onboarding (secure local storage)\n- Free-text meal input -\u003e Mistral nutrition extraction\n- Calories + macros + sodium estimation\n- Local persistence with SQLite\n- Trend analytics for `7D`, `30D`, `90D`, and custom range\n- Daily calorie target management\n- Riverpod state management\n- Design-system-driven UI with lightweight animations\n\n## Flutter Quick Start\n\n```zsh\ncd forma_flutter\nflutter pub get\nflutter run\n```\n\nOn first launch, add your Mistral API key in the onboarding screen.\n\n## Flutter Quality Checks\n\n```zsh\ncd forma_flutter\nflutter analyze\nflutter test\nflutter build web --no-wasm-dry-run\nflutter build apk --debug\n```\n\n## Go App (Genkit Server)\n\nThe repository also includes a Go + Genkit server in `main.go` with these flows:\n\n- `joke`\n- `calTracking`\n- `companyInfo`\n\n### Go App Prerequisites\n\nInstall Node.js (for Genkit CLI):\n\n```zsh\nbrew update\nbrew install node\nnode -v\nnpm -v\n```\n\nInstall JS dependencies at repo root:\n\n```zsh\nnpm install\n```\n\nInstall/update Go dependencies:\n\n```zsh\ngo mod tidy\n```\n\nSet Gemini API key (required by `googlegenai` plugin in `main.go`):\n\n```zsh\nexport GEMINI_API_KEY=\u003cYOUR_KEY\u003e\n```\n\n### Run Go App\n\nRun directly:\n\n```zsh\ngo run main.go\n```\n\nOptional Genkit dev mode (if preferred in your local workflow):\n\n```zsh\nnpx genkit start -- go run main.go\n```\n\nThe server starts on `127.0.0.1:8080` and flow endpoints follow:\n\n```text\nPOST http://127.0.0.1:8080/\u003cflowName\u003e\n```\n\nExamples:\n\n- `POST /joke`\n- `POST /calTracking`\n- `POST /companyInfo`\n\n## Repo Layout\n\n- `forma_flutter/` Flutter client app (active product)\n- `main.go`, `go.mod` Go/Genkit flows\n\n## Additional Docs\n\n- `forma_flutter/README.md`\n- `forma_flutter/docs/YEGOR256_GUIDELINES.md`\n- `forma_flutter/ASSETS_ATTRIBUTION.md`\n\n## License\n\nThis project is licensed under Apache 2.0. See `LICENSE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupejuice%2Fforma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupejuice%2Fforma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupejuice%2Fforma/lists"}