Overview Version History Q & A Rating & Review
🐧 Penguin Discord® RPC
Rich Discord® presence for VS Code – show what you’re hacking on without exposing sensitive paths.
Features
Language-specific icons – 100+ mapped out of the box
Privacy-first – only the language ID, line number and error count leave your machine
Local socket – trusted apps on your computer can update presence (token-authenticated + HMAC)
Zero config – works immediately after install; optionally tweak everything
Install
Grab the extension from the marketplace ➜ Penguin Discord® RPC
Reload VS Code
Open Discord® – your status should now show “Editing TypeScript”
Screenshots
(coming soon)
Configuration
Setting
Default
Description
Discord®Rpc.clientId
1428089034458009770
Discord® application ID (own app = upload your icons)
Discord®Rpc.showLineAndErrors
true
Display current line & error count
Discord®Rpc.socketPath
(auto)
Override local socket location (advanced)
Language Icons
Icons are asset keys uploaded to your Discord® application.
We ship a base set; add more by:
Go to Discord® Developers → Rich Presence → Art Assets
Drag the wanted PNG from assets/icons
and set Key = file name (without .png
)
Restart VS Code – done!
Missing one? PR the mapping in src/icon-loader.ts
.
Security Model
Socket created inside VS Code’s private storage directory (700
permissions)
Every message is HMAC-SHA-256 signed with a per-install token stored in secret state
Max 4 concurrent connections, 64 kB message limit, automatic stale-socket cleanup
Commands
Command
Title
Discord®RpcExtension.start
Start Discord® RPC
Discord®RpcExtension.stop
Stop Discord® RPC
Bind them to keys or use the Command Palette.
Building from Source
git clone https://github.com/yourname/penguin-Discord®-rpc.git
cd penguin-Discord®-rpc
npm install
vsce package # produces .vsix
code --install-extension penguin-Discord®-rpc-*.vsix
Troubleshooting
Symptom
Fix
Status never appears
Ensure Discord® is running before VS Code; reload window
Icons show generic image
Upload the missing asset key (see Language Icons section)
“Failed to start IPC server”
Another instance is holding the socket – run Discord® RPC: Stop
then Start
Still stuck?
Enable Developer Tools → Console and file an issue with the log
License
MIT – feel free to fork, hack, credit appreciated.
"This extension does not mine cryptocurrency, does not download external binaries, and communicates only with the Official Discord® desktop client via the documented Rich Presense API."