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.
|
6 months ago | |
---|---|---|
migrations | 9 months ago | |
src | 6 months ago | |
.drone.yml | 11 months ago | |
.env | 11 months ago | |
.gitignore | 11 months ago | |
CHANGELOG.md | 6 months ago | |
Dockerfile | 6 months ago | |
LICENSE | 11 months ago | |
README.md | 6 months ago | |
docker-compose.yml | 11 months ago | |
knexfile.js | 11 months ago | |
package.json | 6 months ago | |
renovate.json | 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 |
/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