mirror of
https://github.com/flyingnobita/obsidian-github-stars.git
synced 2026-07-22 05:42:52 +00:00
Add two new commands:
- 'Embed star counts in current note': writes star counts (e.g. ⭐ 1.2k)
directly into the markdown after each GitHub link
- 'Remove embedded star counts from current note': strips them out
Running embed again updates existing counts. This makes star counts
visible to anyone reading the raw markdown outside Obsidian.
Co-Authored-By: Oz <oz-agent@warp.dev>
29 lines
773 B
JSON
29 lines
773 B
JSON
{
|
|
"name": "obsidian-github-stars",
|
|
"version": "1.2.0",
|
|
"description": "Obsidian plugin that displays the number of stars for GitHub repositories mentioned in notes",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
|
},
|
|
"keywords": [
|
|
"obsidian",
|
|
"plugin",
|
|
"github",
|
|
"stars"
|
|
],
|
|
"author": "Your Name",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.6",
|
|
"@typescript-eslint/eslint-plugin": "5.29.0",
|
|
"@typescript-eslint/parser": "5.29.0",
|
|
"builtin-modules": "3.3.0",
|
|
"esbuild": "0.17.3",
|
|
"obsidian": "latest",
|
|
"tslib": "2.4.0",
|
|
"typescript": "4.7.4"
|
|
}
|
|
}
|