8000 GitHub - neowulf/zev: A simple CLI to help you remember commands
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ zev Public
forked from dtnewman/zev

A simple CLI to help you remember commands

License

Notifications You must be signed in to change notification settings

neowulf/zev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zev 🔍

PyPI version License: MIT

Zev helps you remember (or discover) terminal commands using natural language.

Description

🔧 Installation

pip install zev

This project runs on top of the OpenAI API. After your first time running it, you will be prompted to enter an OpenAI key.

🎮 Usage

Option 1: Interactive Mode

zev

Option 2: Direct Query

zev '<what you want to do>'

📝 Examples

# Find running processes
zev 'show all running python processes'

# File operations
zev 'find all .py files modified in the last 24 hours'

# System information
zev 'show disk usage for current directory'

# Network commands
zev 'check if google.com is reachable'

# Git operations
zev 'show uncommitted changes in git'

⚙️ Settings

You can update your OpenAI API key or other settings by running:

zev --setup

To use the OpenAI key, you must have an OpenAI account and a subscription. You can create an API key on this page.

🐪 Using with Ollama

You can use Zev with Ollama as an alternative to OpenAI, which lets you run all commands locally. To set this up:

  1. Install and start Ollama with a model of your choice

  2. Run zev --setup and put in the proper settings. For example:

Enter your OpenAI API key:
Enter your OpenAI base URL: http://localhost:11434/v1
Enter your OpenAI model: llama3.2

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple CLI to help you remember commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%
0