Embed GitHub commits as beautiful cards in your Obsidian notes. Simply paste a commit URL and choose to embed it as a styled card.
- Copy a GitHub commit URL (e.g.,
https://github.com/arcangelo7/github-commit-embed/commit/37f48bffd26329505282d72c1e1ab8298fdc438c) - Paste it in any note
- A dialog appears with a preview of the commit
- Choose:
- Embed - Insert a styled card with author, date, message, and stats
- Paste as text - Insert the plain URL
- Cancel - Do nothing
The embedded card is pure HTML with inline styles, so it renders correctly everywhere - even in other Markdown viewers or when exporting notes.
- Open Settings > Community plugins
- Click "Browse" and search for "GitHub Commit Embed"
- Click "Install", then "Enable"
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create folder
.obsidian/plugins/github-commit-embed/in your vault - Copy the downloaded files into the folder
- Enable the plugin in Settings > Community plugins
This plugin fetches commit data from the GitHub API (api.github.com) when you paste a commit URL. No data is sent except the commit URL you're embedding. GitHub's API has a rate limit of 60 requests per hour for unauthenticated requests.
npm install # Install dependencies
npm run dev # Watch mode with auto-rebuild
npm run build # Production build
npm run lint # Run eslint with obsidianmd pluginMIT
