{"id":13583686,"url":"https://github.com/kutsan/reopen-cli","last_synced_at":"2026-02-28T07:34:05.257Z","repository":{"id":57353593,"uuid":"122862150","full_name":"kutsan/reopen-cli","owner":"kutsan","description":"Improvement over `open` utility for macOS and Chrome; open URLs in the browser but instead of creating new tabs every time, use existing ones by mutating them.","archived":false,"fork":false,"pushed_at":"2023-06-19T01:51:07.000Z","size":46,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-20T17:23:42.515Z","etag":null,"topics":["google-chrome","macos","open","osascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kutsan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-25T18:10:01.000Z","updated_at":"2023-03-09T03:27:20.000Z","dependencies_parsed_at":"2024-09-25T00:30:20.345Z","dependency_job_id":null,"html_url":"https://github.com/kutsan/reopen-cli","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"4b6a0465626ee136f4f441b93b6eb4b6fe88f594"},"previous_names":["kutsan/reopen"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/kutsan/reopen-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kutsan%2Freopen-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kutsan%2Freopen-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kutsan%2Freopen-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kutsan%2Freopen-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kutsan","download_url":"https://codeload.github.com/kutsan/reopen-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kutsan%2Freopen-cli/sbom","scorecard":{"id":574247,"data":{"date":"2025-08-11","repo":{"name":"github.com/kutsan/reopen-cli","commit":"4b6a0465626ee136f4f441b93b6eb4b6fe88f594"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-20T17:13:33.638Z","repository_id":57353593,"created_at":"2025-08-20T17:13:33.638Z","updated_at":"2025-08-20T17:13:33.638Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29927587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["google-chrome","macos","open","osascript"],"created_at":"2024-08-01T15:03:42.014Z","updated_at":"2026-02-28T07:34:05.214Z","avatar_url":"https://github.com/kutsan.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cimg width=\"100\" src=\"https://github.com/kutsan/reopen-cli/raw/master/.github/assets/logo.png\" alt=\"Logo\" /\u003e\n\n# reopen-cli\n\n[![npm](https://img.shields.io/npm/v/reopen-cli)](https://www.npmjs.com/package/reopen-cli)\n\n|        | Comparison with macOS's `open`       |\n|--------|--------------------------------------|\n| open   | ![](https://i.imgur.com/frcd25E.gif) |\n| reopen | ![](https://i.imgur.com/PgMxiUH.gif) |\n\n## Requirements\n\n- `osascript` which is pre-installed macOS utility\n- Google Chrome\n\n## Features\n\n- Should open Google Chrome if it's not already open.\n- Should open a new window, if there is no window but Google Chrome is open.\n- If there is only one window, one tab and it's new empty tab, it should use that tab.\n- Should focus Google Chrome after opening the URL.\n- Should focus first tab, if there is one or multiple.\n- Should create a new tab, if there is none.\n- Should preserve history.\n\n## Installation\n\n```sh\nnpm install --global reopen-cli\n```\n\n## Usage\n\n### Synopsis\n\n```sh\nreopen '\u003curl\u003e'\n```\n\n### Example\n\n```sh\nreopen 'https://devdocs.io/#q=html'\nreopen 'https://devdocs.io/#q=react'\n```\n\n### Using with vim\n\nAlthough you can use with any URL, one particular example would be opening\n[devdocs.io](https://devdocs.io) upon pressing `'keywordprg'` mapping which is `K` by default.\n\nCreate a command.\n\n```vim\ncommand! -nargs=* Docs call system(printf('reopen \"https://devdocs.io/?q=%s\"', \u003cq-args\u003e))\n```\n\nSet `'keywordprg'` to that command.\n\n```vim\nset keywordprg=:Docs\n```\n\nNow, pressing `K` under any keyword (or e.g. `:Docs child_process`) will bring\nDevDocs docs and repeating that would replace current open tab.\n\n## License\n\nGPL-3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkutsan%2Freopen-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkutsan%2Freopen-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkutsan%2Freopen-cli/lists"}