Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/YOURLS/custom-protocol
YOURLS plugin: manage authorized URL protocols differently if user is known or not
https://github.com/YOURLS/custom-protocol
yourls yourls-plugin
Last synced: 14 days ago
JSON representation
YOURLS plugin: manage authorized URL protocols differently if user is known or not
- Host: GitHub
- URL: https://github.com/YOURLS/custom-protocol
- Owner: YOURLS
- Created: 2013-04-14T15:29:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-04-21T20:33:29.000Z (over 2 years ago)
- Last Synced: 2024-04-14T00:50:06.212Z (7 months ago)
- Topics: yourls, yourls-plugin
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 5
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome - Custom Protocol - If the user is known, this plugin adds custom protocol (eg `blah://`) to authorized protocols, otherwise restricts to `http|s`. (Plugins / C)
README
# Plugin for YOURLS : Custom Protocols [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/)
> 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](https://docs.yourls.org/guide/advanced/public-shortening.html).
## 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