{"id":50390895,"url":"https://github.com/tabris17/lazycli","last_synced_at":"2026-05-30T18:01:12.721Z","repository":{"id":354380701,"uuid":"1206617117","full_name":"tabris17/lazycli","owner":"tabris17","description":"Natural Language to Shell Command","archived":false,"fork":false,"pushed_at":"2026-05-15T09:51:44.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-15T10:11:59.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","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/tabris17.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-10T04:58:08.000Z","updated_at":"2026-05-15T09:51:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tabris17/lazycli","commit_stats":null,"previous_names":["tabris17/lazycli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tabris17/lazycli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabris17%2Flazycli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabris17%2Flazycli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabris17%2Flazycli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabris17%2Flazycli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tabris17","download_url":"https://codeload.github.com/tabris17/lazycli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabris17%2Flazycli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33703065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-05-30T18:01:11.845Z","updated_at":"2026-05-30T18:01:12.698Z","avatar_url":"https://github.com/tabris17.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lazycli\n\n[[简体中文](docs/README.zh_CN.md)]\n\nA cross-platform command-line tool that converts natural language into shell commands using LLMs, bridging user intent and the shell environment with explicit user confirmation before execution for safety.\n\n## Features\n\n- Cross-platform support (Windows, Linux, macOS, BSD)\n- Works seamlessly across popular shells (bash, fish, nushell, zsh, PowerShell)\n- Flexible LLM backend support via OpenAI-compatible APIs\n- Configurable prompt templates\n- Interactive command confirmation before execution\n- Lightweight and token-efficient for low-cost usage\n\n## Installation\n\n### From Source\n\n```shell\ngit clone https://github.com/tabris17/lazycli\ncd lazycli\nnimble setup\nnimble release\n```\n\n### Download\n\nGet the latest release from:\n\n```text\nhttps://github.com/tabris17/lazycli/releases\n```\n\n## Integration\n\nConfigure your shell to initialize lazycli. Select yours from the list below:\n\n### Bash\n\nAdd the following to the end of `~/.bashrc`:\n\n```bash\neval \"$(lazycli init bash)\"\n```\n\n### Fish\n\nAdd the following to the end of `~/.config/fish/config.fish`:\n\n```fish\nlazycli init fish | source\n```\n\n### Nushell\n\nRun the following code in nushell:\n\n```nushell\nmkdir ($nu.data-dir | path join \"vendor/autoload\")\nlazycli init nushell | save -f ($nu.data-dir | path join \"vendor/autoload/lazycli.nu\")\n```\n\n### PowerShell\n\nAdd the following to the end of your PowerShell profile, which you can open by running `notepad $PROFILE`:\n\n```powershell\nInvoke-Expression (\u0026 { lazycli init powershell | Out-String })\n```\n\n### Zsh\n\nAdd the following to the end of `~/.zshrc`:\n\n```zsh\neval \"$(lazycli init zsh)\"\n```\n\n### Advanced\n\n`lazy init` supports the following options:\n\n- `--config`: Specifies the configuration file to use\n- `--posix-path`: Forces the init shell script to use POSIX path separators. Useful for portable versions of Bash running on Windows\n\n## Usage\n\nFirst, initialize the configuration file using the following command:\n\n```shell\nlazycli config init\n```\n\nFollow the prompts to complete the setup step by step. To overwrite an existing configuration, use the `--force` option.\n\nMake sure your shell has loaded the initialization script. At the command prompt, type a natural language description of the command you want to execute. For example: `list all files`.\n\nThen press the configured hotkey (default is \u003ckbd\u003eF1\u003c/kbd\u003e) to invoke lazycli. After the command is processed, the content at the command prompt will be automatically replaced with an executable shell command.\n\n## Configuration\n\nDefault configuration file locations:\n\n- Linux/macOS: `~/.config/lazycli/config.toml`\n- Windows: `%USERPROFILE%\\.config\\lazycli\\config.toml`\n\nYou can also run `lazycli config` to locate the configuration file path.\n\n## Supported LLM Backends\n\nCurrently supported:\n\n- OpenAI-compatible APIs\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftabris17%2Flazycli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftabris17%2Flazycli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftabris17%2Flazycli/lists"}