{"id":31737626,"url":"https://github.com/cedarcopilot/cedar-goal-tracker","last_synced_at":"2025-10-09T09:26:52.616Z","repository":{"id":308725815,"uuid":"1033863173","full_name":"CedarCopilot/cedar-goal-tracker","owner":"CedarCopilot","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-07T13:16:06.000Z","size":255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-07T15:17:03.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/CedarCopilot.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-07T13:13:45.000Z","updated_at":"2025-08-07T13:16:09.000Z","dependencies_parsed_at":"2025-08-07T15:17:51.171Z","dependency_job_id":"f0290b04-8582-484d-b962-680b8feaf208","html_url":"https://github.com/CedarCopilot/cedar-goal-tracker","commit_stats":null,"previous_names":["cedarcopilot/cedar-goal-tracker"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/CedarCopilot/cedar-goal-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarCopilot%2Fcedar-goal-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarCopilot%2Fcedar-goal-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarCopilot%2Fcedar-goal-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarCopilot%2Fcedar-goal-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CedarCopilot","download_url":"https://codeload.github.com/CedarCopilot/cedar-goal-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarCopilot%2Fcedar-goal-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001131,"owners_count":26083022,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2025-10-09T09:26:51.327Z","updated_at":"2025-10-09T09:26:52.611Z","avatar_url":"https://github.com/CedarCopilot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cedar Daily Goal Tracker\n\nThis repo is a **Next .js + Cedar-OS** demo that lets you set and track daily goals on an interactive React-Flow canvas.\n\n## Features\n\n1. **One node per day**  \n   • Displays goal, completion status (green/red), summary, todos.  \n   • Nodes are laid out chronologically and grouped by month; consecutive days are linked with animated edges.\n\n2. **AI Assistant (Cedar)**  \n   • Chat with the assistant to create or update goals using natural language.  \n   • Only one setter is needed: `updateGoal` – pass an `id` plus a partial object to create or modify a node.  \n   • Uses context and `@`-mentions (`@2025-08-07`) so the agent knows current nodes and selections.\n\n3. **Voice Input / Output**  \n   • Upload or record audio → Whisper transcription → agent → TTS reply.  \n   • Endpoints: `/voice` (JSON) and `/voice/stream` (SSE).\n\n4. **Persistence (Supabase)**  \n   • Goals are saved in the `daily_goals` table (see SQL below).  \n   • CRUD functions live in `daily-goals/supabase.ts`; all node changes are persisted automatically.\n\n5. **Backend (Mastra)**  \n   • `dailyGoalAgent` handles all requests, instructed to always emit an `updateGoal` action.  \n   • Workflows validate actions with a Zod schema that accepts arbitrary args.\n\n## SQL\n\n```sql\ncreate table public.daily_goals (\n  id text primary key,        -- yyyy-mm-dd\n  date date not null,\n  goal text not null,\n  completed boolean not null default false,\n  summary text,\n  todos jsonb not null default '[]',\n  created_at timestamptz default now()\n);\n```\n\n## Running Locally\n\n```bash\npnpm install\n# env vars: NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, OPENAI_API_KEY\npnpm dev\n```\n\nNavigate to `http://localhost:3000` — drag nodes, chat with Cedar, or record a voice command!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedarcopilot%2Fcedar-goal-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedarcopilot%2Fcedar-goal-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedarcopilot%2Fcedar-goal-tracker/lists"}