Rafiqi is an offline personal assistant built with privacy in mind. It operates entirely on your local device, providing the support of an intelligent assistant while ensuring that no data is sent to the cloud. With Rafiqi, you have a companion that's always there to help, without compromising your privacy.
- Voice Input: Local speech-to-text and text-to-speech.
- AI Integration: Powered by OpenAI's GPT models
- Privacy Focused: Minimal data storage, with clear user control
- Task Management: Organize your life with reminders, to-do lists, and calendar events.
- Modular: Easily extendable with new plugins or functionalities.
- Python 3.8+
- OpenAI API key
- Microphone for voice input
- Speakers for voice output
-
Clone the repository:
git clone https://github.com/YOUR_USERNAME/Rafiqi.git cd Rafiqi -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
# Copy the template environment file cp env.template .env # Edit .env file with your favorite editor and add your OpenAI API key
Your .env file should look like this:
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxx -
Run the assistant:
python src/main.py
Once running, Rafiqi will listen for your voice input. Speak clearly into your microphone and wait for the response. Say "stop", "quit", or "exit" to end the session.
Make sure you have a working microphone and speakers set up on your system. The first time you run the program, you may need to grant microphone permissions.