{"id":18282235,"url":"https://github.com/technosophos/glowbear","last_synced_at":"2025-04-05T06:30:45.475Z","repository":{"id":66850726,"uuid":"101717991","full_name":"technosophos/glowbear","owner":"technosophos","description":"add custom Touch Bar buttons on macOS MacBook Pro","archived":false,"fork":false,"pushed_at":"2018-01-23T16:05:33.000Z","size":81,"stargazers_count":40,"open_issues_count":7,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-20T23:33:53.120Z","etag":null,"topics":["applescript","macbook-pro","macos","nodejs","touchbar","touchbar-support","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technosophos.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}},"created_at":"2017-08-29T04:12:13.000Z","updated_at":"2025-02-02T08:08:56.000Z","dependencies_parsed_at":"2023-02-22T23:31:26.120Z","dependency_job_id":null,"html_url":"https://github.com/technosophos/glowbear","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosophos%2Fglowbear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosophos%2Fglowbear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosophos%2Fglowbear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technosophos%2Fglowbear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technosophos","download_url":"https://codeload.github.com/technosophos/glowbear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299766,"owners_count":20916183,"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":["applescript","macbook-pro","macos","nodejs","touchbar","touchbar-support","typescript"],"created_at":"2024-11-05T13:04:40.421Z","updated_at":"2025-04-05T06:30:45.058Z","avatar_url":"https://github.com/technosophos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GlowBear: The TouchBar Customization Tool for your MacBook Pro\n\nThis is a tool for creating custom buttons to go on your MacBook Pro's touch bar\n(that glowy bar that hijacked the F-key row). It also supplies hotkey support\nso that you can map both a Touch Bar button and a hotkey.\n\n![Glow Bear](lemmling-Gummy-bear-sort-of-300px.png)\n\n## Prerequisites\n\n- `node`\n- `yarn` or `npm`\n\n## Usage\n\nBuild it the first time with `npm install \u0026\u0026 npm build` or `yarn install \u0026\u0026 yarn build`\n\nCreate/edit your `~/.config/glowbear/glowbear.yaml` file to contain the buttons and commands you want to run.\n\nRun with `npm start` or `yarn start`.\n\nTo raise the app, press `CMD-SHIFT-.`. At that point, the buttons will be visible\non the button bar, and the accelerator keys will be active.\n\n## glowbear.yaml Format\n\nThe glowbear.yaml format contains a list of commands, with each command being\nrepresented as a button on the Touch Bar.\n\n```yaml\ncommands:\n- name: \"Web\"\n  color: \"#b00707\"\n  accelerator: \"a\"\n  applescript: |-\n    tell application \"Vivaldi\"\n      activate\n      set visible of first window whose visible is true to true\n    end tell\n```\n\nCommands have the following properties:\n\n- `name`: Text to display on the button.\n- `color`: A CSS-formatted color for the button.\n- `accelerator`: A hotkey (optional).\n- `applescript`: The script to execute when the button is clicked or the\n  acclerator is executed.\n\nCheck out the [examples](examples/glowbear.yaml) directory for more examples.\n\n## LICENSE\n\nThis project is licensed under the MIT license. See LICENSE.txt for more.\n\nImages in this package are licensed under CC-0 from https://openclipart.org.\n\n## Contributing\n\nFeel free to open pull requests on this project. The main goal of the project\nwas to make a tool for my own personal use. So I don't actively develop on this\nunless I get an idea.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnosophos%2Fglowbear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnosophos%2Fglowbear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnosophos%2Fglowbear/lists"}