Obsidian Text Generator Plugin integrates AI providers for content generation within Obsidian. It supports OpenAI, Anthropic, Google, and local models, with active development since 2022.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Text Generator is an open-source AI assistant tool that adds generative capabilities to Obsidian for creating ideas, titles, summaries, outlines, and paragraphs based on the user's knowledge base.
How it works
The plugin supports multiple AI services via a flexible configuration, including Google Generative AI (Gemini-Pro), OpenAI, HuggingFace, etc. It uses a template engine and frontmatter-based configuration to apply prompts and settings across notes.
Getting started
Installation
Method 1: From Obsidian Community Plugins
- Open Obsidian
- Go to Settings > Community plugins
- Turn off Safe mode if it's on
- Click on "Browse" and search for "Text Generator"
- Click Install and then Enable
Method 2: Manual Installation
-
Clone this repository to your Obsidian vault's plugins folder:
git clone https://github.com/nhaouari/obsidian-textgenerator-plugin.git -
Navigate to the plugin directory:
cd obsidian-textgenerator-plugin -
Install dependencies:
pnpm install -
Build the plugin:
pnpm run buildAlternatively, for development:
pnpm run dev -
Restart Obsidian and enable the plugin in Settings > Community plugins
Alternatively, You can use the Hot-Reload plugin to reload plugins without restarting Obsidian
Recent releases
- 0.8.10-beta (2026-05-16): 0.8.10-beta - Changes include an attempt at fixing z.map error in ollama
- 0.8.9-beta (2026-05-15): Changes include attempting to fix startup load time, cleanup of packages, and using GitHub content delivery to download tiktoken wasm and json files instead of bundling
- 0.8.8-beta (2026-04-28): Added better template overlay actions (toolbar, toolbar:clipboard)
- 0.8.7 (2026-04-27): Fixed long standing bug with generation in non-stream environment
- 0.8.6 (2026-04-08): Added hint when custom provider request fails
Traction
- Stars: 1971
Behind the repo
- License: MIT
- Language: TypeScript
- Created: 2022-02-27
- Last push: 2026-05-16
Caveats
- Open issues: 26
- Repository age and ongoing updates indicate active maintenance, with recent commits in 2026. The README includes troubleshooting and community channels for support.






