{"id":24902896,"url":"https://github.com/justmalhar/rsearch","last_synced_at":"2025-07-28T21:09:19.186Z","repository":{"id":273649839,"uuid":"920423173","full_name":"Justmalhar/rsearch","owner":"Justmalhar","description":"AI-powered reasoning engine powered by DeepSeek R1 reasoning model to refine queries, synthesize data, and provide insightful research responses.","archived":false,"fork":false,"pushed_at":"2025-07-26T21:04:01.000Z","size":1316,"stargazers_count":41,"open_issues_count":9,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T23:36:50.257Z","etag":null,"topics":["deepseek","deepseek-chat","deepseek-r1","nextjs","openai","reasoning-agent","search-engine","searxng","serper","serperdev","shadcn-ui","tailwindcss","tavily-api","vercel","vercel-deploy"],"latest_commit_sha":null,"homepage":"https://rsearch.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/Justmalhar.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}},"created_at":"2025-01-22T05:51:37.000Z","updated_at":"2025-06-24T07:37:27.000Z","dependencies_parsed_at":"2025-02-11T22:28:50.350Z","dependency_job_id":"5fea1fe5-6b96-4556-9e08-67f4704f22e3","html_url":"https://github.com/Justmalhar/rsearch","commit_stats":null,"previous_names":["justmalhar/rsearch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Justmalhar/rsearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justmalhar%2Frsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justmalhar%2Frsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justmalhar%2Frsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justmalhar%2Frsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Justmalhar","download_url":"https://codeload.github.com/Justmalhar/rsearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justmalhar%2Frsearch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267585830,"owners_count":24111577,"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-07-28T02:00:09.689Z","response_time":68,"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":["deepseek","deepseek-chat","deepseek-r1","nextjs","openai","reasoning-agent","search-engine","searxng","serper","serperdev","shadcn-ui","tailwindcss","tavily-api","vercel","vercel-deploy"],"created_at":"2025-02-01T22:17:43.074Z","updated_at":"2025-07-28T21:09:19.178Z","avatar_url":"https://github.com/Justmalhar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rSearch: AI-Powered Reasoning Engine\n\n![rSearch](https://rsearch.app/og.png)\n\n\nA cutting-edge research assistant powered by artificial intelligence that harnesses the advanced reasoning capabilities of [DeepSeek R1](https://huggingface.co/deepseek-ai/DeepSeek-R1) combined with comprehensive internet search functionality. **rSearch** delivers precise, well-reasoned responses to complex research queries by:\n\n- Leveraging state-of-the-art language models for refining queries\n- Performing intelligent web searches across multiple data sources\n- Synthesizing information through sophisticated chain-of-thought reasoning processes\n- Providing clear, actionable insights backed by reliable sources\n- Customizable AI models from [OpenAI](https://openai.com), [OpenRouter](https://openrouter.ai) or [DeepSeek](https://deepseek.com)\n- Self hosted alternative to [Perplexity](https://perplexity.ai)\n\n## Demo\n\n\n![Demo](https://github.com/Justmalhar/rsearch/raw/main/demo.png)\n\n🔍 **Try rSearch for free** → [rsearch.app](https://rsearch.app) (Points to Beta branch)\n\n🚀 **Get the latest features**: Clone the **beta** branch from github:\n\n```bash\ngit clone -b beta https://github.com/Justmalhar/rsearch.git\n```\n\n## Overview\n\n**rSearch** leverages [DeepSeek's Reasoner - R1 model](https://huggingface.co/deepseek-ai/DeepSeek-R1) to perform Chain-of-Thought reasoning on search results. The platform first refines your query, searches the internet using [Serper.dev](https://serper.dev) API, and then applies advanced reasoning to synthesize a comprehensive, well-thought-out response. Built with [Next.js](https://nextjs.org/) and [TypeScript](https://www.typescriptlang.org/), it offers a seamless research experience while maintaining high performance and code quality.\n\n### AI Models and Reasoning\n\n- **DeepSeek-R1**: State-of-the-art reasoning model that powers rSearch's analytical capabilities\n  - Trained via large-scale reinforcement learning\n  - Exceptional performance in math, code, and reasoning tasks\n  - Comparable performance to [OpenAI-o1](https://openai.com)\n  - Open-source availability for research and development\n\n- **Customizable AI Models**: Added support to use any AI models from [OpenAI](https://openai.com), [OpenRouter](https://openrouter.ai) or [DeepSeek](https://deepseek.com) as your AI provider.\n\n- **Chain-of-Thought Process**:\n  1. Query Refinement: Intelligent processing of user input\n  2. Internet Search: Comprehensive data gathering via [Serper.dev](https://serper.dev) API\n  3. Reasoning Analysis: Deep analysis using DeepSeek's reasoning capabilities\n  4. Response Synthesis: Well-structured, logical conclusions\n\n## Key Features\n\n- **Multiple Search Modes**: Search across diverse content categories:\n  - **Web Search**: Broad and efficient web search capability\n  - **Images**: Visual content search\n  - **Videos**: Video content discovery\n  - **News**: Latest headlines and articles\n  - **Places**: Local information and geographical insights\n  - **Shopping**: Product information and price comparisons\n  - **Scholar**: Academic content and research papers\n  - **Patents**: Patent database search\n\n- **Modern UI Components**:\n  - Responsive sidebar navigation\n  - Mobile-optimized header\n  - Dynamic search results display\n  - Interactive loading states\n  - Customizable themes\n\n## Deploy\n\nDeploying **rSearch** is simple and fast with Vercel's one-click deployment option. Vercel provides a powerful and scalable environment for your project.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/justmalhar/rsearch\u0026env=SERPER_API_KEY\u0026env=NEXT_PUBLIC_AI_PROVIDER_API_KEY\u0026env=NEXT_PUBLIC_AI_PROVIDER_BASE_URL\u0026env=NEXT_PUBLIC_AI_REFINER_MODEL\u0026env=NEXT_PUBLIC_AI_REASONING_MODEL\u0026env=NEXT_PUBLIC_LANDING_PAGE_COPY_TEXT)\n\n\n## Tech Stack\n\n- **Framework**: Next.js with App Router\n- **Language**: TypeScript\n- **Styling**: TailwindCSS\n- **Components**: ShadCN UI components\n- **State Management**: React Hooks\n- **Code Quality**: ESLint\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18.x or later\n- npm or yarn package manager\n\n### Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/justmalhar/rsearch.git\n    cd rsearch\n    ```\n\n2. Install dependencies:\n    ```bash\n    npm install\n    # or\n    yarn install\n    ```\n\n3. Set up environment variables:\n    ```bash\n    cp .env.example .env.local\n    ```\n   \n    Create a `.env.local` file in the root directory with the following variables:\n\n   ```bash\n    # Serper API Key (Google Search API) - https://serper.dev/api-key\n    SERPER_API_KEY=\n\n    # You can either use OpenAI, OpenRouter or DeepSeek as your AI provider.\n    # OpenAI API Key (AI Provider) - https://platform.openai.com/api-keys\n    # OpenRouter API Key (AI Provider) - https://openrouter.ai/settings/keys\n    # DeepSeek API Key (AI Provider) - https://platform.deepseek.com/api_keys\n    NEXT_PUBLIC_AI_PROVIDER_API_KEY=\n\n    # AI Provider Base URL (AI Provider)\n    # DeepSeek Base URL (AI Provider) - https://api.deepseek.com\n    # OpenAI Base URL (AI Provider) - https://api.openai.com\n    # OpenRouter Base URL (AI Provider) - https://openrouter.ai/api/v1\n    NEXT_PUBLIC_AI_PROVIDER_BASE_URL=https://api.deepseek.com\n\n    # AI Query Refiner Model (AI Provider)\n    # DeepSeek Refiner Model (AI Provider) - deepseek-chat\n    # OpenAI Refiner Model (AI Provider) - gpt-4o-mini\n    # OpenRouter Refiner Model (AI Provider) - openai/gpt-4o-mini\n    NEXT_PUBLIC_AI_REFINER_MODEL=gpt-4o-mini\n\n    # AI Reasoning Model (AI Provider)\n    # DeepSeek Reasoning Model (AI Provider) - deepseek-reasoner\n    # OpenAI Reasoning Model (AI Provider) - gpt-4o\n    # OpenRouter Reasoning Model (AI Provider) - openai/gpt-4o\n    NEXT_PUBLIC_AI_REASONING_MODEL=gpt-4o\n\n    # Landing Page Copy Text\n    NEXT_PUBLIC_LANDING_PAGE_COPY_TEXT=\"AI-powered search with advanced reasoning capabilities\"\n    ```\n\n5. Start the development server:\n    ```bash\n    npm run dev\n    # or\n    yarn dev\n    ```\n\nThe application will be available at `http://localhost:3000`\n\n## Development Commands\n\n- `npm run dev`: Start development server\n- `npm run build`: Create production build\n- `npm run start`: Start production server\n- `npm run lint`: Run ESLint for code quality checks\n\n## Project Structure\n\n```\nrsearch/\n├── app/                  # Next.js app directory\n│   ├── api/             # API routes\n│   ├── layout.tsx       # Root layout\n│   ├── page.tsx         # Home page\n│   └── rSearch/          # Search page\n├── components/          # React components\n│   ├── rSearch/        # Search-specific components\n│   └── ui/             # Reusable ShadCN UI components\n├── hooks/              # Custom React hooks\n├── lib/                # Utility functions\n├── public/             # Static assets\n└── types/              # TypeScript type definitions\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\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## Acknowledgments\n\n- Built with [Next.js](https://nextjs.org/)\n- Powered by [DeepSeek-R1](https://huggingface.co/deepseek-ai/DeepSeek-R1)\n- Search capabilities by [Serper.dev](https://serper.dev)\n- Styled with [TailwindCSS](https://tailwindcss.com/)\n- Icons from various sources including custom SVGs\n\n\n## Stay Connected\n- **Twitter/X**: [@justmalhar](https://twitter.com/justmalhar) 🛠\n- **LinkedIn**: [Malhar Ujawane](https://linkedin.com/in/justmalhar) 💻\n- **GitHub**: [justmalhar](https://github.com/justmalhar) 💻\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustmalhar%2Frsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustmalhar%2Frsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustmalhar%2Frsearch/lists"}