Vault name, file, edit/reading mode and an elapsed timer — shown directly in your Discord profile via Rich Presence.
Features
Shows your vault name, current file and file extension in Discord — all individually toggleable.
Detects whether you're writing or reading — shown as a small icon and in the status text.
Canvas files are tracked correctly — no more stale presence from the last Markdown file when you switch.
Build your own Details and State lines with placeholders: {file}, {folder}, {vault}, {mode}, {wordCount} and more.
Track total session time or reset per file. Switch any time — no restart required.
Pause presence with one click. Idle detection clears or shows AFK after a configurable timeout.
Hide private files or folders from Discord. Supports plain text and glob patterns like Journal/** or *.canvas.
Add up to 2 clickable buttons to your Discord profile card — link to your GitHub, website or portfolio.
Reconnects automatically every 15 seconds if Discord restarts. Status bar shows connection state at a glance.
Configuration
Editing in MyVault. When off: Editing.Editing a file is shown instead.My Note.md vs My Note. Only visible when file name is enabled.No file open.Override the two lines shown in Discord using placeholders. Leave empty to use the default display.
Editing {fileNoExt}{mode} in {vault} ({wordCount} words){file}Full file name incl. extension{fileNoExt}File name without extension{folder}Parent folder path{vault}Vault name{mode}Editing or Reading{wordCount}Live word count{lineCount}Live line count{meta:key}Any frontmatter value, e.g. {meta:project}Privat/) and glob syntax (Journal/**, *.canvas).
Away from keyboard — shows an AFK status. Clear presence — removes it entirely.https://. Leave empty to disable. Up to 2 buttons supported.Custom Discord App
By default the plugin uses a shared application with the Obsidian logo. Set up your own Discord Application to use custom images and your own app name.
Go to discord.com/developers/applications, click New Application and give it a name. This name appears in Discord as "Playing [name]".
In your application go to Rich Presence → Art Assets and upload PNG images (min. 512 × 512 px) with exactly these key names:
| Key | Used for |
|---|---|
| obsidian | Main large image |
| editing | Small icon in Edit mode |
| reading | Small icon in Preview/Reading mode |
Go to OAuth2 (or the main page of your application) and copy the Application ID.
Open Settings → Community Plugins → Discord RPC and paste your Client ID. The plugin reconnects automatically.
Installation
Discord RPCmain.js, manifest.json, styles.css from the latest release.obsidian/plugins/discord-rpc/ in your vaultChangelog
.canvas files tracked correctly, no more stale presence on view switch{folder} — parent folder path of the current file{wordCount} — live word count of the current fileJournal/** and *.canvas now work correctly{file}, {fileNoExt}, {vault}, {mode} placeholdershttps://types.ts, rpcManager.ts, settingsTab.ts