VibeProxy AI Assistant
unlistedby Aleksandr Abramov
Plugin for communication with OpenAI through local VibeProxy
🤖 VibeProxy AI Assistant for Obsidian
A lightweight and fast Obsidian plugin that integrates your local VibeProxy (or any other OpenAI-compatible local proxy) directly into your note-taking workflow.
Send prompts from your notes to your local AI model and get responses appended seamlessly within your document!
✨ Features
- Select & Generate: Highlight any text in your note, trigger the command, and the AI's response will be added directly below it.
- Fully Local: Designed to work perfectly with VibeProxy running on your local machine.
- Highly Customizable: Easily configure your Base URL, API Key, and target Model in the plugin settings.
- One-Click Connection Test: Built-in "Test Connection" button to verify your network configuration instantly.
- Frictionless: Zero complex logic. It acts as a standard OpenAI API client routed to your custom endpoint.
🛠 Prerequisites
Before using this plugin, ensure you have:
- Obsidian installed on your machine.
- VibeProxy (or a similar OpenAI API emulator) running locally or on a reachable network.
📦 Installation
Since this plugin is in early development, you can install it manually into your Obsidian vault:
- Download the latest release files:
main.jsandmanifest.json. - Open your Obsidian vault directory.
- Navigate to the hidden plugins folder:
.obsidian/plugins/(If it doesn't exist, create it). - Create a new folder inside named
obsidian-vibeproxy. - Move the
main.jsandmanifest.jsonfiles into this new folder. - Open Obsidian, go to Settings > Community plugins.
- Disable Safe mode (if it's currently on).
- Click the Refresh button next to "Installed plugins".
- Find VibeProxy AI Assistant in the list and toggle it ON.
⚙️ Configuration
Once enabled, go to the Obsidian settings and click on VibeProxy AI Assistant in the left sidebar to configure the plugin:
- VibeProxy Base URL: The endpoint of your local server.
- Example:
http://127.0.0.1:8317/v1(Note: It's highly recommended to use127.0.0.1instead oflocalhostto avoid Node.js IPv6 resolution issues).
- Example:
- API Key: The authorization key. If your local VibeProxy doesn't require one, you can leave the default placeholder (
sk-vibeproxy). - Model: The specific model you want to query (e.g.,
gpt-5.5,gpt-4o).
Verify Setup: Click the Test Connection button at the bottom of the settings page. If you see a green "✅ Success" notification, you are ready to go!
🚀 How to Use
- Open any note in Obsidian.
- Write a prompt and select/highlight the text. (Example: "Write a short summary about artificial intelligence")
- Open the Obsidian Command Palette (
Ctrl + Pon Windows/Linux,Cmd + Pon macOS). - Search for and select:
Send selected text to VibeProxy. - The plugin will send the text to your local server. Once generated, the AI's response will appear right below your selected text!
💡 Pro Tip: Go to Settings > Hotkeys, search for "VibeProxy", and assign a custom keyboard shortcut (e.g.,
Ctrl/Cmd + Enter) for lightning-fast text generation!
🛑 Troubleshooting
Connection Error (ERR_CONNECTION_REFUSED)
If the connection test fails or you get an error when generating text:
- Check the URL: Ensure you are using
127.0.0.1instead oflocalhostin the Base URL setting. Modern Node.js often routeslocalhostto IPv6 (::1), which your proxy might ignore. - Check the Port: Verify that VibeProxy is actually running and listening on the port specified in your settings (e.g.,
8317). - Check the Terminal: Look at the terminal/console where VibeProxy is running to see if it's logging any incoming requests or crashing. You can also press
Ctrl+Shift+I(Cmd+Option+Ion Mac) in Obsidian to open the developer console and read the exact error message.
📄 License
This project is licensed under the MIT License. Feel free to modify and distribute it as you see fit!
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.