Generate structured concept cards from selected text with your own OpenAI-compatible provider.
Generate structured concept cards from selected text inside Obsidian, using your own OpenAI-compatible provider. Cards are filed into your vault by type, linked back to the source note, and scheduled for spaced review with optional Daily Note reminders.
Chinese documentation: README.zh-CN.md
[[Card]] at the extracted keyword (reading view supported).title, and aliases.card_format, stage (seedling/growing/evergreen), revisit, source list.Once published, search for Concept Card in Settings → Community plugins.
Add Beta plugin with your repository: PBL-EDU/concept-card.Download main.js, manifest.json, and styles.css from a GitHub release and place them in:
<vault>/.obsidian/plugins/concept-card/
Then enable the plugin in Settings → Community plugins.
Open Settings → Concept Card → AI service:
| Provider | Base URL | Example model |
|---|---|---|
| OpenAI | https://api.openai.com/v1 |
gpt-4o-mini |
| DeepSeek | https://api.deepseek.com/v1 |
deepseek-chat |
| Ollama (local) | http://127.0.0.1:11434/v1 |
qwen2.5:7b |
| Custom | any OpenAI-compatible gateway | per gateway docs |
Enter the API key, choose a model, and press Test. The key is stored only in this vault's .obsidian/plugins/concept-card/data.json.
Toolbar icon and command palette entries are available too. Existing cards can be opened, merged by appending, completed to Full, or marked Evergreen from the card's context menu.
Lite (7): definition & mechanism, examples, boundaries, confusions, my view, meaning & action, self-test.
Full (10): the above plus background, perspectives, and connections.
Frontmatter: title, aliases, type, tags, sources, source_path, card_format, stage, created, updated, revisit, model, confidence.
{YYYY}, {MM}, {DD} placeholders). The block is idempotent.This plugin calls only the endpoint you configure. When you trigger generation or completion, it sends:
to that provider. The API key is stored locally in data.json. With a local Ollama endpoint, no data leaves your machine.
There is no telemetry, no analytics, no ads, no self-update mechanism, and no obfuscated code. Generated content may be inaccurate; verify facts against the source.
npm install
npm run dev # watch
npm run build # production bundle
npm run typecheck
node test/run.cjs # logic tests
node test/integration.cjs # integration tests with a mocked obsidian module
node test/render-sample.cjs lite|full
Source layout: src/card.ts (card model/rendering/upgrade), src/prompt.ts (prompts), src/main.ts (Obsidian integration), src/review*.ts (review panel).
MIT. See LICENSE.