vm-rpc icon indicating copy to clipboard operation
vm-rpc copied to clipboard

Discord RPC for VMs.

vm-rpc

Discord RPC for VMs.

This software is still in alpha development

pypresence

Works with VMware Workstation 14/15, VMware Fusion 14/15, Hyper-V and VirtualBox 7. VMware Workstation Player 14/15 users, see here.

How to use

  1. Create a Discord app. https://discordapp.com/developers/
  2. Install Python 3.
  3. Install pypresence and python-dateutil by running pip -r requirements.txt.
  4. Rename sample-settings.json to settings.json and configure your settings as neccessary.
  5. Run main.py. Hyper-V support requires adminstrator privileges.

Note: If you get Access is denied, restart Discord.

Note: Discord has a 15 second ratelimit in sending Rich Presence updates.

TO-DO

  • [X] Hyper-V library
  • [X] Add Hyper-V to code
  • [X] Wait for Discord to open instead of erroring out
  • [X] Stopped running VMs message
  • [X] Multi-platform support
  • [X] Add VirtualBox to code
  • [X] Allow user to enable/disable hypervisor support
  • [ ] Add custom hypervisor priority
  • [ ] Switch client IDs based on current hypervisor
  • [ ] Switch large image based on current OS for VMware, and a image of Hyper-V for Hyper-V
  • [ ] Small image of VMware if VMware is current hypervisor
  • [X] Unified settings file using JSON

Credits