Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bond-009/cmus-discord-rpc
Discord Rich Presence integration for the C* Music Player
https://github.com/bond-009/cmus-discord-rpc
cmus discord hacktoberfest rpc rust
Last synced: 24 days ago
JSON representation
Discord Rich Presence integration for the C* Music Player
- Host: GitHub
- URL: https://github.com/bond-009/cmus-discord-rpc
- Owner: Bond-009
- License: gpl-3.0
- Created: 2018-04-09T19:31:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T20:54:31.000Z (about 1 year ago)
- Last Synced: 2024-05-02T01:42:23.358Z (6 months ago)
- Topics: cmus, discord, hacktoberfest, rpc, rust
- Language: Rust
- Homepage:
- Size: 29.3 KB
- Stars: 28
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmus-discord-rpc
![Rust][github-actions-badge] [![Discord][discord-badge]][discord-invite]
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](https://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/.[github-actions-badge]: https://github.com/Bond-009/cmus-discord-rpc/workflows/Rust/badge.svg
[discord-badge]: https://discordapp.com/api/guilds/261241776105455618/widget.png
[discord-invite]: https://discordapp.com/invite/thKXwJb