{"id":30418636,"url":"https://github.com/sahilsama/axios-ai-agent","last_synced_at":"2025-10-12T09:33:11.379Z","repository":{"id":309099850,"uuid":"1035125918","full_name":"sahilsama/Axios-AI-Agent","owner":"sahilsama","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-24T09:40:06.000Z","size":616,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T15:42:15.158Z","etag":null,"topics":["ai-agent","chatbot","research","webapi"],"latest_commit_sha":null,"homepage":"https://axios-ai-agent-6rgptje6i-sahil-bs-projects.vercel.app/","language":"JavaScript","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/sahilsama.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-09T17:56:46.000Z","updated_at":"2025-08-24T10:10:45.000Z","dependencies_parsed_at":"2025-08-16T20:23:48.798Z","dependency_job_id":null,"html_url":"https://github.com/sahilsama/Axios-AI-Agent","commit_stats":null,"previous_names":["sahilsama/research-ai-agent","sahilsama/axios-ai-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sahilsama/Axios-AI-Agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahilsama%2FAxios-AI-Agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahilsama%2FAxios-AI-Agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahilsama%2FAxios-AI-Agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahilsama%2FAxios-AI-Agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sahilsama","download_url":"https://codeload.github.com/sahilsama/Axios-AI-Agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sahilsama%2FAxios-AI-Agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010936,"owners_count":26084837,"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-12T02:00:06.719Z","response_time":53,"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":["ai-agent","chatbot","research","webapi"],"created_at":"2025-08-22T07:27:47.624Z","updated_at":"2025-10-12T09:33:11.373Z","avatar_url":"https://github.com/sahilsama.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Axios - AI Research Application\n\u003cimg width=\"1354\" height=\"542\" alt=\"image\" src=\"https://github.com/user-attachments/assets/fd609a44-77b6-4cdb-8d98-ed52730dbb75\" /\u003e\n\n\nA AI Research bot using OSS models built with Next.js, featuring fetching Real time data from Reddit, Facebook and Google / publicly available data.\n\n## Used for\n\n- **AI-Powered Chat**: Intelligent conversation capabilities with AI models\n- **Research**: Intelligent Research capabilities with Flagship models.\n- **Real-time Updates**: Live chat experience with instant message delivery\n- **Marketing**: Via Reddit, and Facebook.\n- **Protected Conversation**: Setup locally to protect Conversation.\n- **Database Integration**: Supabase backend for data persistence\n\n## 🛠️ Contribute if you are comfortable with\n\n- **Tech stack**: Next, React18, Postgres, Clerk for Auth, Supabase DB integration, Nodejs, Npm, Vercel. \n  \n=======\n# Perplexity Clone - AI Chat Application\n\nA modern, full-stack AI chat application built with Next.js, featuring real-time conversations, user authentication, and a beautiful responsive interface.\n\n## 🚀 Features\n\n- **AI-Powered Chat**: Intelligent conversation capabilities with AI models\n- **User Authentication**: Secure sign-in/sign-up with Clerk\n- **Real-time Updates**: Live chat experience with instant message delivery\n- **Responsive Design**: Beautiful UI that works on all devices\n- **Database Integration**: Supabase backend for data persistence\n- **Modern Tech Stack**: Built with Next.js 15 and React 18\n\n## 🛠️ Tech Stack\n\n- **Frontend**: Next.js 15, React 18, Tailwind CSS\n- **Authentication**: Clerk\n- **Database**: Supabase\n- **Styling**: Tailwind CSS, shadcn/ui components\n- **Deployment**: Vercel\n- **Package Manager**: npm\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e 50b0bd2 (search query database)\n\n## 📋 Prerequisites\n\nBefore running this project, make sure you have:\n\n- Node.js 18+ installed\n- npm or yarn package manager\n- Clerk account for authentication\n- Supabase project for database\n\n## 🚀 Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone \u003cyour-repo-url\u003e\ncd axios\n```\n\n### 2. Install Dependencies\n\n```bash\nnpm install\n```\n\n### 3. Environment Variables\n\nCreate a `.env.local` file in the root directory:\n\n```bash\n# Clerk Authentication\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key\nCLERK_SECRET_KEY=your_clerk_secret_key\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up\nNEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL=/\nNEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL=/\n\n# Supabase Database\nNEXT_PUBLIC_SUPABASE_URL=your_supabase_url\nNEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key\n```\n\n### 4. Run Development Server\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser.\n\n## 🏗️ Project Structure\n\n```\naxios/\n├── app/                    # Next.js app directory\n│   ├── _components/       # Shared components\n│   ├── (auth)/            # Authentication routes\n│   ├── context/           # React context providers\n│   ├── globals.css        # Global styles\n│   ├── layout.js          # Root layout\n│   └── page.js            # Home page\n├── components/             # Reusable UI components\n│   └── ui/                # shadcn/ui components\n├── hooks/                  # Custom React hooks\n├── lib/                    # Utility functions\n├── services/               # External service integrations\n│   └── supabase.jsx       # Supabase client\n├── middleware.js           # Next.js middleware\n└── package.json            # Dependencies and scripts\n```\n\n## 🔐 Authentication Setup\n\n### Clerk Configuration\n\n1. Create a Clerk account at [clerk.com](https://clerk.com)\n2. Create a new application\n3. Copy your publishable key and secret key\n4. Add them to your `.env.local` file\n\n### Supabase Setup\n\n1. Create a Supabase project at [supabase.com](https://supabase.com)\n2. Create a `users` table with the following schema:\n\n```sql\nCREATE TABLE users (\n  id UUID DEFAULT gen_random_uuid() PRIMARY KEY,\n  name TEXT,\n  email TEXT UNIQUE NOT NULL,\n  created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()\n);\n```\n\n3. Copy your project URL and anon key to `.env.local`\n\n## 🚀 Deployment\n\n### Vercel Deployment (Recommended)\n\n1. **Install Vercel CLI**:\n   ```bash\n   npm i -g vercel\n   ```\n\n2. **Deploy**:\n   ```bash\n   vercel --prod\n   ```\n\n3. **Add Environment Variables**:\n   - Go to Vercel Dashboard → Your Project → Settings → Environment Variables\n   - Add all variables from your `.env.local` file\n\n### Manual Deployment\n\n1. **Build locally**:\n   ```bash\n   npm run build\n   ```\n\n2. **Upload to Vercel**:\n   - Drag and drop the `.next` and `public` folders\n   - Or use the Vercel dashboard to connect your GitHub repository\n\n## 📱 Available Scripts\n\n- `npm run dev` - Start development server\n- `npm run build` - Build for production\n- `npm run start` - Start production server\n- `npm run lint` - Run ESLint\n\n## 🔧 Configuration\n\n### Next.js Config\n\nThe project uses Next.js 15 with the app router. Key configurations are in `next.config.mjs`.\n\n### Tailwind CSS\n\nCustom Tailwind configuration is in `tailwind.config.js` with shadcn/ui components.\n\n## 🐛 Troubleshooting\n\n### Common Issues\n\n1. **Middleware Errors**: Ensure Clerk environment variables are set correctly\n2. **Build Failures**: Check that all required environment variables are present\n3. **Authentication Issues**: Verify Clerk configuration and Supabase connection\n\n### Debug Steps\n\n1. Check browser console for errors\n2. Verify environment variables are loaded\n3. Test authentication flow step by step\n4. Check Supabase logs for database errors\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n---\n\n**Thanks for reading! 🚀**\n\n## 📞 Support\n\nIf you encounter any issues or have questions:\n\n1. Check the [troubleshooting](#troubleshooting) section\n2. Search existing [GitHub issues](link-to-issues)\n3. Create a new issue with detailed information\n\n---\n\n**Happy Coding! 🚀**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahilsama%2Faxios-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsahilsama%2Faxios-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsahilsama%2Faxios-ai-agent/lists"}