{"id":26221442,"url":"https://github.com/aritra-basak/bigbrain","last_synced_at":"2026-04-10T04:54:36.283Z","repository":{"id":264311609,"uuid":"892983046","full_name":"Aritra-Basak/bigbrain","owner":"Aritra-Basak","description":"🧠Big Brain acts as your team's second brain, storing all your docs and allowing easy vector search.","archived":false,"fork":false,"pushed_at":"2025-01-01T10:05:42.000Z","size":845,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T10:41:27.670Z","etag":null,"topics":["baas","baas-integration","clerk","clerk-authentication","convex","groq-cloud","groq-integration","lottie-animation","lucide-icons","nextjs","react","shadecn-ui","tailwindcss","typescript","webhook-api"],"latest_commit_sha":null,"homepage":"https://bigbrain-indol.vercel.app/","language":"TypeScript","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/Aritra-Basak.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}},"created_at":"2024-11-23T08:05:16.000Z","updated_at":"2025-01-01T10:05:45.000Z","dependencies_parsed_at":"2024-12-25T08:32:52.998Z","dependency_job_id":null,"html_url":"https://github.com/Aritra-Basak/bigbrain","commit_stats":null,"previous_names":["aritra-basak/bigbrain"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aritra-Basak%2Fbigbrain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aritra-Basak%2Fbigbrain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aritra-Basak%2Fbigbrain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aritra-Basak%2Fbigbrain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aritra-Basak","download_url":"https://codeload.github.com/Aritra-Basak/bigbrain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243249293,"owners_count":20260810,"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":["baas","baas-integration","clerk","clerk-authentication","convex","groq-cloud","groq-integration","lottie-animation","lucide-icons","nextjs","react","shadecn-ui","tailwindcss","typescript","webhook-api"],"created_at":"2025-03-12T16:20:22.822Z","updated_at":"2025-12-28T07:04:03.162Z","avatar_url":"https://github.com/Aritra-Basak.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Application with Clerk Authentication, Convex BAAS, and GROQ Cloud Inference\n\nThis repository contains a [Next.js](https://nextjs.org) application integrated with Clerk Authentication, BAAS (Backend as a Service) features from Convex, and GROQ Cloud Inference for AI-powered functionalities. The project is bootstrapped using [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).\n\n## Features\n\n- **Clerk Authentication**: Seamless user authentication and management.\n- **Convex BAAS**: Simplified backend data handling and storage.\n- **GROQ Cloud Inference**: Leverages AI capabilities for advanced cloud inference.\n\n---\n\n## Getting Started\n\nFollow the steps below to set up and run the application locally:\n\n### 1. Run the Development Server\n\nStart the development server using one of the following commands:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser to see the running application.\n\nYou can edit the pages by modifying the `app/page.tsx` file. Changes will be reflected instantly thanks to hot reloading.\n\n---\n\n### 2. Configure Convex\n\n- Complete the Convex setup to obtain the **Convex Deployment URL** and **Convex Public URL**.\n- Add these URLs to your environment configuration.\n\n---\n\n### 3. Configure Clerk\n\n- Set up Clerk for authentication.\n- Obtain the following keys:\n  - `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`\n  - `CLERK_SECRET_KEY`\n- Add these keys to your environment configuration.\n\n---\n\n### 4. OpenAI Integration\n\n- Acquire your OpenAI API Key (recommended: **GROQ Cloud Inference**).\n- Add the API key to your environment variables for enabling AI functionalities.\n\n---\n\n### 5. Webhook for Organization Logs\n\n- To store organization logs from Clerk in the Convex DB:\n  1. Use Clerk's webhook feature.\n  2. Set the Convex HTTP-Action endpoint as the webhook URL.\n  3. Whitelist this endpoint in Clerk, appending your preferred webhook API path.\n  4. Note the **Clerk Webhook Secret Key** to verify incoming requests.\n\n---\n\n### 6. Deployment\n\n- For production deployment:\n  1. Acquire the production details from Convex.\n  2. Set up environment variables in the Convex deployment environment.\n  3. Proceed with the deployment in your preferred hosting platform.\n\n---\n\n## Environment Variables\n\nEnsure you configure the following environment variables:\n\n```plaintext\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-clerk-publishable-key\nCLERK_SECRET_KEY=your-clerk-secret-key\nCONVEX_DEPLOYMENT_URL=your-convex-deployment-url\nCONVEX_PUBLIC_URL=your-convex-public-url\nOPENAI_API_KEY=your-openai-api-key\nCLERK_WEBHOOK_SECRET=your-clerk-webhook-secret\n```\n\n---\n\n## Additional Notes\n\n- Ensure proper whitelisting of webhook endpoints in Clerk.\n- Use secure storage for sensitive environment variables.\n- Refer to official documentation for advanced configurations:\n  - [Next.js Documentation](https://nextjs.org/docs)\n  - [Clerk Documentation](https://clerk.dev/docs)\n  - [Convex Documentation](https://docs.convex.dev)\n  - [OpenAI Documentation](https://platform.openai.com/docs/)\n\n---\n\nHappy developing!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritra-basak%2Fbigbrain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faritra-basak%2Fbigbrain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritra-basak%2Fbigbrain/lists"}