Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



37 Commits

Repository files navigation


Go Reference

This is a URL shortener. There are many like it, but this is mine. Try putting all the vowels in "shrt" and enjoy yourself!

Also handles go-get redirects.

HTTP Handler

This Go http.Handler module is imported as

To use, initialize Shrt with a shrt.Config object. Drop this Handler into your site's http.ServeMux and start serving shortlinks and go-get redirects.


The command line interface (CLI) in this repository is useful if you wish to run Shrt as a standalone server. It can is installed in the usual manner:

$ go install

From there you can run "shrt help" to read the CLI documentation.


Release artifacts created prior to December 1, 2022 can be verified in one of two ways:

  1. Each .tar.gz archive is signed inline with signify and can be verified (using the -z flag) against the public key located at

  2. Using the .sig file corresponding to an archive, verification can be done with gpg against the public key located at

Archives created on or after December 1, 2022 will only be signed with signify, and not with gpg. To support the use of minisign, which is compatable with signify, detached signatures will be created. These signature files are indicated with a .minisig extension.


ISC. See the LICENSE file for full copyright and license details.