YourPal is a Python-based assistant for Obsidian that provides powerful and efficient utilities to aid in knowledge management and research.
YourPal uses the BM25S algorithm to index and search your notes, offering more relevant results than Obsidian's built-in search.
- Download the latest release from the GitHub repository.
- Extract the ZIP file into your Obsidian plugins folder:
<vault>/.obsidian/plugins/
- Restart Obsidian and enable the YourPal plugin in the settings.
The YourPal plugin requires a Python backend to function. Follow these steps to set up the backend:
- Ensure you have Python 3.7+ installed on your system.
- Navigate to the
backend
directory in the project. - Install the required dependencies:
pip install -r requirements.txt
- Start the backend server:
uvicorn main:app --reload
- Open Obsidian Settings and navigate to the YourPal plugin settings.
- Set the Backend URL (default is
http://localhost:8000
). - Click "Test Connection" to ensure the plugin can communicate with the backend.
- Click the YourPal icon in the Obsidian ribbon or use the command "Open YourPal Search".
- In the YourPal search view, click "Index Vault" to create or update the search index.
- Enter your search query in the input field and press Enter.
- Click on any search result to open the corresponding file.
To set up the development environment:
- Clone the repository.
- Install dependencies for both the plugin and the backend:
npm install cd backend && pip install -r requirements.txt
- Use
npm run dev
to watch for changes and build the plugin. - Start the backend server with
uvicorn main:app --reload
in thebackend
directory.
Contributions are welcome! Please feel free to submit a PR.
This project is licensed under the MIT License.
If you encounter any issues or have questions, please file an issue on this GitHub repo.