Skip to content

systemdes/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

url-shortener

๐Ÿ”— Privacy friendly URL shortener using Netlify

Free privacy-friendly URL shortener on custom domain dndv.nl. Relies heavily on Netlify's _redirects.

The URL's are managed in the _redirects file and then Netlify handles all the redirecting.

This domain is deployed on Netlify and then uses dndv.nl as a custom domain.

Usage

Creates a random short code and adds it to the _redirects file.

npm run shorten https://example.com 

Creates a short url and adds it to the _redirects file.

npm run shorten https://example.com example

Inspiration

URL shorteners for custom domains are insanely expensive and trach the sh*t out of their users. I just want a simple way to shorten my url's (e.g. use in video descriptions or slide decks) and don't need any tracking.

Original concept from Kent C. Odds, Carl Rosell & Phil Hawksworth.

License

MIT ยฉ Danny de Vries