{"id":13529801,"url":"https://github.com/node-gh/gh-gif","last_synced_at":"2025-04-01T17:30:58.459Z","repository":{"id":10518099,"uuid":"12707230","full_name":"node-gh/gh-gif","owner":"node-gh","description":"NodeGH plugin for commenting on pull requests/issues using GIF reactions","archived":false,"fork":false,"pushed_at":"2017-01-09T15:46:57.000Z","size":330,"stargazers_count":21,"open_issues_count":2,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-25T01:21:28.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-gh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-09T17:03:47.000Z","updated_at":"2017-05-04T09:03:51.000Z","dependencies_parsed_at":"2022-08-28T19:13:39.560Z","dependency_job_id":null,"html_url":"https://github.com/node-gh/gh-gif","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/node-gh%2Fgh-gif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-gh%2Fgh-gif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-gh%2Fgh-gif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-gh%2Fgh-gif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-gh","download_url":"https://codeload.github.com/node-gh/gh-gif/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246680218,"owners_count":20816652,"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-08-01T07:00:39.513Z","updated_at":"2025-04-01T17:30:58.192Z","avatar_url":"https://github.com/node-gh.png","language":"JavaScript","readme":"# GH Gif\n\n[![NPM version](http://img.shields.io/npm/v/gh-gif.svg?style=flat)](http://npmjs.org/gh-gif)\n[![NPM downloads](http://img.shields.io/npm/dm/gh-gif.svg?style=flat)](http://npmjs.org/gh-gif)\n[![Build Status](http://img.shields.io/travis/node-gh/gh-gif/master.svg?style=flat)](https://travis-ci.org/node-gh/gh-gif)\n[![Dependencies Status](http://img.shields.io/david/node-gh/gh-gif.svg?style=flat)](https://david-dm.org/node-gh/gh-gif)\n[![DevDependencies Status](http://img.shields.io/david/dev/node-gh/gh-gif.svg?style=flat)](https://david-dm.org/node-gh/gh-gif#info=devDependencies)\n\nNodeGH plugin for commenting on pull requests/issues using GIF reactions.\n\n\u003e Maintained by [Zeno Rocha](https://github.com/zenorocha) and [Eduardo Lundgren](https://github.com/eduardolundgren).\n\n## Install\n\n```\n[sudo] npm install -g gh gh-gif\n```\n\n## Usage\n\n```\ngh gif\n```\n\nOption             | Usage        | Type\n---                | ---          | ---\n`-n`, `--number`   | **Required** | `Number`\n`-R`, `--reaction` | **Required** | `String`\n`-c`, `--comment`  | *Optional*   | `String`\n`-b`, `--best`     | *Optional*   | `Boolean`\n`-B`, `--bestof`   | *Optional*   | `Number`\n`-i`, `--image`    | *Optional*   | `String`\n`-r`, `--repo`     | *Optional*   | `String`\n`-u`, `--user`     | *Optional*   | `String`\n\n#### Examples\n\n* Comment on pull request/issue #75 with a happy reaction.\n\n    ```\ngh gif 75 --reaction happy\n    ```\n\n* You can also use --comment\n\n```\ngh gif 75 --comment \"This is cool\" --reaction congratulation\n```\n\n* Comment on pull request/issue #75 of a certain repo with a surprised reaction.\n\n    ```\ngh gif 75 --reaction surprised --user node-gh --repo gh-gif\n    ```\n\n* Comment on pull request/issue #75 using a certain image.\n\n    ```\ngh gif 75 --image http://media1.giphy.com/media/5DQdk5oZzNgGc/original.gif\n    ```\n\n* Comment on multiple pull requests/issues at the same time.\n\n\t```\ngh gif --reaction happy --number 1 --number 2\n\t```\n\n* Comment on pull request/issue #75 with the best search result\n\n    ```\ngh gif 75 --reaction happy --best\n    ```\n\n* Comment on pull request/issue #75 with a random GIF of the first three result items.\n\n    ```\ngh gif 75 --reaction happy --bestof 3\n    ```\n\n## Testing\n\nCheck [Travis](https://travis-ci.org/node-gh/gh-gif) for continous integration results.\n\n* Run [JSHint](http://www.jshint.com/), a tool to detect errors and potential problems.\n\n    ```\nnpm run-script lint\n    ```\n\n* Run [Mocha](http://visionmedia.github.io/mocha/), a unit test framework.\n\n    ```\nnpm run-script test\n    ```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -m 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## History\n\nCheck [Release](https://github.com/node-gh/gh-gif/releases) list.\n\n## License\n\n[BSD License](https://github.com/node-gh/gh/blob/master/LICENSE.md)\n","funding_links":[],"categories":["Utilities"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-gh%2Fgh-gif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-gh%2Fgh-gif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-gh%2Fgh-gif/lists"}