Giter VIP home page Giter VIP logo

cmus-discord-rpc's Introduction

cmus-discord-rpc

Rust Discord

Discord Rich Presence integration for the C* Music Player (cmus).

Installing

  • If it isn't already on your system, install rust, and cargo. You should do this through rustup by installing it with your package manager or from rustup.rs.

  • Obtain the sources. You can either do this by cloning the repository using git or downloading an archive of the repository.

    Cloning using HTTPS:

    git clone https://github.com/Bond-009/cmus-discord-rpc
    

    Cloning using ssh:

    git clone [email protected]:Bond-009/cmus-discord-rpc.git
    

    Downloading an archive using wget:

     wget https://github.com/Bond-009/cmus-discord-rpc/archive/master.zip
    
     unzip master.zip
    
  • Change your directory into where the sources were cloned/extracted to.

    cd cmus-discord-rpc
    
  • Next, build and install it to your home directory.

    cargo install --path .
    
  • Once cargo's installation directory is in your PATH (cargo should tell you where the end of the previous step) simply run cmus-discord-rpc and it should start!

Building

  • Obtain the sources. You can either do this by cloning the repository or downloading an archive of the repository.

  • Change your directory into where the sources were cloned/extracted to.

  • Finally to build, use the following commands:

    For debugging:

    cargo build
    

    For production use:

    cargo build --release
    
  • You should see a new directory called target. There you can find subfolders for each of your build targets.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

cmus-discord-rpc's People

Contributors

bond-009 avatar threeoh6000 avatar w3bb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cmus-discord-rpc's Issues

Discord update

I think the new discord update broke this. Might just be me.

If anyone else is experiencing this issue, comment below

Issue with your README.

I find issue with the first part of your README where you state installing rust "on *nix based systems ... should be as simple as installing it from your package manager."

This is a bad way of installing the Rust toolchain due to Rust's 6 week update timescale. rustup is a much better way of installing Rust as it is provided by the Rust devs as well as being cross-platform. Packaged versions of Rust from the distro may be out-of-date, packaged in a weird way and require superuser privileges to install while rustup can install the Rust toolchain into the user's home directory.

Album art.

Hello, thanks for ur great job!

Can we get album art on discord status activity just like spotify did?

image

I mean album art, not just a placeholder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.