As of January 2022, GitHub put git.io
service to read-only. Therefore, this extension no longer work.
Did you ever feel annoying when shortening a GitHub URL with Git.io, by typing curl -i
manually? Let's do it within our browser!
When you visiting a GitHub.com page, click the git.io button, and a shortened URL will be popped out:
You can also click on the shortened URL, and it will be copied to your clipboard!
It's welcomed! You may help me by:
- making a fancy new icon, or
- fixing bugs (see Issues section)
I've wrote an article about some technical things I learned when making this extension, read it here.
- Support
*.github.com
,*.github.io
and*.githubusercontent.com
. - Switched to https://git.io
- Support help.github.com. Thanks to @jzjzjzj
- Deal with error status from git.io
- Click-to-copy procedure refactored
- Support for raw.github.com, developer.github.com and develop.github.com
- Support for gist.github.com
- Shorten github.com with git.io service
- Click the result text box to copy to clipboard
This application, including the source code and images, is released under the following software license (feel free to make it available on other browsers with my code):
Copyright (c) 2012 Yu-Cheng Chuang
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.