{"id":13457171,"url":"https://github.com/yokingma/search_with_ai","last_synced_at":"2025-09-13T05:34:56.269Z","repository":{"id":226921118,"uuid":"769134044","full_name":"yokingma/search_with_ai","owner":"yokingma","description":"Open AI Search, Support DeepResearch, DeepSeek R1, Ollama/LMStudio, SearXNG, Docker.  AI搜索引擎，支持DeepResearch, 本地模型、深度思考模型（DeepSeek R1）、聚合搜索引擎SearXNG，支持Docker一键部署。","archived":false,"fork":false,"pushed_at":"2025-02-27T13:45:25.000Z","size":10507,"stargazers_count":924,"open_issues_count":12,"forks_count":173,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-05-15T09:02:23.860Z","etag":null,"topics":["deep-research","deepresearch","deepseek-r1","firecrawl","perplexity","rag","search","searxng","tavily"],"latest_commit_sha":null,"homepage":"https://isou.chat","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/yokingma.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-03-08T12:15:29.000Z","updated_at":"2025-05-14T12:03:19.000Z","dependencies_parsed_at":"2024-05-16T01:31:54.455Z","dependency_job_id":null,"html_url":"https://github.com/yokingma/search_with_ai","commit_stats":null,"previous_names":["yokingma/search_with_ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yokingma%2Fsearch_with_ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yokingma%2Fsearch_with_ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yokingma%2Fsearch_with_ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yokingma%2Fsearch_with_ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yokingma","download_url":"https://codeload.github.com/yokingma/search_with_ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310513,"owners_count":22049468,"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":["deep-research","deepresearch","deepseek-r1","firecrawl","perplexity","rag","search","searxng","tavily"],"created_at":"2024-07-31T08:01:34.801Z","updated_at":"2025-09-13T05:34:56.258Z","avatar_url":"https://github.com/yokingma.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","📚 Projects (1974 total)","A01_文本生成_文本对话","Langchain"],"sub_categories":["MCP Servers","大语言对话模型及数据"],"readme":"\u003ca name=\"top\"\u003e\u003c/a\u003e\n# Open AI Search (Support Deep Research)\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n  Build your conversation-based search with LLM, support DeepResearch / DeepSeek R1.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://isou.chat/\"\u003eLive Demo\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/yokingma/search_with_ai/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/yokingma/search_with_ai\" alt=\"Github Stars\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/yokingma/search_with_ai/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-purple\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/yokingma/search_with_ai/issues/new\"\u003e\u003cimg src=\"https://img.shields.io/badge/Report a bug-Github-%231F80C0\" alt=\"Report a bug\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/yokingma/search_with_ai/discussions/new?category=q-a\"\u003e\u003cimg src=\"https://img.shields.io/badge/Ask a question-Github-%231F80C0\" alt=\"Ask a question\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n**English** | [中文](./README_ZH_CN.md) | [日本語](./README_JP.md)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n \u003cimg src=\"./assets/screenshot.jpg\"\u003e\u003c/img\u003e\n\u003c/div\u003e\n\nRepositories: [GitHub](https://github.com/yokingma/search_with_ai) [CNB](https://cnb.cool/isou/AiSearch)\n\n## Features\n\n* 🔍 **New!** Support \"**Deep Research**\" like OpenAI/Gemini/Perplexity.\n* Built-in support for LLM: OpenAI, Google, Lepton, DeepSeek(R1), SiliconFlow, AliYun, Baidu, ChatGLM, Moonshot, Tencent, Lepton, Yi and more.\n* Support Ollama, [LMStudio](https://github.com/lmstudio-ai/lms)\n* Built-in support for search engine: Bing, Google, [Tavily](https://tavily.com/), [SearXNG](https://github.com/searxng/searxng)\n* Customizable pretty UI interface\n* Support light\u0026dark mode/mobile\n* Support i18n\n* Support Continue Q\u0026A with contexts.\n* Support Cache results, Force reload.\n* Support images search.\n\n## About DeepResearch\n\nSupport \"Deep Research\" like OpenAI/Gemini/Perplexity, through search engine, web scraping and LLM to iterate on any topic or question, and generate a comprehensive report. Project reference [dzhng/deep-research](https://github.com/dzhng/deep-research).\n\nhttps://github.com/user-attachments/assets/da5e038d-5e0a-4a6f-bae2-b1a58eee193e\n\n**Note:**\n\n- **Warning:** It will cost a lot of Tokens.\n- Need to support `Function Calling`.\n- Use JINA.ai to extract web page content (No need to configure KEY, limited: 20RPM).\n\n**Workflow:**\n\n1. Analyze user's query.\n2. Generate follow-up questions to refine the research direction.\n3. Generate and execute search queries.\n4. Process and analyze search results.\n5. Recursive exploration leads to deeper exploration base on `step 4`.\n6. Generate a comprehensive report.\n\n\u003e [!NOTE]\n\u003e If you want to integrate DeepResearch capabilities into your own (Node.js) project, we recommend using the following npm package, built on LangGraph, with detailed usage instructions: [DeepResearch](https://github.com/yokingma/deepresearch)\n\n```shell\nnpm install deepsearcher\n```\n\n## Deploy with Docker (recommended)\n\n[Install Docker](https://docs.docker.com/install/).\n\n```shell\ndocker pull docker.cnb.cool/aigc/aisearch\n```\n\n1.**Get the code.**\n\n```shell\ngit clone https://github.com/yokingma/search_with_ai.git\ncd search_with_ai\n```\n\n2.**Edit** [.env.docker](https://github.com/yokingma/search_with_ai/blob/main/.env) **file.** in ```deploy``` directory.\n\n\u003e After modifying the .env.docker file, restart the Docker container to apply changes.\n\nYou must set at least one KEY.\n\n```shell\n...\n# OpenAI's key\nOPENAI_KEY=#your key\n\n# Searxng hostname.\nSEARXNG_HOSTNAME=http://searxng:8080\n```\n\n3.**Edit** [model.json](https://github.com/yokingma/search_with_ai/blob/main/deploy/model.json) **file.** [Optional]\n\n```json\n{\n  \"provider\": \"openai\",\n  \"type\": \"openai\",\n  \"baseURL\": \"https://api.openai.com/v1\",\n  \"models\": [\"o1-preview\", \"o1-mini\", \"gpt-4o\", \"gpt-4o-mini\"]\n}\n```\n\n4.**Run with Docker Compose.**\n\n```shell\ndocker compose up -d\n```\n\nThen visit \u003chttp://localhost:3000\u003e\n\n5.**Update**\n\n* Delete old images.\n* Run ```docker compose down```\n* Run ```docker compose up -d```\n\n## Search Engine\n\nBuilt-in support for search engine: SearXNG, Bing, Google, Tavily, etc.\n\n#### SearXNG (Free, No Key required)\n\nInstall [SearXNG](https://github.com/searxng/searxng) with [searxng-docker](https://github.com/searxng/searxng-docker)\n\nMake sure to activate the json format to use the API. This can be done by adding the following line to the settings.yml file:\n\n```yaml\nsearch:\n    formats:\n        - html\n        - json\n```\n\nAnd set limiter to false:\n\n```yaml\nserver:\n   limiter: false # default is true\n```\n\n`apps/server/.env`:\n\n```shell\n# SEARXNG_HOSTNAME=\u003chost\u003e\n```\n\n#### Bing Search\n\nTo use the Bing Web Search API, please visit [this link](https://www.microsoft.com/en-us/bing/apis/bing-web-search-api) to obtain your Bing subscription key.\n\n#### Google Search\n\nYou have three options for Google Search: you can use the SearchApi Google Search API from [SearchApi](https://www.searchapi.io/), [Serper](https://www.serper.dev/) Google Search API from Serper, or opt for the [Programmable Search Engine](https://developers.google.com/custom-search) provided by Google.\n\n#### Tavily Search\n\n[Tavily](https://tavily.com/) is a search engine optimized for LLMs.\n\n#### Jina Reader URL API\n\n[Jina](https://jina.ai/) Reader URL API, supporting full web content extraction. used in [DeepResearch] mode.\nJINA KEY is optional (limited to 20RPM).\n\n```shell\n# JINA API KEY\nJINA_KEY=#your key\n```\n\n## Deploy \u0026 Development\n\n* Node.js \u003e= 20\n* Turborepo\n* PackageManager: yarn@3.5.1\n\n* **Directory Structure**\n\n```text\napps/\n  | server # backend\n  | web # frontend\ndeploy/\n  | docker-compose.yaml # docker deployment file\n  | .env.docker # backend configuration file\n  | model.json # backend model configuration file\n  ...\n```\n\n* **Development \u0026 Build**\nIn the root of the project:\n\n```shell\nturbo dev\n# or\nturbo build\n```\n\n* **Update**\nIn the root of the project:\n\n```shell\ngit pull\n```\n\n## CDN acceleration and security protection for this project are sponsored by Tencent EdgeOne\nEdgeOne offers a long-term free plan with unlimited traffic and requests, covering Mainland China nodes, with no overage charges. Interested friends can click the link below to claim it\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://edgeone.ai/media/34fe3a45-492d-4ea4-ae5d-ea1087ca7b4b.png\" width=\"50%\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://edgeone.ai/?from=github\"\u003eBest Asian CDN, Edge, and Secure Solutions - Tencent EdgeOne\u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\nThis repository's source code is available under the [MIT License](LICENSE).\n\n[🚀Back to top](#top)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyokingma%2Fsearch_with_ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyokingma%2Fsearch_with_ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyokingma%2Fsearch_with_ai/lists"}