abduznik186 downloadsEmbeds images from SteamGridDB based on the note title.
This Obsidian plugin allows you to easily search for game images on SteamGridDB and embed them directly into your notes. It supports interactive selection of both the game and the specific image you want to use.
Before using the plugin, you need to obtain an API key from SteamGridDB:
This command is ideal for manually searching and embedding images into any note.
Ctrl/Cmd + P).This method allows you to automatically trigger the image embedding process when creating a new note from a template.
Ensure the plugin is installed and configured with your API key.
Edit your Templater template file (e.g., Gaming Backlog Template.md).
Add the following line in your template where you want the image to be embedded (e.g., after your note title):
<%*
// ... existing template code ...
// Call the interactive command to embed SteamGridDB image
await app.commands.executeCommandById('steamgriddb-embedder:embed-steamgriddb-image-for-note');
// ... rest of your template code ...
%>
Example Gaming Backlog Template.md snippet:
<%*
const title = tp.file.title;
const urlTitle = title.trim().replace(/\s+/g, "+");
tR += `---\nPlatform: PC\nStatus: Not Playing\nFinished: \n---\n\n# ${title}\n\n`;
// Call the new command after the title
await app.commands.executeCommandById('steamgriddb-embedder:embed-steamgriddb-image-for-note');
tR += `\n## Notes:\n-\n`;
%>
Example of embedded image after using Templater:

When you create a new note using this template, the interactive modals for game and image selection will appear, and the chosen image will be embedded.
main.js and manifest.json from the plugin's GitHub releases page (or from the plugin directory if you have access).YourVault/.obsidian/plugins/.obsidian-steamgriddb.main.js and manifest.json inside the obsidian-steamgriddb folder.git clone https://github.com/your-repo/obsidian-steamgriddb.git
(Replace https://github.com/your-repo/obsidian-steamgriddb.git with the actual repository URL if available.)cd obsidian-steamgriddb
npm install
npm run build
This will compile main.ts into main.js.obsidian-steamgriddb folder (containing main.js and manifest.json) into your Obsidian vault's plugins folder: YourVault/.obsidian/plugins/.