YOURLS comes with handy bookmarklets for easier link shortening and sharing.
Standard or Instant, Simple or Custom
- The Standard Bookmarklets will take you to a page where you can easily edit or delete your brand new short URL.
- The Instant Bookmarklets will pop the short URL without leaving the page you are viewing.
- The Simple Bookmarklets will generate a short URL with a random or sequential keyword.
- The Custom Keyword Bookmarklets will prompt you for a custom keyword first.
If you want to share a description along with the link you're shortening, simply select text on the page you're viewing before clicking on your bookmarklet link
Click and drag links to your toolbar (or right-click and bookmark it)
|Standard (new page)||Instant (popup)|
|Custom Keyword||Custom shorten||Instant Custom Shorten|
Create a short URL and share it on social networks, all in one click! Click and drag links to your toolbar (or right-click and bookmark it)
Shorten and share:
Note: depending on server settings, bookmarklets might fail on websites with https.
When viewing a page, you can also prefix its full URL: just head to your browser's address bar, add "skill.pw/" to the beginning of the current URL (right before its 'http://' part) and hit enter.
Note: this will probably not work if your web server is running on Windows.
Secure passwordless API call
YOURLS allows API calls the old fashioned way, using username and password parameters. If you're worried about sending your credentials into the wild, you can also make API calls without using your login or your password, using a secret signature token.
Your secret signature token:
Cannot generate auth signature: no username (It's a secret. Keep it secret)
This signature token can only be used with the API, not with the admin interface.
Usage of the signature token
Simply use parameter signature in your API requests. Example:
http://skill.pw/yourls-api.php?signature=Cannot generate auth signature: no username&action=...
Usage of a time limited signature token
<?php $timestamp = time(); // actual value: $time = 1620754606 $signature = md5( $timestamp . 'Cannot generate auth signature: no username' ); // actual value: $signature = "d56a4a038a302153ee192972c1fdbf1c" ?>
Now use parameters signature and timestamp in your API requests. Example:
This URL would be valid for only 43200 seconds