Typing Copilot is a tool that enhances your typing experience by providing real-time text corrections and processing using Ollama's language models.
- System tray icon for easy access and control
- Real-time text correction (fix typos, casing, and punctuation)
- Process text as instructions using AI
- Support for multiple Ollama language models
- Keyboard shortcuts for quick actions
Before you begin, ensure you have met the following requirements:
- Python 3.9 or higher
- Ollama installed on your system (https://ollama.ai/)
-
Clone this repository:
git clone https://github.com/showjim/Typing-Copilot.git cd typing-copilot
-
Install the required Python packages:
pip install -r requirements.txt
-
Make sure Ollama is running on your system.
-
Run the Typing Copilot:
python typing-copilot.py
-
A system tray icon will appear. Right-click on it to:
- Choose or refresh available Ollama models
- Exit the application
-
Use the following keyboard shortcuts:
- F9: Fix the current line (correct typos, casing, and punctuation)
- F10: Process the current line as an instruction
- F11: Process the selected text as an instruction
- Right-click on the system tray icon
- Select "Choose LLM"
- Click "Refresh Models" to update the list of available models
- Select the desired model from the list
If you encounter any issues:
- Check that Ollama is running and accessible
- Ensure you have the latest version of the required packages
- Check the
typing_copilot.log
file for error messages
- Ollama for providing the language models
- The Python community for the excellent libraries used in this project
- Thanks to patrickloeber, all I have done are based on this repo patrickloeber/ai-typing-assistant