infinition10k downloadsCreate, manage, and reuse interactive widgets from TypeScript/TSX files.
An Obsidian plugin for creating, managing, and reusing interactive widgets with HTML, CSS, and JavaScript. Each widget runs in an isolated Shadow DOM environment so styles and scripts do not affect the rest of the vault.
Plugin ID: obsidget
Used by: Obsidian Nova for its imported widget library.
// Read a file
const data = await api.readFile("notes/data.json");
// Save widget state (persisted in the code block)
await api.saveState({ count: 5 });
// Access the unique instance ID (for multi-instance widgets)
console.log(api.instanceId);
| Setting | Description |
|---|---|
| Gallery Path | Location of .json template files |
| Language | Interface language |
| Max Widget Width | Percentage or pixel limit |
| Update Gallery | Download latest community widgets |
| Update All Widgets | Update all widget code in vault while preserving data |
| Update Plugin | Fetch the latest plugin release from GitHub |
.json file to the gallery/ directory.npm install
npm run dev # watch mode
npm run build
MIT. See LICENSE.