Observed since 21 Oct, 09:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-assistant-cli
AI-powered CLI assistant using Gemini API
A powerful menu-driven Python Command Line Interface (CLI) designed to enhance developer productivity and streamline technical documentation.
It combines the intelligence of the Gemini API for analysis and code generation with a robust local 📚 Recipe Vault for storing essential shell commands.
| Feature | Description |
|---|---|
| 🗣 General Q&A (Web Search) | Get up-to-date, grounded answers with Google Search integration. |
| 💻 Explain Code Snippet | Paste any code block and get a simple, clear explanation of its purpose. |
| 💡 Code Generator (NEW!) | Generate runnable scripts/functions (e.g., Python script for file hashing). |
| 📝 Summarize Local File | Summarizes text from TXT, MD, PDF, DOCX, XLSX, and Images. |
| Action | Description |
|---|---|
| 🛠 Generate New Recipe (AI) | Describe a command, and AI generates & saves it. |
| ➕ Add Known Recipe (Manual) | Save a command you already know with tags & names. |
| 🔍 Search & View Recipe | Find commands by name or tag, ready for instant copy/paste. |
| 🧠 Explain Recipe (AI) | Get detailed explanations of flags, pipes, and syntax. |
You must obtain a Gemini API Key from Google AI Studio and set it as an environment variable named GEMINI_API_KEY.
💻 Setting the Environment Variable:
Run the command corresponding to your operating system before running the Python script.
| Operating System | Command |
|---|---|
| 🪟 Windows PowerShell / VS Code | powershell $env:GEMINI_API_KEY='YOUR_KEY_HERE' |
| 🍎 macOS / 🐧 Linux (Bash/Zsh) | bash export GEMINI_API_KEY='YOUR_KEY_HERE' |
🔑 Replace
YOUR_KEY_HEREwith your actual API key. The quotes are important!
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
requestsEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | requests | runtime |
PyMuPDFEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | PyMuPDF | runtime |
python-docxEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | python-docx | runtime |
openpyxlEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | openpyxl | runtime |
python-pptxEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | python-pptx | runtime |
PillowEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | Pillow | runtime |
bdist_wheel · 6.51 KB · Python py3
sdist · 6.68 KB · Python source
Observed since 21 Oct, 09:57 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c5f3bed49c3a6b7c48c13663d56ea62bf81fa9dec0d0981bfe902af6a90a4100