ObsidGet
unlistedby Fabien Polly (Infinition)
Create, manage, and reuse interactive widgets from TypeScript/TSX files.
★ 37 starsUpdated 4mo agoMIT
ObsidGet for Obsidian
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.
Features
- Shadow DOM isolation per widget: no style or script leaks.
- Widget state saved inside the Markdown code block; notes stay portable.
- Vault and data access: read/write JSON/CSV files, interact with note frontmatter.
- Template gallery with tagging, search, and Smart Sync for community templates.
- Right-click context menu to insert a widget anywhere.
- Live split-view editor with real-time preview.
- Visual CSS editor: sliders and color pickers for detected CSS variables.
- Self-update from the latest GitHub release without leaving Obsidian.
- Multilingual: English, French, Spanish, German, Portuguese.
Widget API (within a widget's JS)
// 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);
Settings
| 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 |
Contributing widgets
- Fork the repository.
- Add your widget's
.jsonfile to thegallery/directory. - Open a pull request.
Development
npm install
npm run dev # watch mode
npm run build
Star History
License
MIT. See LICENSE.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.