Nicolai Ort 85249e83b1
All checks were successful
continuous-integration/drone/push Build is passing
Updated readme w/ native provider
2022-01-12 18:12:33 +01:00
2022-01-12 17:54:50 +01:00
2021-08-14 10:40:16 +02:00
2021-08-14 11:50:03 +02:00
2021-08-14 10:44:41 +02:00
2022-01-12 18:04:27 +01:00
2022-01-12 17:40:29 +01:00
2021-08-14 12:56:02 +02:00
2021-08-14 16:00:45 +02:00
2022-01-12 18:04:27 +01:00
2022-01-12 18:12:33 +01:00
2021-10-15 16:23:21 +02:00

LinkyLinky 🔗

A small url shortener, originaly developed for kauft.es

Features

  • Url shortinging to 18-byte hex ids
  • Special shortening "providers" for well-used services

Provider patterns

The base pattern is always baseurl/providerOrShortCode

Provider Pattern Resolves to Notes
Native (Shortcode) /id Whatever the database entry points to None
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/id Only tested with German eBay
Reddit /r/id https://redd.it/id Powered by the awesome work of u/TheAppleFreak https://kauft.es/r/4vapin

Dev Setup 🛠

Runs on port 3000

Yarn

yarn
yarn migrate
yarn dev

NPM

npm i
npm run migrate
npm run dev

Docker 🐳

Runs on port 3000

docker-compose build
docker-compose up
Description
Url shortner
Readme 5.5 MiB
Languages
JavaScript 98.3%
Dockerfile 1.7%