zev  by dtnewman

CLI tool for terminal command discovery via natural language

created 4 months ago
694 stars

Top 50.0% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Zev is a command-line interface tool designed to help users discover and recall terminal commands using natural language queries. It targets developers, system administrators, and anyone who frequently interacts with the command line and wants to leverage AI for command generation. The primary benefit is reducing the cognitive load of remembering complex commands, thereby increasing productivity.

How It Works

Zev acts as a natural language interface to LLM APIs, supporting OpenAI, Google Gemini, and Ollama. Users input a description of their desired action in plain English, and Zev translates this into a corresponding shell command. This approach leverages the power of large language models to interpret user intent and generate accurate, context-aware commands, eliminating the need to memorize specific syntax.

Quick Start & Requirements

  • Primary install: pip install zev
  • Dependencies:
    • LLM API access (OpenAI, Google Gemini, or Ollama)
    • For clipboard functionality: xclip or xsel (Linux X11), wl-clipboard (Linux Wayland). macOS and Windows have no additional dependencies for clipboard.
  • Setup: Run zev --setup to configure LLM provider and API keys.

Highlighted Details

  • Supports multiple LLM backends: OpenAI, Google Gemini, and local Ollama.
  • Interactive and direct query modes for flexible usage.
  • Includes examples for file operations, system info, networking, and Git.
  • Offers safety considerations for generated commands.

Maintenance & Community

Contributions are welcome; see CONTRIBUTING.md. No specific community links (Discord/Slack) or notable contributors are listed in the README.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: Permissive MIT license allows for commercial use and integration with closed-source projects.

Limitations & Caveats

Generated commands are produced by LLMs and may not always be safe or accurate, requiring user caution. Clipboard functionality may require specific system packages on Linux.

Health Check
Last commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
110 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.