{"id":18719481,"url":"https://github.com/henomis/ai-shell-assistant","last_synced_at":"2026-05-04T12:41:38.797Z","repository":{"id":153280156,"uuid":"628619516","full_name":"henomis/ai-shell-assistant","owner":"henomis","description":"AI Shell Assistant helps you to executes shell commands","archived":false,"fork":false,"pushed_at":"2023-04-17T14:57:02.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T11:15:41.494Z","etag":null,"topics":["ai","chatgpt","go","openai","shell"],"latest_commit_sha":null,"homepage":"https://simonevellei.com","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/henomis.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-04-16T14:16:12.000Z","updated_at":"2023-10-10T02:53:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"db0faa5e-7da2-481b-9e1a-c934434221f2","html_url":"https://github.com/henomis/ai-shell-assistant","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Fai-shell-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Fai-shell-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Fai-shell-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henomis%2Fai-shell-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henomis","download_url":"https://codeload.github.com/henomis/ai-shell-assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239581759,"owners_count":19662960,"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","chatgpt","go","openai","shell"],"created_at":"2024-11-07T13:26:16.917Z","updated_at":"2025-11-10T18:30:19.057Z","avatar_url":"https://github.com/henomis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 ai-shell-assistant\n\n[![Build Status](https://github.com/henomis/ai-shell-assistant/actions/workflows/release.yml/badge.svg)](https://github.com/henomis/ai-shell-assistant/actions/workflows/release.yml) [![GoDoc](https://godoc.org/github.com/henomis/ai-shell-assistant?status.svg)](https://godoc.org/github.com/henomis/ai-shell-assistant) [![Go Report Card](https://goreportcard.com/badge/github.com/henomis/ai-shell-assistant)](https://goreportcard.com/report/github.com/henomis/ai-shell-assistant) [![GitHub release](https://img.shields.io/github/release/henomis/ai-shell-assistant.svg)](https://github.com/henomis/ai-shell-assistant/releases)\n\nThis is a simple AI shell helper written in GO. It uses OpenAI API to generate a plausible shell command from a given prompt.\nAs soon as the command is generated, the user can choose to execute it or revise it adding more context.\n\n\n\n![ai-shell-assistant](screen.gif)\n\n## Installation\nBe sure to have a working Go environment, then run the following command:\n\n```\n$ go install github.com/henomis/ai-shell-assistant@latest\n```\n\n### From source code\n\nClone the repository and build the binary:\n\n```\n$ make\n```\n\n### Pre-built binaries\n\nPre-built binaries are available for Linux and macOS on the [releases page](https://github.com/henomis/ai-shell-assistant/releases/latest).\n\n\n\n## Usage\n\n⚠️ ai-go-shell requires an OpenAI API key as `OPENAI_API_KEY` environment variable.\n\n\n```\n$ ai-shell-assistant print first 3 lines of each file in a directory\n```\n\n### Output\n\n```\n    🤖 Here is your command line:\n\n    $ head -n 3 *\n    --\n    This command uses the `head` utility to print the first 3 lines of each file in the current directory (`*` is a wildcard that matches all files in the directory). The `-n 3` flag specifies that it should print only the first 3 lines.\n\n    [E]xecute, [R]evise, [Q]uit? \u003e \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenomis%2Fai-shell-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenomis%2Fai-shell-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenomis%2Fai-shell-assistant/lists"}