{"id":18305884,"url":"https://github.com/derekstavis/touchrunner","last_synced_at":"2025-07-09T09:17:15.917Z","repository":{"id":48096477,"uuid":"113787503","full_name":"derekstavis/touchrunner","owner":"derekstavis","description":"Run npm scripts from the MacBook Pro Touch Bar","archived":false,"fork":false,"pushed_at":"2021-08-06T22:12:57.000Z","size":5103,"stargazers_count":48,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T01:54:05.697Z","etag":null,"topics":["fishshell","npm","ohmyfish","scripts","touchbar"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/derekstavis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-10T22:10:30.000Z","updated_at":"2024-11-30T05:20:03.000Z","dependencies_parsed_at":"2022-08-12T18:31:36.159Z","dependency_job_id":null,"html_url":"https://github.com/derekstavis/touchrunner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derekstavis/touchrunner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekstavis%2Ftouchrunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekstavis%2Ftouchrunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekstavis%2Ftouchrunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekstavis%2Ftouchrunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derekstavis","download_url":"https://codeload.github.com/derekstavis/touchrunner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekstavis%2Ftouchrunner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264428787,"owners_count":23606692,"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":["fishshell","npm","ohmyfish","scripts","touchbar"],"created_at":"2024-11-05T15:35:59.968Z","updated_at":"2025-07-09T09:17:15.862Z","avatar_url":"https://github.com/derekstavis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://cdn.rawgit.com/oh-my-fish/oh-my-fish/e4f1c2e0219a17e2c748b824004c8d0b38055c16/docs/logo.svg\" align=\"left\" width=\"144px\" height=\"144px\"/\u003e\n\n#### touchrunner\n\u003e Run tasks from the touchbar\n\n[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE)\n[![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](https://fishshell.com)\n[![Oh My Fish Framework](https://img.shields.io/badge/Oh%20My%20Fish-Framework-007EC7.svg?style=flat-square)](https://www.github.com/oh-my-fish/oh-my-fish)\n\n\u003cbr/\u003e\n\n\n## Installing\n\n```fish\n$ omf install touchrunner\n```\n\n## What will you get\n\n![Touchrunner demo](touchrunner.gif \"Touchrunner demo\")\n\n## Requirements\n\n1. Have **Oh My Fish** installed. For more information, check [here](https://github.com/oh-my-fish/oh-my-fish#installation).\n1. Be using **iTerm2**, for Touch Bar support.\n\n## Usage\n\n1. Edit the Touch Bar (View -\u003e Customize Touch Bar) to have only \"Function keys\" block.\n1. Enter a directory with a `package.json` and the tasks will appear at the touch bar.\n1. Exitting the directory makes the Touch Bar be restored to function keys.\n\n## Configuration\n\nBy default touchrunner will use `npm run`. If you want to switch the task\nrunner, you can override via `touchrunner_command` global variable, eg.:\n\n```fish\nset -g touchrunner_command yarn\n```\n\n# License\n\n[MIT][mit] © [Derek Stavis][author]\n\n\n[mit]:            https://opensource.org/licenses/MIT\n[author]:         https://github.com/derekstavis\n[omf-link]:       https://www.github.com/oh-my-fish/oh-my-fish\n\n[license-badge]:  https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekstavis%2Ftouchrunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderekstavis%2Ftouchrunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekstavis%2Ftouchrunner/lists"}