Plugin for YOURLS : Custom Protocols [](https://github.com/YOURLS/awesome-yourls/)

April 21, 2022 ยท View on GitHub

This is an example plugin - build on it !

:bulb: This plugin requires YOURLS 1.6+

What for

  • If the user is known, this plugin adds custom protocol blah:// to authorized protocols.
  • If the user is unknown (using a public interface for instance) then this plugin restricts authorized protocols to http and https only.

See Public Shortening.

How to

  • In /user/plugins, create a new folder named custom-protocols
  • Drop these files in that directory
  • Edit this plugin to suit your needs
  • Go to the Plugins administration page and activate the plugin
  • Have fun