Skip to content

linuxlarp/ncspot-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ncspot-rpc

Python PyPI Version Contributors Issues project_license

Discord Rich Presence Client (RPC) adapter for ncspot

A simple, semi-lightweight, python based extension to display ncspot data from a socket to your Discord Profile using Discords RPC Protocol and PyPresence.

Why?

By default, ncspot does not interact with the Discord RPC, nor does it natively support it. This program acts a middleman and adapter for that missing bridge. For people who want to show what their playing to their friends on Discord, this program also serves as a replacement for several similar projects that are no longer supported or outdated.

The program acts a daemon you launch from a command-line using ncspot-rpc. We recommend you put it in your .xinitrc (for X11) or ~/.config/hypr/hyprland.conf as an exec-once entry (Hyprland), or as your system requires.

Examples:

## .xinit.rc
set PATH $PATH /home/$USER/.local/bin # for pipx
exec ncspot-rpc
## hyprland.conf / hyprland

exec-once = export PATH="$PATH:/home/$USER/.local/bin"
exec-once = sleep 5 && ncspot-rpc

Prerequisites

  • Discord Client or Vesktop/Vencord (recommended)
  • ncspot
  • Linux or Unix Based System (Linux is the only platform we currently support, future compatibility expected in another update)

Examples

Highlight

Showcase

Showcase

Showcase

Installation

We recommend installing via pipx for the best experience.

pipx install ncspot-rpc

Other installation methods are not officially supported at this time.

Documentation

To view the documentation we currently have available, use the hyperlinks below.

  • Configuration Guide
  • Custom Discord Client
  • Tech Overview

Credits

The following resources, and repositories contributed, helped or served as inspiration to the development of this project:

About

A small, python based extension to read ncspot data and display it on your profile in Discord using Discord's Rich Presence Client Protocol (RPC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages