A PowerShell-based voice and text command assistant made for my father Tomas.
- Voice command recognition (Windows only)
- Natural language to PowerShell command conversion
- Text-only mode for non-Windows platforms
- Command preview mode
- Automatic module installation
- Windows Start Menu integration
# Download and run the installer
irm https://raw.githubusercontent.com/cyberluke/BanikCommander/main/install.ps1 | iex- Clone the repository:
git clone https://github.com/cyberluke/BanikCommander.git- Import the module:
Import-Module .\BanikCommander\BanikCommander.psm1 -Force- Configure your OpenAI API key:
Set-NANOTRIKAIConfig -ApiKey "your-api-key-here"# Start in normal mode (with voice recognition if available)
Start-Banik
# Start in text-only mode
Start-Banik -TextOnly
# Preview a command without executing
.\banik.ps1 "show all running processes"- Start speaking after "Listening..." appears
- End your command with "banik" or "baník" to execute
- Say "exit" to quit
Example: "Show me all running processes banik"
In text-only mode, simply type your command and press Enter.
Example: "list all services that are running"
You can configure which PowerShell modules should be automatically imported when using BanikCommander. By default, no modules are imported automatically. To enable automatic module imports, modify the $RequiredModules array in BanikCommander/Private/Initialize-RequiredModules.ps1. For example, you can add modules like 'Microsoft.Graph', 'AzureAD', 'MSOnline', or 'MicrosoftTeams' based on your needs.
Run the installation script and choose 'Y' when prompted to install permanently:
.\install.ps1This will:
- Copy the module to your PowerShell modules directory
- Add it to your PowerShell profile for automatic import
- Create a Start Menu shortcut (optional)
- PowerShell 7.0 or later
- Windows (for voice recognition)
- OpenAI API key
- Git (automatically installed if missing)
- Czech language pack (for Czech voice recognition)
MIT License
