命令行短链生成工具
一个基于 GitHub Pages 的命令行短网址生成工具,可将长链接转换为短链接并托管在 GitHub 上。
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
在周刊 135 期工具栏目中提到了一种使用 GitHub Pages 托管自己的短网址服务,我将其在命令行中实现。- GitHub- NPM<img width="387" alt="截屏2020-12-25 下午5 22 27" src="https://user-images.githubusercontent.com/28648715/103145902-17751d00-477c-11eb-85c8-88000343d268.png">测试,点击链接 shorten.pro/5,网页会重定向到工具的 NPM 首页,而这个链接被保存在了 GitHub 仓库的这个 issue 里。