[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10695":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},10695,"ChatFiles","guangzhengli\u002FChatFiles","guangzhengli","Document Chatbot — multiple files. Powered by GPT \u002F Embedding.","",null,"TypeScript",3348,464,21,17,0,4,60.4,"MIT License",false,"main",true,[24,25,26,27,28],"chatbot","chatfile","chatgpt","chatgpt-api","chatpdf","2026-06-12 04:00:51","[![My Skills](https:\u002F\u002Fskillicons.dev\u002Ficons?i=nextjs,tailwind,react,vercel,ts,supabase)](https:\u002F\u002Fskillicons.dev)\u003Ca href=\"https:\u002F\u002Fwww.buymeacoffee.com\u002Figuangzhengli\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fwww.buymeacoffee.com\u002Fassets\u002Fimg\u002Fcustom_images\u002Forange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" >\n\n# ChatFiles\n\n## Deploy with Vercel\n\n\u003Cp align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fvercel.com\u002Fnew\u002Fclone?repository-url=https%3A%2F%2Fgithub.com%2Fguangzhengli%2FChatFiles&env=NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH,SUPABASE_SERVICE_ROLE_KEY,SUPABASE_URL&envDescription=Have%20a%20conversation%20with%20files&envLink=https%3A%2F%2Fgithub.com%2Fguangzhengli%2FChatFiles%2Fblob%2Fmain%2Fdoc%2Fenv-vars.md&demo-title=ChatFiles&demo-description=Have%20a%20conversation%20with%20files&demo-url=https%3A%2F%2Fchat-file.vercel.app%2F\">\u003Cimg src=\"https:\u002F\u002Fvercel.com\u002Fbutton\" alt=\"Deploy with Vercel\"\u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n> this repository use [LangchainJS](https:\u002F\u002Fgithub.com\u002Fhwchase17\u002Flangchainjs), based on [Chatbot-ui](https:\u002F\u002Fgithub.com\u002Fmckaywrigley\u002Fchatbot-ui)\n\nTechnical architecture\n\n![Embedding](.\u002Fdoc\u002FEmbedding.png)\n\nProduct screenshot.\n\n![ChatFiles](.\u002Fdoc\u002Fchatfiles.png)\n\n**Upload your file and have a conversation with it.**\n\n\n## How to use it\n\n### Init Vector DB\n[Crate a vector db on Supabase](doc\u002Fvectordb\u002Fsupabase.md)\n\n### How to run locally without limited\n1. clone this repository.\n2. create a .env file on root path.\n3. set environment variables in .env file follow [doc\u002Fenv-vars.md](doc\u002Fenv-vars.md).\n\nopen browser with http:\u002F\u002Flocalhost:3000\n\n## How to run locally\n### chatfiles-ui\n\n```shell\nnpm install\nnpm run dev\n```\n\n### How to deploy on vercel\n1. Click the Deploy Button.\n2. Set environment variables follow [doc\u002Fenv-vars.md](doc\u002Fenv-vars.md).\n3. Pay attention to the NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH value must be \u002Ftmp.\n\n## Feature\n\n- [x] Chat with GPT-3.5\n- [x] Chat with file by langchainjs and supabase vector db.\n\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=guangzhengli\u002FChatFiles&type=Date)](https:\u002F\u002Fstar-history.com\u002F#guangzhengli\u002FChatFiles&Date)\n\n## Sponsors\n\n[![Buy Me A Coffee](https:\u002F\u002Fwww.buymeacoffee.com\u002Fassets\u002Fimg\u002Fcustom_images\u002Forange_img.png)](https:\u002F\u002Fwww.buymeacoffee.com\u002Figuangzhengli)\n\nMore Sponsor methods:\n\nhttps:\u002F\u002Fguangzhengli.com\u002Fsponsors\n\n### Who is sponsoring this project?\n\nSponsored by [The best china travel guide website](https:\u002F\u002Fchinagotrip.com)\n\n\u003Cp>\n\u003C!-- real-sponsors -->\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjohnliu33\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fjohnliu33.png\" width=\"50px\" alt=\"johnliu33\" \u002F>\u003C\u002Fa>&nbsp;&nbsp;\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fnoxonsu\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fnoxonsu.png\" width=\"50px\" alt=\"noxonsu\" \u002F>\u003C\u002Fa>&nbsp;&nbsp;\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmagedhelmy1\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fmagedhelmy1.png\" width=\"50px\" alt=\"magedhelmy1\" \u002F>\u003C\u002Fa>&nbsp;&nbsp;\nZhang Andy&nbsp;&nbsp;\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FHuayu-Qin\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FHuayu-Qin.png\" width=\"50px\" alt=\"Huayu-Qin\" \u002F>\u003C\u002Fa>&nbsp;&nbsp;\n\u003C!-- real-sponsors -->\n\u003C\u002Fp>\n\n\n","ChatFiles 是一个基于 GPT 和 Embedding 技术的文档聊天机器人，支持用户上传多个文件并与其进行对话。该项目使用 TypeScript 开发，集成了 LangchainJS 和 Supabase 作为向量数据库，能够实现与 GPT-3.5 的对话以及对上传文件内容的理解和交互。它特别适合需要快速理解和提取大量文档信息的场景，如企业知识管理、学术研究资料整理等。通过简单的部署步骤即可在本地或 Vercel 上运行，为用户提供便捷高效的文档处理体验。",2,"2026-06-11 03:29:45","top_topic"]