{"id":13586983,"url":"https://github.com/urschrei/rust_anybar","last_synced_at":"2025-04-13T22:10:23.129Z","repository":{"id":33108680,"uuid":"36746521","full_name":"urschrei/rust_anybar","owner":"urschrei","description":"A command-line Anybar client written in Rust","archived":false,"fork":false,"pushed_at":"2023-03-20T01:56:38.000Z","size":1539,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-14T00:30:17.241Z","etag":null,"topics":["anybar","cli","rust","udp"],"latest_commit_sha":null,"homepage":"https://docs.rs/crate/anybar_rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/urschrei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-06-02T16:32:51.000Z","updated_at":"2023-08-12T04:55:18.000Z","dependencies_parsed_at":"2024-02-13T21:53:03.334Z","dependency_job_id":null,"html_url":"https://github.com/urschrei/rust_anybar","commit_stats":{"total_commits":101,"total_committers":3,"mean_commits":"33.666666666666664","dds":"0.38613861386138615","last_synced_commit":"2f89e6137767bbe72b7d778fd00f8bbb5af4cd85"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urschrei%2Frust_anybar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urschrei%2Frust_anybar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urschrei%2Frust_anybar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urschrei%2Frust_anybar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urschrei","download_url":"https://codeload.github.com/urschrei/rust_anybar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248788927,"owners_count":21161727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anybar","cli","rust","udp"],"created_at":"2024-08-01T15:05:57.038Z","updated_at":"2025-04-13T22:10:23.101Z","avatar_url":"https://github.com/urschrei.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![](https://img.shields.io/crates/v/anybar_rs.svg)](https://crates.io/crates/anybar_rs) [![MIT Licensed](https://img.shields.io/github/license/mashape/apistatus.svg)](license.txt)  \n\n# Description\n`anybar_rs` is a command-line app for controlling the macOS [Anybar](https://github.com/tonsky/AnyBar) application.\n\n# Installation\n- Download the latest version [here](https://github.com/urschrei/rust_anybar/releases/latest)\n    - unzip, then copy the binary into your `$PATH` (e.g. `/usr/local/bin`)\n- Alternatively:\n    - install Rust and Cargo. Using [rustup.rs](https://www.rustup.rs) is the easiest way to do this\n    - run `cargo install anybar_rs`\n- The binary should now be available to use. To check, run `anybar_rs --help`.\n\n# Building from Source\n- Clone this project\n- Run `cargo build --release` from the project root\n- The binary will be available as `target/release/anybar_rs`\n- Copy it into your `$PATH`.\n\n# Usage\nBy default, `anybar_rs` assumes that Anybar is bound to localhost on UDP port 1738. Call it like so:  \n`anybar_rs [FLAGS] [OPTIONS] \u003cCOMMAND\u003e`  \n**FLAGS**:  \n    `-h`, `--help`       Prints help information  \n    `-V`, `--version`    Prints version information  \n\n**OPTIONS**:  \n    `-p`, `--port` \u003cPORT\u003e    Set destination UDP port. Input must be 0 – 6553, and defaults to 1738  \n\n**ARGS**:  \n    `COMMAND`    The command you wish to send to Anybar  \n\nWhere `COMMAND` is one of the following:\n\n- white\n- red\n- orange\n- yellow\n- green\n- cyan\n- blue\n- purple\n- black\n- question\n- exclamation\n- quit\n\n\n# Exit codes\nBeing a stateless protocol, UDP provides no mechanism for checking whether its datagrams arrive.\n\n- If the UDP datagram is succesfully *sent*, `anybar_rs` will exit with code `0`.\n- Unknown flags, options, or an unknown `command` will print the usage and exit with code `1`.\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furschrei%2Frust_anybar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furschrei%2Frust_anybar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furschrei%2Frust_anybar/lists"}