{"id":13457320,"url":"https://github.com/guangzhengli/ChatFiles","last_synced_at":"2025-03-24T12:31:19.098Z","repository":{"id":149348771,"uuid":"620275636","full_name":"guangzhengli/ChatFiles","owner":"guangzhengli","description":"Document Chatbot — multiple files. Powered by GPT / Embedding.","archived":false,"fork":false,"pushed_at":"2024-12-17T10:26:50.000Z","size":3180,"stargazers_count":3318,"open_issues_count":17,"forks_count":487,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-03-20T06:18:41.405Z","etag":null,"topics":["chatbot","chatfile","chatgpt","chatgpt-api","chatpdf"],"latest_commit_sha":null,"homepage":"","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/guangzhengli.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":"2023-03-28T11:20:09.000Z","updated_at":"2025-03-19T11:24:14.000Z","dependencies_parsed_at":"2025-01-01T20:00:35.559Z","dependency_job_id":"9d165fb0-f95b-4b81-9114-e6a9e4555ef4","html_url":"https://github.com/guangzhengli/ChatFiles","commit_stats":{"total_commits":149,"total_committers":5,"mean_commits":29.8,"dds":0.03355704697986572,"last_synced_commit":"ce8ac2c423f969d190f14a39e77031c6b839e9cc"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangzhengli%2FChatFiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangzhengli%2FChatFiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangzhengli%2FChatFiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guangzhengli%2FChatFiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guangzhengli","download_url":"https://codeload.github.com/guangzhengli/ChatFiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245269829,"owners_count":20587856,"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":["chatbot","chatfile","chatgpt","chatgpt-api","chatpdf"],"created_at":"2024-07-31T08:01:39.692Z","updated_at":"2025-03-24T12:31:19.091Z","avatar_url":"https://github.com/guangzhengli.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/iguangzhengli"],"categories":["TypeScript","HarmonyOS","开源项目","Web Apps","A01_文本生成_文本对话","web应用","UIs","Open Source Projects"],"sub_categories":["Windows Manager","知识管理","Special-purpose","大语言对话模型及数据","特殊用途","Web applications","Knowledge Management"],"readme":"[![My Skills](https://skillicons.dev/icons?i=nextjs,tailwind,react,vercel,ts,supabase)](https://skillicons.dev)\u003ca href=\"https://www.buymeacoffee.com/iguangzhengli\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_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;\" \u003e\n\n# ChatFiles\n\n## Deploy with Vercel\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fguangzhengli%2FChatFiles\u0026env=NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH,SUPABASE_SERVICE_ROLE_KEY,SUPABASE_URL\u0026envDescription=Have%20a%20conversation%20with%20files\u0026envLink=https%3A%2F%2Fgithub.com%2Fguangzhengli%2FChatFiles%2Fblob%2Fmain%2Fdoc%2Fenv-vars.md\u0026demo-title=ChatFiles\u0026demo-description=Have%20a%20conversation%20with%20files\u0026demo-url=https%3A%2F%2Fchat-file.vercel.app%2F\"\u003e\u003cimg src=\"https://vercel.com/button\" alt=\"Deploy with Vercel\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e this repository use [LangchainJS](https://github.com/hwchase17/langchainjs), based on [Chatbot-ui](https://github.com/mckaywrigley/chatbot-ui)\n\nTechnical architecture\n\n![Embedding](./doc/Embedding.png)\n\nProduct screenshot.\n\n![ChatFiles](./doc/chatfiles.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/vectordb/supabase.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/env-vars.md](doc/env-vars.md).\n\nopen browser with http://localhost: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/env-vars.md](doc/env-vars.md).\n3. Pay attention to the NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH value must be /tmp.\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://api.star-history.com/svg?repos=guangzhengli/ChatFiles\u0026type=Date)](https://star-history.com/#guangzhengli/ChatFiles\u0026Date)\n\n## Sponsors\n\n[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/iguangzhengli)\n\nMore Sponsor methods:\n\nhttps://guangzhengli.com/sponsors\n\n### Who is sponsoring this project?\n\nSponsored by [The best china travel guide website](https://chinagotrip.com)\n\n\u003cp\u003e\n\u003c!-- real-sponsors --\u003e\n\u003ca href=\"https://github.com/johnliu33\"\u003e\u003cimg src=\"https://github.com/johnliu33.png\" width=\"50px\" alt=\"johnliu33\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/noxonsu\"\u003e\u003cimg src=\"https://github.com/noxonsu.png\" width=\"50px\" alt=\"noxonsu\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/magedhelmy1\"\u003e\u003cimg src=\"https://github.com/magedhelmy1.png\" width=\"50px\" alt=\"magedhelmy1\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\nZhang Andy\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/Huayu-Qin\"\u003e\u003cimg src=\"https://github.com/Huayu-Qin.png\" width=\"50px\" alt=\"Huayu-Qin\" /\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\n\u003c!-- real-sponsors --\u003e\n\u003c/p\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguangzhengli%2FChatFiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguangzhengli%2FChatFiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguangzhengli%2FChatFiles/lists"}