Url shortner
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nicolai Ort 4ee8de47cf 🚀RELEASE 0.7.0 6 months ago
migrations Added migration for clientside redirects 9 months ago
src Now recognizing r/ pattern 6 months ago
.drone.yml Added tag builds 11 months ago
.env Get all api endpoints 11 months ago
.gitignore add lockfile [skip-ci] 11 months ago
CHANGELOG.md 🚀RELEASE 0.7.0 6 months ago
Dockerfile Removed yarn lock copy 6 months ago
LICENSE Added license 11 months ago
README.md Added the new providers to the readme 6 months ago
docker-compose.yml Added optional db volume to docker-compose 11 months ago
knexfile.js Prod db now resides in db folder 11 months ago
package.json 🚀RELEASE 0.7.0 6 months ago
renovate.json Enabled dep dashboard 9 months ago

README.md

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

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

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