This plugin for Obsidian transcribes audio files embedded in your notes using the Gemini API.
- Transcribe audio files (mp3, wav, m4a, flac, webm, ogg) embedded in your notes.
- Adds a command to the command palette to start the transcription.
- Inserts the transcription directly into the current note.
- Install the plugin:
- Download the latest release from the GitHub releases page.
- Unzip the downloaded file and place the
gemini-transcribefolder in your Obsidian vault's.obsidian/pluginsdirectory. - Reload Obsidian and enable the plugin in the settings.
- Set your API Key:
- Go to the plugin settings and enter your Gemini API key.
- Transcribe an audio file:
- Embed an audio file in a note using the
![[your-audio-file.mp3]]syntax. - Open the command palette (Ctrl/Cmd + P) and run the "Transcribe Audio" command.
- The transcription will be inserted below the embedded audio file.
- Embed an audio file in a note using the
To make changes to this plugin, first install the dependencies:
npm installThen, you can compile the plugin with:
npm run buildThis will create a main.js file in the project root, which you can then copy to your vault's .obsidian/plugins/gemini-transcribe directory.