A WordPress plugin that uses Gemini AI and semantic embeddings to provide intelligent, context-aware internal linking suggestions in the Gutenberg editor.
-
Index your posts. The plugin generates a semantic embedding (via Gemini's
gemini-embedding-001model) for each published post and stores it in a custom database table. This happens automatically when posts are published/updated, or you can bulk-index from the settings page. -
Find related posts. When editing a post, click "Find Related Posts" in the Interpost sidebar. The plugin embeds your draft content and uses cosine similarity to find the most semantically related posts. No AI call is needed for this step.
-
Get anchor text suggestions. Only the top 15 most similar posts are sent to Gemini (
gemini-3-flash-preview) along with your draft. The AI selects the best anchor text phrases and matches them to related posts. -
Insert links. Click "Insert Link" to add the link directly into your editor at the suggested anchor text location.
- Install and activate the plugin.
- Go to Settings > Interpost and enter your Google Gemini API key.
- Click Index All Posts to generate embeddings for your existing published posts.
- Open any post in the Gutenberg editor and use the Interpost sidebar.
- WordPress 6.8+ (Gutenberg block editor)
- PHP 8.2+
- A Google Gemini API key
npm install
npm start # Development mode with watch
npm run build # Production buildGPL v2 or later.