{"id":13394929,"url":"https://github.com/edgarjs/alfred-github-repos","last_synced_at":"2025-03-13T20:31:49.079Z","repository":{"id":19019645,"uuid":"22242868","full_name":"edgarjs/alfred-github-repos","owner":"edgarjs","description":"Alfred workflow to easily open Github repositories","archived":false,"fork":false,"pushed_at":"2023-05-01T09:48:26.000Z","size":537,"stargazers_count":412,"open_issues_count":13,"forks_count":42,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-07-31T17:23:23.687Z","etag":null,"topics":["alfred","github","workflow"],"latest_commit_sha":null,"homepage":"http://www.packal.org/workflow/github-repos-0","language":"Ruby","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/edgarjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-07-25T02:58:15.000Z","updated_at":"2024-07-17T14:17:00.000Z","dependencies_parsed_at":"2024-01-14T09:00:11.515Z","dependency_job_id":null,"html_url":"https://github.com/edgarjs/alfred-github-repos","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgarjs%2Falfred-github-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgarjs%2Falfred-github-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgarjs%2Falfred-github-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgarjs%2Falfred-github-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgarjs","download_url":"https://codeload.github.com/edgarjs/alfred-github-repos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243478252,"owners_count":20297220,"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":["alfred","github","workflow"],"created_at":"2024-07-30T17:01:36.466Z","updated_at":"2025-03-13T20:31:48.283Z","avatar_url":"https://github.com/edgarjs.png","language":"Ruby","readme":"# GitHub Repos workflow for Alfred\n\nThis is a custom workflow for the [Alfred app][alfred-app] that lets you search and open a GitHub repository via the GitHub Search API.\n\n## Authentication\n\nYou'll need to authenticate with a personal access token that you can generate in the [GitHub developer settings page][personal-access-token] or by running the `gh-token` command in Alfred.\n\nAfter you have copied your personal access token, run `gh-login \u003cyour-token\u003e` to set your personal access token.\n\n## Usage\n\nHere's the list of available commands.\n\n### Global Search: `gh \u003cquery\u003e`\n\n![gh hello-world](docs/gh-hello-world.png)\n\nThe example above will search for repositories with the string \"hello-world\" in their name. Internally this uses the [GitHub Search syntax][github-search], so you can use modifiers like:\n\n![gh hello-world stars:\u003e1000](docs/gh-hello-world-stars-1000.png)\n\nThis will search only in repositories that have more than 1000 stars.\n\n\u003e Please note that this command only searches in the repository name. This means that your query will be appended with the `in:name` modifier. So when you type in `hello-world`, the final search query sent will be: \"hello-world in:name\".\n\n### Search your repositories: `repo [query]`\n\nThis command works the same as the previous one (`gh \u003cquery\u003e`) but it limits the search to your own repositories.\n\n\u003e This includes repositories from your organizations as well.\n\n### Search Pull Requests: `pr [query]`\n\nThis command searches within the Pull Requests that you're involved in.\n\nIf you want to limit the search to be under your organisations, please remove `PR_ALL_INVOLVE_ME` environment variable\n\n### Open notifications: `gh-notifications`\n\nThis command just opens your [GitHub notification][notifications-page] page.\n\n## Config Cache TTL\n\nYou can customise the TTL for the internal caches of Repos/Organisations/PullRequests by seting the following\nenvironment variables. (all in seconds)\n\n```\n\u003e CACHE_TTL_SEC_ORG  default: 86400\n\u003e CACHE_TTL_SEC_PR  default: 300\n\u003e CACHE_TTL_SEC_REPO default: 86400\n```\n\n\n## Configuring host for Enterprise\n\nIf you're using an Enterprise account, you can call the `gh-host \u003chost\u003e` command.\n\n---\n\n## Contributing\n\nYou can submit your bug reports or feature requests at:\nhttps://github.com/edgarjs/alfred-github-repos/issues\n\nIf you want to submit a Pull Request, please follow these simple guides:\n\n1. Add a detailed description of what you're changing and why.\n2. Add necessary unit tests that cover your changes.\n3. Don't increase the version of the workflow in your changes.\n\nHere are some ideas for Pull Requests:\n\n- [ ] Make search faster\n- [ ] Search commits in a repository\n- [ ] Search projects in an organization\n- [ ] Improve icon graphics\n\n## License\n\nThis project is published under the [MIT License](LICENSE.md).\n\n[alfred-app]: https://www.alfredapp.com/\n[github-search]: https://docs.github.com/en/free-pro-team@latest/github/searching-for-information-on-github/searching-on-github\n[download-packal]: https://www.packal.org/workflow/github-repos\n[download-releases]: https://github.com/edgarjs/alfred-github-repos/releases\n[personal-access-token]: https://github.com/settings/tokens/new?description=GitHub%20Repos%20Alfred%20workflow\u0026scopes=repo\n[pulls-page]: https://github.com/pulls\n[notifications-page]: https://github.com/notifications\n[alfred-env-vars]: https://www.alfredapp.com/help/workflows/script-environment-variables/\n","funding_links":[],"categories":["Ruby","Applications"],"sub_categories":["System Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgarjs%2Falfred-github-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgarjs%2Falfred-github-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgarjs%2Falfred-github-repos/lists"}