Viby vibes everything
Project description
Viby
Viby vibes everything
✨ Features
- Intelligent Conversations - Engage in natural multi-turn dialogues
- Command Generation - Get optimized shell commands
- Pipeline Integration - Process data from other commands (e.g.,
git diff | viby "write a commit message") - MCP Tools - Extended capabilities through Model Context Protocol integration
🔧 Installation
# Install from PyPI
pip install viby
Alternative Installation
# Install from source with uv
uv pip install -e .
Usage Examples
Basic Question
yb "Write a quicksort in python"
# -> Sure! Here is a quicksort algorithm implemented in **Python**:
Interactive Chat Mode
yb --chat
# or
yb -c
|> Tell me about quantum computing
# -> [AI responds about quantum computing]
|> What are the practical applications?
# -> [AI responds with follow-up information]
|> exit
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 --shell "How many lines of python code did I write?"
# or
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):
Advanced Model Selection
# Use think model for complex analysis
yb --think "Analyze this complex algorithm and suggest optimizations"
# Use fast model for quick responses
yb --fast "Translate 'Hello, World!' to French"
Automatically Use MCP Tools When Needed
yb "What time is it now?"
# -> [AI uses time tool to get current time]
# -> "datetime": "2025-05-03T00:49:57+08:00"
For more detailed examples and advanced usage, see the Usage Examples documentation.
Configuration
Viby reads configuration from ~/.config/viby/config.yaml. You can set the model, parameters, and MCP options here.
Interactive Configuration
Use the configuration wizard to set up your preferences:
yb --config
This allows you to configure:
- API endpoint and key
- Model
- Temperature and token settings
- MCP tools enablement
- Interface language
MCP Server Configuration
Viby supports Model Context Protocol (MCP) servers for extended capabilities. MCP configurations are stored in ~/.config/viby/mcp_servers.json.
⭐ Star History
📄 Documentation
- Usage Examples - Detailed examples of all Viby features
- Project Design Document - Technical architecture and design
🤝 Contributing
Contributions are welcome! Feel free to submit a Pull Request or create an Issue.
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
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
File details
Details for the file viby-0.0.25.tar.gz.
File metadata
- Download URL: viby-0.0.25.tar.gz
- Upload date:
- Size: 42.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
047e9e10058fbf561d458c1fb80d854974b8e8b170a49f00059790dab1e68512
|
|
| MD5 |
3b0c3301b8af427a815ad1598b55dcbf
|
|
| BLAKE2b-256 |
6a8f061008e56ac1a5a7ea8ca3986646d20c785b46c45b8c39e4a02e6548c474
|
Provenance
The following attestation bundles were made for viby-0.0.25.tar.gz:
Publisher:
release.yaml on JohanLi233/viby
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viby-0.0.25.tar.gz -
Subject digest:
047e9e10058fbf561d458c1fb80d854974b8e8b170a49f00059790dab1e68512 - Sigstore transparency entry: 207951746
- Sigstore integration time:
-
Permalink:
JohanLi233/viby@53a82ad850badebc6bad9fb1abea7dbd24e763b3 -
Branch / Tag:
refs/tags/0.0.25 - Owner: https://github.com/JohanLi233
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@53a82ad850badebc6bad9fb1abea7dbd24e763b3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file viby-0.0.25-py3-none-any.whl.
File metadata
- Download URL: viby-0.0.25-py3-none-any.whl
- Upload date:
- Size: 49.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ea5bdb73820b6c6f98f6fcebd72cbc860ee2ba1ac2d7c809fd98172cbe20422
|
|
| MD5 |
220fff37cb3e9acd220b4c5413f70e6a
|
|
| BLAKE2b-256 |
42c66a49f127b96d4d84fec4f6139ed30b2d149fe4ae7495f58f348bf67c6b55
|
Provenance
The following attestation bundles were made for viby-0.0.25-py3-none-any.whl:
Publisher:
release.yaml on JohanLi233/viby
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
viby-0.0.25-py3-none-any.whl -
Subject digest:
5ea5bdb73820b6c6f98f6fcebd72cbc860ee2ba1ac2d7c809fd98172cbe20422 - Sigstore transparency entry: 207951749
- Sigstore integration time:
-
Permalink:
JohanLi233/viby@53a82ad850badebc6bad9fb1abea7dbd24e763b3 -
Branch / Tag:
refs/tags/0.0.25 - Owner: https://github.com/JohanLi233
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@53a82ad850badebc6bad9fb1abea7dbd24e763b3 -
Trigger Event:
push
-
Statement type: