AI integration Hub is a plugin for Obsidian that integrates with AI services like Google Gemini, allowing you to generate AI content directly within your Obsidian notes.
- Generate AI Content: Select text in your note as the prompt, and generate AI-powered content to replace it.
- Ribbon Button for Quick Access: Use the ribbon button to quickly generate content with AI.
- Customizable Settings: Configure your API key and select the AI model in the plugin settings.
- Go to Obsidian Settings.
- Click on
Community plugins
. - Click on
Browse
. - Search "ai hub" and select
AI integration Hub
.
- Navigate to Settings > AI Hub.
- Enter your Google AI Studio API key.
- Choose your desired AI model (e.g.,
gemini-1.5-flash
).
-
Generate AI Content
- Open a markdown note.
- Select the text you want to use as a prompt.
- Click the "Generate content" ribbon icon on the left sidebar.
- Alternatively, open the command palette (
Ctrl+P
orCmd+P
) and run "Generate content".
-
View the Result
- The selected text will be sent to the AI service.
- The AI-generated content will replace the selected text in your note.
- Node.js v18+ installed on your machine.
-
Clone the Repository
git clone <repository-url>
-
Install Dependencies
npm install
-
Build the Plugin
-
For a one-time build:
npm run build
-
For development with watch mode:
npm run watch
-
- Plan to integrate with OpenRouter, and other AI services.
- Options for inserting content without replacing text.
- Custom prompt templates, and more.
- Contributions are welcome! Please feel free to submit issues and pull requests.