Model or dataset
nhaouari/obsidian-textgenerator-plugin avatar
nhaouari/obsidian-textgenerator-plugin

obsidian-textgenerator-plugin: AI text generation inside an Obsidian vault

Text Generator is a versatile plugin for Obsidian that allows you to generate text content using various AI providers, including OpenAI, Anthropic, Google and local models.

1,985 stars171 forksTypeScriptMIT

At a glance

What is it?
Text Generator is an MIT-licensed Obsidian plugin that calls OpenAI, Anthropic, Google and local models from inside a note. It is a prompt-and-template layer over provider APIs, not a writing environment, and the current release line is still tagged beta.
Who is it for?
Adopt it if you already write in Obsidian and want provider-agnostic generation driven by templates and frontmatter, and you are willing to run a build from source or accept a beta release. Do not adopt it if you need a stable, versioned plugin with a published changelog, or if you cannot absorb per-call provider billing.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 41 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

The gap Text Generator fills in an Obsidian vault

Obsidian stores notes as plain Markdown files and gives you no built-in way to send text to a language model and write the answer back. Text Generator adds that step. The README frames it as an AI assistant for knowledge creation and organisation, listing idea generation, titles, summaries, outlines and whole paragraphs as the intended outputs. The audience is the person who already keeps notes in Obsidian and wants generation to happen in the same window, using the note as input rather than copying text into a separate chat interface. The plugin does not host a model. It is a client that talks to providers you configure, so the quality of the output is the provider's, and the bill for it is yours.

Prompt context, templates and frontmatter as the control surface

Three mechanisms carry most of the plugin's behaviour. The first is what the README calls the Considered Context, which decides which parts of your vault or current note are sent to the model. The second is the template engine, described as a way to make repetitive tasks manageable, so a prompt can be written once and reused. The third is frontmatter configuration: the README states that different services such as Google Generative AI (including Gemini-Pro), OpenAI and HuggingFace can be selected through frontmatter. That is the design decision worth noting. Provider selection lives in the note rather than only in global settings, which means a single vault can mix providers per file. It also means a note carries configuration that is meaningless outside the plugin, and a frontmatter block copied between vaults can quietly point at a provider the recipient has not configured. The README does not document the exact frontmatter keys in the material available, so treat the plugin's own documentation as the source for those.

Installing from the community list or building from source

The README gives two paths. The community route is the ordinary Obsidian flow: Settings, Community plugins, turn off Safe mode if it is on, Browse, search for Text Generator, Install, then Enable. The manual route assumes you want the development version and that you have pnpm available. Clone the repository into your vault's plugins folder, change into it, install dependencies with pnpm install, then build with pnpm run build. For development the README gives pnpm run dev instead. After either build command, restart Obsidian and enable the plugin under Settings, Community plugins. The README also points at the Hot-Reload plugin as a way to reload without restarting Obsidian each time. Nothing in the README covers where API keys are entered or how they are stored, and that is the first thing to check in the documentation before you point the plugin at a paid provider.

Every release in the recent list is a beta

The three most recent releases are 0.8.11-beta, 0.8.10-beta and 0.8.9-beta, dated August 2026, May 2026 and May 2026 respectively. The version string itself carries the beta marker. That is the clearest signal in the supplied material about the project's stability posture: the active release line is not presented as stable. For a plugin that runs inside your notes and holds provider credentials, that matters. A regression in how context is assembled or how a template is parsed can alter generated output or send more of a note to a provider than you intended, and the README's troubleshooting section is limited to pointing at the documentation, a Discord server and the GitHub issue tracker. There is no changelog in the material, so there is no way to judge from this repository alone what changed between 0.8.9-beta and 0.8.11-beta. If you need a version you can pin and reason about, that gap is a real cost.

Where it is the wrong tool

If your writing workflow is not already inside Obsidian, this plugin has nothing to offer you. It is an integration, not a standalone generator, and its value comes from reading the note you are in. If you want a single managed service with one bill and one model, the provider-agnostic design is overhead rather than a feature: you will still be configuring keys, and you will still be paying the provider per call. Cost is the failure mode people underestimate. The plugin does not supply inference; the README's list of supported services makes clear that generation runs against OpenAI, Anthropic, Google or a local model. Anything that sends a large Considered Context on every invocation multiplies token spend across a long writing session, and the plugin gives you no cost estimate before the call. A local model removes the billing but moves the constraint to your hardware, which the README does not address at all.

What it is not: a comparison with the provider's own chat interface

The obvious alternative is not another Obsidian plugin. It is the provider's own web or desktop chat client. That approach gives you a maintained interface, no build step, no plugin compatibility risk, and no dependency on a third party's release cadence. What it does not give you is the note itself as context. With a chat client you copy text out and paste text back, and the vault's structure, links and frontmatter never enter the prompt. Text Generator's whole argument is that the Considered Context and the template engine remove that copy-paste loop for repeated tasks. If your use of a model is occasional and one-off, the chat client wins on every axis except convenience inside Obsidian. If you run the same prompt shape against many notes, the template engine is the part that justifies installing anything.

Licence, maintenance and what to verify before you commit

The repository is MIT-licensed, which permits commercial use and modification provided the licence notice is retained. That covers the plugin code. It does not cover the provider APIs you call through it, which are governed by separate terms and separate billing. The last push recorded is August 2026, matching the newest beta tag, so the project is active rather than dormant. Maintenance cost for you is not the plugin's code but its configuration surface: provider keys, model names and frontmatter blocks that need revisiting when a provider changes its API or deprecates a model. Because provider selection can live per note, an inventory of which notes reference which provider is worth having before you upgrade. The README does not describe a migration path between versions, so upgrading a beta to the next beta is an untested step from the material available.

Editorial conclusion

Adopt it if you already write in Obsidian and want provider-agnostic generation driven by templates and frontmatter, and you are willing to run a build from source or accept a beta release. Do not adopt it if you need a stable, versioned plugin with a published changelog, or if you cannot absorb per-call provider billing. Before installing, read the documentation at text-gen.com, confirm the API key and model settings for whichever provider you intend to use, and check whether the release you are installing is one of the beta tags rather than a stable one.

Official sources

  1. License: MIT
  2. nhaouari/obsidian-textgenerator-plugin on GitHub
  3. Project website
  4. README
  5. Releases
Community notes

Community notes