Added the new providers to the readme

This commit is contained in:
Nicolai Ort 2022-01-12 18:04:14 +01:00
parent 0fa043f0df
commit 8abaabbe51
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,20 @@
<h3 align="center">A small url shortener, originaly developed for kauft.es</h3>
</p>
## Features
* Url shortinging to 18-byte hex ids
* Special shortening "providers" for well-used services
### Provider patterns
| Provider | Pattern | Resolves to | Notes |
| - | - | - | - |
| YouTube (Video) | `/yt/id` | `https://youtu.be/id` | None |
| YouTube (Playlist) | `/ytpl/id` | `https://youtube.com/playlist?list=id` | Remember: Private playlists will result in user-side errors |
| Amazon | `/a/id` | `https://amazon.de/dp/id` | Recognizes all kind of cursed amazon urls (+smile and others) |
| eBay | `/e/id` | `https://ebay.de/itm/` | Only tested with German eBay |
| Reddit | `/r/id` | `https://redd.it/` | Powered by the awesome work of u/TheAppleFreak https://kauf.es/r/4vaqiw |
## Dev Setup 🛠
> Runs on port 3000