{"id":25836883,"url":"https://github.com/lubyruffy/aic","last_synced_at":"2026-05-11T08:47:21.225Z","repository":{"id":279736803,"uuid":"939739187","full_name":"LubyRuffy/aic","owner":"LubyRuffy","description":"ai client with ollama","archived":false,"fork":false,"pushed_at":"2025-02-27T05:52:27.000Z","size":22184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T06:19:55.195Z","etag":null,"topics":["ai","client","command-line","golang","llm","ollama"],"latest_commit_sha":null,"homepage":"","language":"Go","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/LubyRuffy.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":"2025-02-27T03:00:07.000Z","updated_at":"2025-02-27T06:04:27.000Z","dependencies_parsed_at":"2025-02-27T06:20:12.656Z","dependency_job_id":"3a282052-7a3e-46c0-9a97-f5e8c629765e","html_url":"https://github.com/LubyRuffy/aic","commit_stats":null,"previous_names":["lubyruffy/aic"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LubyRuffy%2Faic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LubyRuffy%2Faic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LubyRuffy%2Faic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LubyRuffy%2Faic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LubyRuffy","download_url":"https://codeload.github.com/LubyRuffy/aic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241309090,"owners_count":19941722,"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":["ai","client","command-line","golang","llm","ollama"],"created_at":"2025-03-01T02:36:24.265Z","updated_at":"2026-05-11T08:47:21.189Z","avatar_url":"https://github.com/LubyRuffy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aic\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/LubyRuffy/aic)](https://goreportcard.com/report/github.com/LubyRuffy/aic)\n[![GitHub release](https://img.shields.io/github/release/LubyRuffy/aic.svg)](https://github.com/LubyRuffy/aic/releases)\n[![Build Status](https://github.com/LubyRuffy/aic/workflows/CI/badge.svg)](https://github.com/LubyRuffy/aic/actions)\n[![License](https://img.shields.io/github/license/LubyRuffy/aic.svg)](https://github.com/LubyRuffy/aic/blob/main/LICENSE)\n\nAIC (AI Client) 是一个基于 Ollama 的智能命令行工具，它能够将自然语言描述转换为系统命令并执行。通过简单的描述，AIC 可以帮助你快速找到并执行所需的命令，无需记忆复杂的命令语法。\n\n## 特性\n\n- 🤖 基于 Ollama 的智能命令生成\n- 🌈 支持多种操作系统（Windows、macOS、Linux）\n- 🔧 兼容多种 Shell（bash、zsh、PowerShell、cmd）\n- 🎨 美观的彩色输出界面\n- 🔍 详细的调试模式\n- ⚡ 快速且轻量级\n\n## 安装\n\n### 使用 Go 安装\n\n```bash\ngo install github.com/LubyRuffy/aic@latest\n```\n\n### 从发布页面下载\n\n访问 [GitHub Releases](https://github.com/LubyRuffy/aic/releases) 页面下载适合你系统的预编译二进制文件。\n\n## 前置条件\n\n1. 安装 [Ollama](https://ollama.ai)\n2. 拉取所需模型（默认使用 qwen2.5-coder）：\n```bash\nollama pull qwen2.5-coder\n```\n\n## 使用方法\n\n### 基本用法\n\n```bash\naic \"你想执行的操作描述\"\n```\n\n### 示例\n\n```bash\n# 列出当前目录下的所有文件\naic \"显示当前目录下的所有文件\"\n\n# 查看系统内存使用情况\naic \"查看系统内存使用情况\"\n```\n\n### 命令行参数\n\n```bash\naic [选项] \u003c提示词\u003e\n\n选项：\n  -model string\n        指定使用的 Ollama 模型 (默认 \"qwen2.5-coder\")\n  -verbose\n        启用详细模式，显示生成的实际命令\n  -ollama-url string\n        指定 Ollama 服务地址 (默认 \"http://localhost:11434\")\n```\n\n## 开发\n\n### 环境要求\n\n- Go 1.21 或更高版本\n- golangci-lint（用于代码检查）\n\n### 构建\n\n```bash\n# 克隆仓库\ngit clone https://github.com/LubyRuffy/aic.git\ncd aic\n\n# 安装依赖\ngo mod tidy\n\n# 构建项目\ngo build\n```\n\n## 许可证\n\n本项目采用 MIT 许可证 - 查看 [LICENSE](LICENSE) 文件了解详情。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flubyruffy%2Faic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flubyruffy%2Faic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flubyruffy%2Faic/lists"}