{"id":23869139,"url":"https://github.com/extrawest/mat-ai-coach","last_synced_at":"2026-05-04T13:33:03.910Z","repository":{"id":251971632,"uuid":"838865289","full_name":"extrawest/mat-ai-coach","owner":"extrawest","description":"MAT-AI-COACH is a state-of-the-art fitness coaching application built with NextJS, designed to offer personalized and intelligent fitness guidance. Leveraging AI-powered chat assistance, secure user authentication, this app provides a seamless and interactive fitness coaching experience.","archived":false,"fork":false,"pushed_at":"2024-08-08T09:22:52.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-02T01:37:52.483Z","etag":null,"topics":["ai","aichatbot","clerk-auth","nextjs","openai","openai-api","prisma","react","typescript","vercel-deployment","xata-io"],"latest_commit_sha":null,"homepage":"https://mat-ai-coach.vercel.app","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/extrawest.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}},"created_at":"2024-08-06T13:49:46.000Z","updated_at":"2024-08-08T09:22:55.000Z","dependencies_parsed_at":"2024-08-06T22:59:03.250Z","dependency_job_id":"8ff239cd-35e4-4a22-af92-738eac276061","html_url":"https://github.com/extrawest/mat-ai-coach","commit_stats":null,"previous_names":["extrawest/mat-ai-coach"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/extrawest/mat-ai-coach","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawest%2Fmat-ai-coach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawest%2Fmat-ai-coach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawest%2Fmat-ai-coach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawest%2Fmat-ai-coach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extrawest","download_url":"https://codeload.github.com/extrawest/mat-ai-coach/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extrawest%2Fmat-ai-coach/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32609635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","aichatbot","clerk-auth","nextjs","openai","openai-api","prisma","react","typescript","vercel-deployment","xata-io"],"created_at":"2025-01-03T12:16:11.343Z","updated_at":"2026-05-04T13:33:03.883Z","avatar_url":"https://github.com/extrawest.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MAT-AI-COACH\n\nA NextJS-based AI fitness coaching application.\n\n## Demo\n\nhttps://github.com/user-attachments/assets/3770eeda-3d7c-469b-b024-a6f663069e67\n\n## Preview\n\nhttps://mat-ai-coach.vercel.app/\n\n## Features\n\n- AI-powered chat assistant with motivational responses\n- User authentication (sign-in and sign-up functionality)\n- Profile management\n- OpenAI integration for intelligent responses\n- Xata cloud service integration\n\n## Tech Stack\n\n### Frontend \u0026 Backend\n- **NextJS:** Utilized for both the frontend and backend, providing a unified development framework that supports server-side rendering and static site generation.\n\n### Authentication\n- **Clerk:** - Implemented using Clerk.com service to provide secure and seamless user authentication with custom routes for sign-in and sign-up, ensuring user data protection and easy access management.\n\n### Database\n- **Postgres:** Reliable relational database for storing user data.\n- **Xata cloud service (Prisma ORM):** Xata provides a cloud-based database service integrated with Prisma ORM for easy data handling and migrations.\n\n### AI Integration\n- **OpenAI API:** Integrates with OpenAI to provide intelligent and responsive AI-powered coaching.\n\n### Styling\n- **Tailwind CSS:** Utility-first CSS framework to create modern, responsive designs quickly.\n\n\n## Setup and Installation\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Set up environment variables in `.env` (see Environment Variables section)\n4. Configure [Xata database connection with Prisma ORM](https://xata.io/docs/integrations/prisma)\n5. Run the development server: `npm run dev`\n\n## Environment Variables\n\nCreate a `.env` file in the root directory and add the following variables:\n```\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\u003cNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY\u003e\nCLERK_SECRET_KEY=\u003cCLERK_SECRET_KEY\u003e\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=\u003cNEXT_PUBLIC_CLERK_SIGN_IN_URL\u003e\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=\u003cNEXT_PUBLIC_CLERK_SIGN_UP_URL\u003e\nNEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=\u003cNEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL\u003e\nNEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=\u003cNEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL\u003e\nOPENAI_API_KEY=\u003cOPENAI_API_KEY\u003e\nDATABASE_URL=\u003cDATABASE_URL\u003e\nAPP_SECRET_KEY=\u003cAPP_SECRET_KEY\u003e\nNEXT_PUBLIC_BASE_URL=\u003cNEXT_PUBLIC_BASE_URL\u003e\n```\n\n## Deployment\n\nThe app is deployed on Vercel. Automatic deployments are triggered on pushes to the main branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrawest%2Fmat-ai-coach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextrawest%2Fmat-ai-coach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrawest%2Fmat-ai-coach/lists"}