AI Commit

by arumata
5
4
3
2
1
New Plugin

Description

Generate meaningful commit messages via DeepSeek AI for Obsidian Git - This plugin has not been manually reviewed by Obsidian staff.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

AI Commit for Obsidian

Generate meaningful git commit messages via DeepSeek AI directly from Obsidian Git source control view.

Adds a sparkle button next to the Commit button. Click it to generate a commit message from staged changes.

Features

  • One-click generation — button in Obsidian Git source control view, or via command palette
  • DeepSeek V4 Flash — fast and cheap default model, V4 Pro available
  • Customizable prompt — adjust language, style, and tone
  • Timeout & retry — configurable timeout (10–120s) with automatic retries (3 attempts)
  • Plain messages — no Conventional Commits prefixes (unless you configure them in custom instructions)

Requirements

Installation

From Community Plugins

  1. Open Settings → Community Plugins
  2. Search "AI Commit"
  3. Install and enable

Manual (BRAT)

  1. Install BRAT plugin
  2. Add arumata/obsidian-ai-commit as a beta plugin

Manual (direct)

cd /path/to/vault/.obsidian/plugins
git clone https://github.com/arumata/obsidian-ai-commit.git ai-commit
cd ai-commit && npm install && npm run build

Settings

Setting Default Description
API Key DeepSeek API key (stored locally, never sent anywhere but DeepSeek)
Model DeepSeek V4 Flash V4 Flash (fast/cheap) or V4 Pro (more capable)
Timeout 30s API request timeout (10–120s)
Custom instructions Extra prompt rules (e.g. "Always write in Russian")

How It Works

  1. Stage files in Obsidian Git
  2. Click the ✨ button (or Ctrl+P → "Generate commit message")
  3. The plugin runs git diff --cached, sends the diff to DeepSeek
  4. The generated message appears in the commit text area
  5. Review and click Commit

Development

npm install
npm run dev     # Watch mode
npm run build   # Production build