{"id":42597663,"url":"https://github.com/alittlebrighter/coach","last_synced_at":"2026-01-29T00:12:39.134Z","repository":{"id":57508875,"uuid":"143758127","full_name":"alittlebrighter/coach","owner":"alittlebrighter","description":"Take your scripting game to the next level","archived":false,"fork":false,"pushed_at":"2018-12-11T05:41:19.000Z","size":10761,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-08-15T03:04:20.171Z","etag":null,"topics":["devops","scripting"],"latest_commit_sha":null,"homepage":"https://coach.alittlebrighter.io","language":"Go","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/alittlebrighter.png","metadata":{"files":{"readme":"README.md","changelog":"history.go","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":"2018-08-06T17:00:17.000Z","updated_at":"2022-03-10T13:57:06.000Z","dependencies_parsed_at":"2022-09-13T06:50:36.359Z","dependency_job_id":null,"html_url":"https://github.com/alittlebrighter/coach","commit_stats":null,"previous_names":["alittlebrighter/coach-pro"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/alittlebrighter/coach","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alittlebrighter%2Fcoach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alittlebrighter%2Fcoach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alittlebrighter%2Fcoach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alittlebrighter%2Fcoach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alittlebrighter","download_url":"https://codeload.github.com/alittlebrighter/coach/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alittlebrighter%2Fcoach/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28857186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["devops","scripting"],"created_at":"2026-01-29T00:12:38.480Z","updated_at":"2026-01-29T00:12:39.128Z","avatar_url":"https://github.com/alittlebrighter.png","language":"Go","readme":"## Coach [![Build Status](https://travis-ci.org/alittlebrighter/coach.svg?branch=master)](http://travis-ci.org/alittlebrighter/coach)\n\nCoach helps you maximize you and your team's performance on the command line.  \n\n### Install\n`go get -u github.com/alittlebrighter/coach/cmd/coach`\n\nTo use `coach` to monitor your command line usage, add the following to your `.bashrc` file: \n```\nfunction prompt {\n    coach history --record \"$(history 1)\"\n}\n\nPROMPT_COMMAND=prompt\n```\n\nThere is currently no way to track command history in any other shell (I'm open to ideas on how to resolve that).\n\n### Usage\nOnce you've started a new session just continue using your terminal as you normally would and `coach` will prompt you to save frequently run commands.\n\n```\nadam@devops-1:~/$ svcName=$(journalctl --since today | grep error \\\n    | jq .service.name); systemctl restart $svcName\n'users-api' restarted\n...\nadam@devops-1:~/$ svcName=$(journalctl --since today | grep error \\\n    | jq .service.name); systemctl restart $svcName\n'widget-svc' restarted\n...\nadam@devops-1:~/$ svcName=$(journalctl --since today | grep error \\\n    | jq .service.name); systemctl restart $svcName\n'webhooks' restarted\n\n---\nThis command has been used 3+ times.\n`coach lib [alias] [tags] [comment...]` to save and document this command.\n`coach ignore` to silence this output for this command.\nadam@devops-1:~/$ coach lib prod.findAndFix prod,services,restart Finds \\\n    any services logging errors and restarts them.\n```\n\nTo add more lines you can run:\n```\nadam@devops-1:~/$ coach lib -e prod.findAndFix\n```\nand `coach` will pull up your script along with its metadata inside of the editor specified by `$EDITOR`\nJust save and quit to keep your changes in `coach`.\n\nRun `coach --help` to see other available options. \n\n### Docs\n\nUntil I get proper documentation up for now you can use the following:\n- `coach` - run `coach --help` \n- `coach-grpc-server` - the `.proto` files that the gRPC service implements can be found in the `protobuf` directory.  There are some comments there but further documentation will be provided once I have an interface to plug in security components.\n- `coach-grpc-web` - documentation waiting on security components\n\n### Contributing\n\n1. Fork it\n2. Create your feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create new Pull Request","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falittlebrighter%2Fcoach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falittlebrighter%2Fcoach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falittlebrighter%2Fcoach/lists"}