π» linux-helper is an AI-assisted command-line companion designed for everyday Linux users, not just developers.
This tool allows you to write simple, natural English instructions like:
Show me the files here
Install VLC
What is my IP address?
Search for "error" in logs
β¦and automatically translates them into the correct Linux commands:
ls
sudo apt install vlc
ip a
grep -r "error" /var/log/Most Linux tools are built for advanced users and developers.
linux-helper simplifies the Linux experience for students, tech enthusiasts, and new users by acting as a smart shell assistant.
- π§ Understands natural English input
- βοΈ Suggests or runs real system commands
- π¬ Explains what each command does before execution
- π Works offline (local matching engine, with optional AI integrations)
- π§± Modular design (fuzzy, exact, or AI-based matching)
- Python 3
- RapidFuzz for fuzzy matching
- Modular architecture (easy to extend)
- JSON-based command mapping
- π€ Local AI model integration (LLaMA, Mistral, GPT4All)
- π» Optional GUI (Tkinter, Textual, or Web-based)
- π¦ pip and .deb install support
linux-helper/
β
βββ main.py # CLI entry point
βββ matcher/
β βββ __init__.py
β βββ base.py # Base matcher interface
β βββ fuzzy.py # Fuzzy matching logic
β βββ exact.py # Exact match logic
β βββ embedding.py # (planned) AI matching
βββ commands.json # Natural phrases to command mapping
βββ README.mdBefore running the tool, make sure Python 3 is installed.
Then install required dependencies:
pip install rapidfuzzTo run the assistant:
pip install linux-helper
linux-helperThis will launch the assistant, ready to interpret and execute your natural-language Linux tasks.
Want to add more commands, improve accuracy, or build a GUI? Pull requests are welcome!
MIT License. Use it, modify it, share it.