|
|
@@ -27,7 +27,21 @@ Beautiful terminal interface for the [Perplexica](https://github.com/ItzCrazyKns
|
|
|
pip install -r requirements.txt
|
|
|
```
|
|
|
|
|
|
-4. **Configure your API endpoint:**
|
|
|
+4. **Install to system PATH (optional but recommended):**
|
|
|
+ ```sh
|
|
|
+ # Move files to a permanent location
|
|
|
+ sudo mkdir -p /usr/local/bin/perplexica
|
|
|
+ sudo cp search.sh perplexica-search-tui.py /usr/local/bin/perplexica/
|
|
|
+
|
|
|
+ # Set execute permissions
|
|
|
+ sudo chmod +x /usr/local/bin/perplexica/search.sh
|
|
|
+ sudo chmod +x /usr/local/bin/perplexica/perplexica-search-tui.py
|
|
|
+
|
|
|
+ # Add to PATH (add this line to your shell profile like ~/.bashrc or ~/.zshrc)
|
|
|
+ export PATH="/usr/local/bin/perplexica:$PATH"
|
|
|
+ ```
|
|
|
+
|
|
|
+5. **Configure your API endpoint:**
|
|
|
- Edit `perplexica-search-tui.py` and set `API_URL` to your own Perplexica API endpoint.
|
|
|
- Edit `search.sh` and set `VENV_PATH` to your Python virtual environment path if different from the default.
|
|
|
|