Have you ever wanted to share something from your Obsidian vault with your players? Are you already using Discord for chatting? Now you can. Introducing Discord Share: a plugin for sharing vault contents to Discord.

phd20/obsidian-discord-share - GitHub

Getting Started

You can find the plugin at the above bookmark or at this link. You can add this plugin to your Obsidian vault in one of two ways.

Manually

Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-discord-share/.

Install the BRAT plugin. Follow these instructions for adding a beta plugin.

After adding the plugin, enable it. Get a Webhook URL from Discord. See this guide for more on how to do that. Paste your Discord Webhook URL into the Discord Webhook URL setting for this plugin. You must do this or the plugin will not work.

A screenshot highlighting the Discord Webhook URL setting under the plugin's settings tab.

See the README for more on the other settings.

Initial Release Features

Share Attachment to Discord

Open the command palette and search for Share Attachment to Discord. Click on it or press return on your keyboard. This opens a modal to search your local image files. Search for the file you want and click on it or press return on your keyboard.

Share Note Title to Discord

Open the command palette and search for Share Note Title to Discord. Click on it or press return on your keyboard. This option will not show in the menu if you don’t have a note open.

Future

I’ve got a lot of ideas on how to extend this to sharing more content. Some of it should be live very soon 😉. But I’d love to hear yours. Open an Issue to request features or report bugs.


Note: I am not associated with Obsidian or Discord. This is purely a passion project using the tools they make available.

If you’d like to support this effort, consider subscribing below or buying me a coffee:

Thanks, and enjoy!