{"id":13394555,"url":"https://github.com/tonsky/AnyBar","last_synced_at":"2025-03-13T20:31:34.705Z","repository":{"id":28061792,"uuid":"31558536","full_name":"tonsky/AnyBar","owner":"tonsky","description":"OS X menubar status indicator","archived":false,"fork":false,"pushed_at":"2024-03-19T13:20:44.000Z","size":1078,"stargazers_count":5924,"open_issues_count":17,"forks_count":158,"subscribers_count":68,"default_branch":"master","last_synced_at":"2024-10-29T15:34:46.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tonsky.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"publiccode":null,"codemeta":null},"funding":{"github":["tonsky"],"patreon":"tonsky"}},"created_at":"2015-03-02T19:27:52.000Z","updated_at":"2024-10-26T03:27:21.000Z","dependencies_parsed_at":"2024-10-25T10:17:02.314Z","dependency_job_id":"e40e5c68-9447-4037-a527-dfb065e1d663","html_url":"https://github.com/tonsky/AnyBar","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonsky%2FAnyBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonsky%2FAnyBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonsky%2FAnyBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonsky%2FAnyBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonsky","download_url":"https://codeload.github.com/tonsky/AnyBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243478143,"owners_count":20297200,"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":[],"created_at":"2024-07-30T17:01:23.631Z","updated_at":"2025-03-13T20:31:34.081Z","avatar_url":"https://github.com/tonsky.png","language":"Objective-C","readme":"# AnyBar: OS X menubar status indicator\n\nAnyBar is a small indicator for your menubar that does one simple thing: it displays a colored dot. What the dot means and when to change it is up to you.\n\n\u003cimg src=\"screenshot.png?raw=true\" /\u003e\n\n## Download\n\nVersion 0.2.3:\n\n\u003ca href=\"https://github.com/tonsky/AnyBar/releases/download/0.2.3/AnyBar-0.2.3.zip\"\u003e\u003cimg src=\"AnyBar/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png?raw=true\" style=\"width: 128px;\" width=128/\u003e\u003c/a\u003e\n\nOr using [Homebrew Cask](https://github.com/Homebrew/homebrew-cask):\n\n    brew install --cask anybar\n\n## Support us\n\n\u003ca href=\"https://patreon.com/tonsky\" target=\"_blank\"\u003e\u003cimg src=\"./anybar_patreon.png\"\u003e\u003c/a\u003e\n\n## Usage\n\nAnyBar is controlled via a UDP port (1738 by default). Before any commands can be sent, AnyBar.app must be launched:\n\n```sh\nopen -a AnyBar\n```\n\nOnce launched, you may send it a message to change the style of the dot:\n\n```sh\necho -n \"black\" | nc -4u -w0 localhost 1738\n```\n\nIf you use bash, you might prefer this instead:\n\n```sh\nbash -c 'echo -n \"black\" \u003e /dev/udp/localhost/1738'\n```\n\nThe following default commands change the style of the dot:\n\n| Command       | Preview                                                             |\n|---------------|---------------------------------------------------------------------|\n| `white`       | \u003cimg src=\"AnyBar/Resources/white@2x.png?raw=true\" width=15 /\u003e       |\n| `red`         | \u003cimg src=\"AnyBar/Resources/red@2x.png?raw=true\" width=15 /\u003e         |\n| `orange`      | \u003cimg src=\"AnyBar/Resources/orange@2x.png?raw=true\" width=15 /\u003e      |\n| `yellow`      | \u003cimg src=\"AnyBar/Resources/yellow@2x.png?raw=true\" width=15 /\u003e      |\n| `green`       | \u003cimg src=\"AnyBar/Resources/green@2x.png?raw=true\" width=15 /\u003e       |\n| `cyan`        | \u003cimg src=\"AnyBar/Resources/cyan@2x.png?raw=true\" width=15 /\u003e        |\n| `blue`        | \u003cimg src=\"AnyBar/Resources/blue@2x.png?raw=true\" width=15 /\u003e        |\n| `purple`      | \u003cimg src=\"AnyBar/Resources/purple@2x.png?raw=true\" width=15 /\u003e      |\n| `black`       | \u003cimg src=\"AnyBar/Resources/black@2x.png?raw=true\" width=15 /\u003e       |\n| `question`    | \u003cimg src=\"AnyBar/Resources/question@2x.png?raw=true\" width=15 /\u003e    |\n| `exclamation` | \u003cimg src=\"AnyBar/Resources/exclamation@2x.png?raw=true\" width=15 /\u003e |\n| `filled`      | \u003cimg src=\"AnyBar/Resources/filled@2x.png?raw=true\" width=15 /\u003e      |\n| `hollow`      | \u003cimg src=\"AnyBar/Resources/hollow@2x.png?raw=true\" width=15 /\u003e      |\n\n`black` and `white` always has black or white fill. On Big Sur, where text color of menubar might change depending on the wallpaper, you might want to use `filled` and `hollow` instead. They are inverted when menubar changes its appearance.\n\nTo quit, send `quit`.\n\n## Alternative clients\n\nBash alias:\n\n```sh\n$ function anybar { echo -n $1 | nc -4u -w0 localhost ${2:-1738}; }\n\n$ anybar red\n$ anybar green 1739\n```\n\nOr with /dev/udp:\n\n```sh\nfunction anybar { echo -n $1 \u003e /dev/udp/localhost/${2:-1738}; }\n```\n\nZsh with completion:\n\n- [wookayin/anybar-zsh](https://github.com/wookayin/anybar-zsh)\n\nFish shell with completion:\n\n- [matchai/anybar-fish](https://github.com/matchai/anybar-fish)\n\nGo:\n\n- [justincampbell/anybar](https://github.com/justincampbell/anybar)\n- [johntdyer/anybar-go](https://github.com/johntdyer/anybar-go)\n\nNode:\n\n- [rumpl/nanybar](https://github.com/rumpl/nanybar)\n- [sindresorhus/anybar](https://github.com/sindresorhus/anybar)\n- [snippet by skibz](https://github.com/tonsky/AnyBar/issues/11)\n\nDeno:\n\n- [pumpncode/anybar](https://github.com/pumpncode/anybar)\n\nPHP:\n\n- [2bj/Phanybar](https://github.com/2bj/Phanybar)\n\nJava:\n\n- [cs475x/AnyBar4j](https://github.com/cs475x/AnyBar4j)\n\nPython:\n\n- [philipbl/pyanybar](https://github.com/philipbl/pyAnyBar)\n\nRuby:\n\n- [davydovanton/AnyBar_rb](https://github.com/davydovanton/AnyBar_rb)\n\nRust:\n\n- [urschrei/rust_anybar](https://github.com/urschrei/rust_anybar)\n- [Feliix42/anybar-rs](https://github.com/Feliix42/anybar-rs)\n\nNim:\n\n- [rgv151/anybar.nim](https://github.com/rgv151/anybar.nim)\n\nErlang:\n\n- [kureikain/ebar](https://github.com/kureikain/ebar)\n\nC:\n\n- [onderweg/anybar-cli](https://github.com/onderweg/anybar-cli)\n\nC#:\n\n- [jenyayel/anybar-client](https://github.com/jenyayel/anybar-client)\n\nCrystal:\n- [davydovanton/AnyBar_cr](https://github.com/davydovanton/AnyBar_cr)\n\nEmacs: \n\n- [rmuslimov/anybar.el](https://gist.github.com/rmuslimov/2d74cacd5e0ae827663e)\n- [tie-rack/anybar-el](https://github.com/tie-rack/anybar-el) (Also on [Melpa](https://melpa.org/#/anybar))\n\nAppleScript:\n\n```applescript\ntell application \"AnyBar\" to set image name to \"blue\"\n\ntell application \"AnyBar\" to set current to get image name as Unicode text\ndisplay notification current\n```\n\nAlfred:\n\n- [https://github.com/raguay/MyAlfred](https://github.com/raguay/MyAlfred/blob/master/Alfred%204/AnyBar%20Workflow.alfredworkflow)\n\n## Integrations\n\n- Webpack build status plugin [roman01la/anybar-webpack](https://github.com/roman01la/anybar-webpack)\n- boot-clj task [tonsky/boot-anybar](https://github.com/tonsky/boot-anybar)\n- Idea plugin [denofevil/AnyBarIdea](https://github.com/denofevil/AnyBarIdea)\n- Anybar-based CLI journal [Andrew565/anybar-icon-journal](https://github.com/Andrew565/anybar-icon-journal)\n- Command monitoring [rvirani1/with_anybar](https://github.com/rvirani1/with_anybar)\n- Monitor commands automatically, across several iterm tabs [stacycurl/anybar_bash](https://github.com/stacycurl/anybar-bash)\n- Extension for ipython/jupyter/ipython notebook [ermakovpetr/ipython-anybar](https://github.com/ermakovpetr/ipython-anybar)\n\n## Running multiple instances\n\nYou can run several instances of AnyBar as long as they listen on different ports. Use the `ANYBAR_PORT` environment variable to change the port and `open -na` to run several instances:\n\n```sh\nANYBAR_PORT=1738 open -na AnyBar\nANYBAR_PORT=1739 open -na AnyBar\nANYBAR_PORT=1740 open -na AnyBar\n```\n\n## Environment variables to specify a title and the initial color of the dot\n\nA title can be set to distinguish dots in the menubar:\n\n```sh\nANYBAR_PORT=1738 ANYBAR_TITLE=First  open -na AnyBar\nANYBAR_PORT=1739 ANYBAR_TITLE=Second open -na AnyBar\nANYBAR_PORT=1740 ANYBAR_TITLE=Third  open -na AnyBar\n```\n\nAnd the initial color of the dot can also be set:\n\n```sh\nANYBAR_INIT=blue open -na AnyBar\n```\n\n## Custom images\n\nAnyBar can detect and use local custom images stored in the `~/.AnyBar` directory. For example, if you have a `~/.AnyBar/square@2x.png` image, send `square` to port 1738 and it will be displayed. Images should be 19×19 pixels for standard resolution, and 38x38 pixels for retina (@2x).\n\n## Ports\n\n- Ubuntu Unity [limpbrains/somebar](https://github.com/limpbrains/somebar)\n- i3wm with i3pystatus [enkore/i3pystatus](https://github.com/enkore/i3pystatus)\n- Windows 10 [PavelStefanov/NoteBar](https://github.com/PavelStefanov/NoteBar)\n- Emacs [plexus/.../emybar.el](https://github.com/plexus/plexmacs/blob/master/emybar/emybar.el)\n\n## License\n\nCopyright © 2015 Nikita Prokopov\n\nLicensed under Eclipse Public License (see [LICENSE](LICENSE)).\n","funding_links":["https://github.com/sponsors/tonsky","https://patreon.com/tonsky"],"categories":["Objective-C","Applications","Developer Utilities","\u003e 3k ★","Uncategorized","Инструменты разработчика"],"sub_categories":["Menubar","Uncategorized","📊 Menubar (38)","Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonsky%2FAnyBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonsky%2FAnyBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonsky%2FAnyBar/lists"}