{"id":20392956,"url":"https://github.com/djadmin/copy-host","last_synced_at":"2025-10-05T20:32:14.459Z","repository":{"id":49778956,"uuid":"93951957","full_name":"djadmin/copy-host","owner":"djadmin","description":"Chrome extension to copy hostname of the current tab to your clipboard.","archived":false,"fork":false,"pushed_at":"2023-12-29T13:18:57.000Z","size":289,"stargazers_count":20,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T06:43:16.759Z","etag":null,"topics":["chrome-extension","developer-tools","devops"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/copy-host/bnimbjbohdeakocjbldadiggnlmlgmie","language":"JavaScript","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/djadmin.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-06-10T16:33:28.000Z","updated_at":"2024-02-29T12:50:47.000Z","dependencies_parsed_at":"2022-09-11T16:31:47.628Z","dependency_job_id":null,"html_url":"https://github.com/djadmin/copy-host","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djadmin%2Fcopy-host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djadmin%2Fcopy-host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djadmin%2Fcopy-host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djadmin%2Fcopy-host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djadmin","download_url":"https://codeload.github.com/djadmin/copy-host/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565051,"owners_count":21125415,"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":["chrome-extension","developer-tools","devops"],"created_at":"2024-11-15T03:46:51.676Z","updated_at":"2025-10-05T20:32:09.428Z","avatar_url":"https://github.com/djadmin.png","language":"JavaScript","readme":"# Copy Host [![Build Status](https://travis-ci.org/djadmin/copy-host.svg?branch=master)](https://travis-ci.org/djadmin/copy-host)\n\nCopy Host allows you to copy the hostname of the current tab to your clipboard.\n\n[![Install](/screenshots/store_badge.png)](https://chrome.google.com/webstore/detail/copy-host/bnimbjbohdeakocjbldadiggnlmlgmie)\n\n![Screenshot](/screenshots/shot.png)\n\n## Why?\n\nIn some cases, browsers prepend `https://` to the URL when you try to copy it. I constantly copy URLs from the browser to the shell, and it drives me crazy. To avoid that, I built this simple Chrome extension to get only the hostname of the website you are currently browsing. Also, I made it a lot easier to copy the hostname with just a shortcut key, i.e., `Alt + C`.\n\nFor example, if you try to copy the URL https://www.google.com from the browser and then try to `ping` using a shell, it doesn't work.\n\n`ping www.google.com` works perfectly and 'Copy Host' makes it easy to do that.\n\n## Installation\n\nCopy Host is available on [Chrome Web Store](https://chrome.google.com/webstore/detail/copy-host/bnimbjbohdeakocjbldadiggnlmlgmie). No additional permissions are required to install.\n\n### Keyboard Shortcut\n\n```Alt + C``` can be used to copy the hostname to your clipboard directly.\n\n### Screenshot\n![Screenshot](/screenshots/fullshot.png)\n\n## Development\n\n1. Clone this repo \n```git clone https://github.com/djadmin/copy-host```\n\n2. Make your changes.\n\n3. To test, go to: chrome://extensions, enable Developer mode, and load src as an unpacked extension.a\n\n## Contributing\n\n### Todo\n\n* Configurable Keyboard Shortcut\n* Option to Disable Popup \n\n### Issues\n\nFeel free to submit issues and feature requests.\n\n### License\n\nCopyright (c) 2024 Dheeraj Joshi\nLicensed under the [MIT license](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjadmin%2Fcopy-host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjadmin%2Fcopy-host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjadmin%2Fcopy-host/lists"}