| Crates.io | am |
| lib.rs | am |
| version | 0.6.3 |
| created_at | 2019-05-23 05:12:02.997197+00 |
| updated_at | 2025-09-21 13:38:00.978377+00 |
| description | A beautiful and feature-packed Apple Music CLI |
| homepage | https://github.com/ryanccn/am |
| repository | https://github.com/ryanccn/am.git |
| max_upload_size | |
| id | 136280 |
| size | 217,466 |
amA beautiful and feature-packed Apple Music CLI, written in Rust.
You can install am with cargo install or cargo binstall from crates.io.
cargo binstall am
This GitHub repository contains a flake. Add github:ryanccn/am to your flake inputs:
{
am = {
url = "github:ryanccn/am";
inputs.nixpkgs.follows = "nixpkgs";
}
}
Then, use the overlay from overlays.default and add am to your packages. Alternatively, you can use packages.{default,am} directly.
Download the aarch64 (Apple Silicon) or the x86_64 (Intel) version of the binary.
Dequarantine them with xattr -d com.apple.quarantine <path> and make them executable with chmod +x <path>.
Through a macOS launch agent, the Discord rich presence can be made to run in the background as long as you are logged in.
You can install the Discord presence as a launch agent by running am discord install. Note that this depends on the executable/symlink staying in the same place; if it moves to a different place, run the command again.
The am process running in the launch agent will log to ~/Library/Logs/am-discord.log.
You can uninstall the launch agent with am discord uninstall.
This repository's flake also provides a Home Manager module at homeModules.am-discord. This module exposes a service am-discord that you can enable.
{
services.am-discord = {
enable = true;
# logFile = "${config.xdg.cacheHome}/am-discord.log";
}
}
am package on crates.ioGPLv3