GithubHelp home page GithubHelp logo

yourlsh's Introduction

shurl

这是什么?

这是一个基于 YOURLS 自建的短链快捷方式;

安装

brew tap ivaquero/chinese
brew update
brew install shurl

初始化

去自己的后台 https://<你的域名>/admin/tools.php 获取 Signature token 备用。

  • 初次运行 shurl 时会自动判断并进行初始化;
  • 若配置内容有误,运行 shurl 会重新初始化;
  • 将要缩短链接拷贝到剪贴板后运行 shurl ,返回的短链会直接拷贝到剪贴板。

使用方法

  1. 将要缩短的链接复制到剪贴板中,程序将从剪贴板里直接获取内容;
  2. 运行下面命令后,生成的短链会自动复制到你的剪贴板。
shurl

帮助

shurl -h #打印帮助内容
shurl -r #删除配置文件并重新初始化

更新

brew update
brew upgrade shurl

构建

shc -r -f yourlsh.sh -o shurl

其他

config.json 存放位置:~/Library/Application Support/shurl/config.json

参数 说明 类型
domain 你的域名,必须套 TLS ,不包含 https 字符串
signature 你的 Signature token 字符串
check 检测配置文件是否可用 布尔

yourlsh's People

Contributors

mrered avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.