ollama-pwsh-copilot

Description
PowerShell module that hijacks Enter key to route prompts to local LLM for terminal AI assistance
External Link
Featured
Featured
GitHub Link
https://github.com/OctavianTocan/ollama-pwsh-copilot
Status
Active
Tech Stack
PowerShell
Ollama
AI/LLM
Type
Open Source
PowerShell terminal integration providing inline AI assistance through local LLM. Demonstrates practical AI workflow integration.
Technical Implementation:
  • Built custom keybinding system hijacking Enter key for AI routing
  • Integrated Ollama for local AI assistance without breaking terminal flow
  • Developed idle timer and model lifecycle management for resource efficiency
  • Created streaming output with configurable delays for natural interaction
  • Designed seamless integration preserving normal terminal workflow
Technical Stack: PowerShell, PSReadLine, Ollama, Streaming APIs