{"id":19791442,"url":"https://github.com/johnmai-dev/ChatMLX","last_synced_at":"2025-05-01T01:32:21.859Z","repository":{"id":226021411,"uuid":"767522148","full_name":"johnmai-dev/ChatMLX","owner":"johnmai-dev","description":"🤖✨ChatMLX is a modern, open-source, high-performance chat application for MacOS based on large language models.","archived":false,"fork":false,"pushed_at":"2025-03-12T13:21:39.000Z","size":7680,"stargazers_count":773,"open_issues_count":11,"forks_count":58,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-29T05:02:02.858Z","etag":null,"topics":["chat","llama","mlx","mlx-swift","qwen","swift","swift-transformers","swiftui","transformer","transformers"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnmai-dev.png","metadata":{"files":{"readme":"README-zh_CN.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":"2024-03-05T12:54:35.000Z","updated_at":"2025-04-29T04:07:48.000Z","dependencies_parsed_at":"2024-09-07T17:42:06.128Z","dependency_job_id":"cab1eefa-bfc6-480f-9702-40855d69af53","html_url":"https://github.com/johnmai-dev/ChatMLX","commit_stats":{"total_commits":71,"total_committers":2,"mean_commits":35.5,"dds":0.352112676056338,"last_synced_commit":"3b77a573a64a227309bc0f335433101462f31989"},"previous_names":["maiqingqiang/chatmlx","johnmai-dev/chatmlx"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmai-dev%2FChatMLX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmai-dev%2FChatMLX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmai-dev%2FChatMLX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmai-dev%2FChatMLX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnmai-dev","download_url":"https://codeload.github.com/johnmai-dev/ChatMLX/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251632293,"owners_count":21618625,"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":["chat","llama","mlx","mlx-swift","qwen","swift","swift-transformers","swiftui","transformer","transformers"],"created_at":"2024-11-12T07:02:27.655Z","updated_at":"2025-05-01T01:32:21.152Z","avatar_url":"https://github.com/johnmai-dev.png","language":"Swift","funding_links":[],"categories":["Swift","HarmonyOS","LLM \u0026 Inference"],"sub_categories":["Windows Manager"],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n[English](./README.md) | 简体中文\n\n\n[![贡献者][contributors-shield]][contributors-url]\n[![分支数][forks-shield]][forks-url]\n[![星标数][stars-shield]][stars-url]\n[![问题数][issues-shield]][issues-url]\n[![Apache 许可证][license-shield]][license-url]\n\n\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/maiqingqiang/ChatMLX\"\u003e\n    \u003cimg src=\"ChatMLX/Assets.xcassets/AppIcon.appiconset/1024.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n\u003ch3 align=\"center\"\u003eChatMLX\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    ChatMLX 是一款现代化的开源高性能聊天应用，基于大型语言模型，依托于强大的\u003ca href=\"https://github.com/ml-explore/mlx-swift\"\u003eMLX\u003c/a\u003e和 Apple silicon。它支持多种模型，为用户提供丰富多样的对话选项。该应用在本地运行 LLM，以确保用户隐私和安全。\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/maiqingqiang/ChatMLX/issues\"\u003e报告错误\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/maiqingqiang/ChatMLX/issues\"\u003e请求功能\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/maiqingqiang/ChatMLX/releases\"\u003e下载\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## 特性 🚀\n\n- **多语言**：支持应用商店中39种主流语言，包括英语、简体中文、繁体中文、日语和韩语。\n- **多个模型**：提供多个模型，包括 Llama、OpenELM、Phi、Qwen、Starcoder 和 Cohere。\n- **高性能**：基于 MLX 和 Apple silicon 的强大性能。\n- **隐私与安全**：在本地运行 LLM，以确保用户隐私和安全。\n- **开源**：开源项目，欢迎贡献。\n\n\u003e [!NOTE]\n\u003e\n\u003e 与 macOS 14.0及更高版本兼容。\n\n![iShot_2024-08-31_23.55.23.png](images/iShot_2024-08-31_23.55.23.png)\n\n![iShot_2024-08-31_23.55.39.png](images/iShot_2024-08-31_23.55.39.png)\n\n## FAQ\n\n### 1. 在 macOS 安装后，打开时显示“文件损坏”或没有响应\n\n由于 ChatMLX 未经过签名，因此被 macOS 安全检查阻止。\n\n如果在安装后遇到“文件损坏”的错误，请按照以下步骤操作：\n\n```bash\nxattr -cr /Applications/ChatMLX.app\n```\n\n之后，您应该能够正常打 ChatMLX。\n\n如果出现以下信息：\n\n```sh\noption -r not recognized\n\nusage: xattr [-slz] file [file ...]\n       xattr -p [-slz] attr_name file [file ...]\n       xattr -w [-sz] attr_name attr_value file [file ...]\n       xattr -d [-s] attr_name file [file ...]\n       xattr -c [-s] file [file ...]\n\nThe first form lists the names of all xattrs on the given file(s).\nThe second form (-p) prints the value of the xattr attr_name.\nThe third form (-w) sets the value of the xattr attr_name to attr_value.\nThe fourth form (-d) deletes the xattr attr_name.\nThe fifth form (-c) deletes (clears) all xattrs.\n\noptions:\n  -h: print this help\n  -s: act on symbolic links themselves rather than their targets\n  -l: print long format (attr_name: attr_value)\n  -z: compress or decompress (if compressed) attribute value in zip format\n```\n\n那就执行下面这个命令：\n\n```bash\nxattr -c /Applications/ChatMLX.app/*\n```\n\n如果以上命令仍然无效，可以尝试以下命令：\n\n```bash\nsudo xattr -d com.apple.quarantine /Applications/ChatMLX.app/\n```\n\n## Star 历史 🌟\n\n[![星标历史图表](https://api.star-history.com/svg?repos=maiqingqiang/ChatMLX\u0026type=Date)](https://star-history.com/#maiqingqiang/ChatMLX\u0026Date)\n\n[contributors-shield]: https://img.shields.io/github/contributors/maiqingqiang/ChatMLX.svg?style=for-the-badge\n[contributors-url]: https://github.com/maiqingqiang/ChatMLX/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/maiqingqiang/ChatMLX.svg?style=for-the-badge\n[forks-url]: https://github.com/maiqingqiang/ChatMLX/network/members\n[stars-shield]: https://img.shields.io/github/stars/maiqingqiang/ChatMLX.svg?style=for-the-badge\n[stars-url]: https://github.com/maiqingqiang/ChatMLX/stargazers\n[issues-shield]: https://img.shields.io/github/issues/maiqingqiang/ChatMLX.svg?style=for-the-badge\n[issues-url]: https://github.com/maiqingqiang/ChatMLX/issues\n[license-shield]: https://img.shields.io/github/license/maiqingqiang/ChatMLX.svg?style=for-the-badge\n[license-url]: https://github.com/maiqingqiang/ChatMLX/blob/main/LICENSE\n\n\u003cp align =\"right\"\u003e( \u003c a href=\"#readme-top \"\u003e返回顶部\u003c / a \u003e )\u003c p \u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmai-dev%2FChatMLX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnmai-dev%2FChatMLX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmai-dev%2FChatMLX/lists"}