You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

734 B

Git.io in PicoLisp

Command-line client for GitHub's URL shortener git.io.

Requirements

  • curl with https support
  • PicoLisp

Usage

shorten a github.com URL

pil git.io.l "https://github.com/aw/picolisp-git.io"
https://git.io/vhUj0

shorten a github.com URL with custom code

pil git.io.l "https://github.com/aw/picolisp-json" piljson
https://git.io/piljson

lengthen a shortened git.io URL

chmod +x git.io.l
./git.io.l "https://git.io/piljson"
https://github.com/aw/picolisp-json

Alternatives

License

MIT License

Copyright (c) 2018 Alexander Williams, Unscramble license@unscramble.jp