A multifunctional command-line tool for interacting with large language models.
Project description
viby
English | 中文 A multifunctional command-line tool for interacting with large language models.
Features
- Ask questions and get AI-generated answers
- Interactive chat mode for multi-turn conversations
- Generate shell commands and explanations
- Process piped input (e.g., content from
git diff) - Support for OpenAI-compatible API interfaces
Installation
pip install viby
Usage Examples
Basic Question
yb "Write a quicksort in python"
# -> Sure! Here is a quicksort algorithm implemented in **Python**:
Interactive Chat Mode
yb -c
|> Tell me about quantum computing
# -> [AI responds about quantum computing]
|> What are the practical applications?
# -> [AI responds with follow-up information]
Process Piped Content
git diff | yb "Generate a commit message"
# -> Added information to the README
yb "What is this project about?" < README.md
# -> This project is about...
Generate Shell Command
yb -s "How many lines of python code did I write?"
# -> find . -type f -name "*.py" | xargs wc -l
# -> [r]run, [e]edit, [y]copy, [c]chat, [q]quit (default: run):
Configuration
Viby reads configuration from ~/.config/viby/config.json. You can set the model and parameters here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
viby-0.0.5.tar.gz
(30.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
viby-0.0.5-py3-none-any.whl
(36.5 kB
view details)
File details
Details for the file viby-0.0.5.tar.gz.
File metadata
- Download URL: viby-0.0.5.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15d87e53e205270351b310681845a7c011fdd53a1f23a864313feba0f73d4f15
|
|
| MD5 |
f4e0ef84aca9ffbfc55830bf6f2f5164
|
|
| BLAKE2b-256 |
52186c435bc58ae940dc74f0bcca0614eb3a98e3da13d0273f70d2255d6c4cb5
|
File details
Details for the file viby-0.0.5-py3-none-any.whl.
File metadata
- Download URL: viby-0.0.5-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0acfd021a59cc23f78fa1de1a149b8edcb28cd38fe44daf4d30181d7597a837d
|
|
| MD5 |
5022a30ba4be02e4c38e584e87441d83
|
|
| BLAKE2b-256 |
91a8780df3f933a0222f797c1a4e0d564360d86373682874e22ae4c34fef1828
|