A private, local AI assistant using Ollama that runs entirely on your computer and is designed to be hidden from screen sharing.
- 🤖 Local AI: Uses Ollama for completely local AI inference - no data leaves your machine
- 🔒 Private: Designed to be hidden from screen sharing
- 💬 Chat Interface: Clean, modern chat interface similar to Cluely
- 🎨 Dark Theme: Easy on the eyes with a sleek dark interface
- ⚡ Fast: Direct connection to local Ollama instance
- 🎤 Voice Input: Speak to the AI using your microphone
- 🔊 Voice Output: AI responses are spoken aloud (when voice listening is active)
- 📌 Always on Top: Window stays pinned on top of all screens
- 🌫️ Transparent: Semi-transparent window that stays visible
- Python 3.7+ installed on your system
- Ollama installed and running locally
- Download from: https://ollama.ai
- Make sure Ollama is running:
ollama serve - Pull at least one model:
ollama pull llama2(or any other model)
-
Navigate to the hide directory:
cd hide -
Install Python dependencies:
pip install -r requirements.txt
-
For voice features (optional but recommended):
- On macOS, you may need to install PortAudio for PyAudio:
brew install portaudio
- Then install the voice dependencies:
pip install SpeechRecognition pyaudio pyttsx3
- Grant microphone permissions in System Settings > Privacy & Security > Microphone
- On macOS, you may need to install PortAudio for PyAudio:
-
Make sure Ollama is running:
ollama serve
-
Run Hidebar:
# Option 1: Use the start script (recommended - handles venv automatically) ./start.sh # Option 2: Manual run (make sure you're not in a virtual environment) deactivate # if in venv python3 Hidebar.py
-
The application will:
- Connect to your local Ollama instance
- Display available models
- Allow you to chat with the AI
-
Using Voice Features:
- Click the 🎤 button to start voice listening
- Speak your question - it will be transcribed and sent to the AI
- When the AI responds, it will be spoken aloud automatically
- Click 🔴 to stop voice listening
- Ollama URL: Default is
http://localhost:11434. You can modify this inHidebar.pyif your Ollama runs on a different port. - Default Model: The app defaults to
llama2, but you can select any available model from the dropdown.
- The app attempts to hide from screen sharing using macOS accessibility features
- All AI processing happens locally - no data is sent to external servers
- Conversation history is stored only in memory (cleared when app closes)
The app includes a background process that attempts to hide the window from screen sharing. For best results:
-
Install pyobjc (optional, for better hiding):
pip install pyobjc
-
Grant Accessibility Permissions:
- Go to System Settings > Privacy & Security > Accessibility
- Add Terminal (or your terminal app) to the allowed list
- This allows the app to modify window properties
-
Note: Screen sharing hiding may not work perfectly on all macOS versions. The app uses AppleScript to attempt to exclude the window from screen capture, but this depends on macOS accessibility features.
If the window still appears in screen sharing, you may need to:
- Use a different windowing approach (requires code changes)
- Manually minimize/hide the window during screen sharing
- Use macOS's built-in "Do Not Disturb" or screen sharing controls
- This happens when using a virtual environment with Homebrew Python
- Solution: Deactivate the virtual environment first:
deactivate python3 Hidebar.py
- Or use the provided run script:
./run.sh - The system Python (not Homebrew Python) includes tkinter by default
- Make sure Ollama is running:
ollama serve - Check that Ollama is running on the default port (11434)
- Pull a model first:
ollama pull llama2 - Or pull other models like:
ollama pull mistral,ollama pull codellama
- Some models may take longer to respond
- Try a smaller/faster model if responses are too slow
MIT License - see LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Built with Ollama for local AI inference
- Uses SpeechRecognition for voice input
- Inspired by modern AI assistants like Cluely