menzerath / hastebin-plus

Hastebin Plus is an open-source Pastebin software written in Node.js. It is based upon haste and got enhanced in matters of design, speed and simplicity.
https://hastebin-plus.herokuapp.com
58 stars 47 forks source link

Add link shortening support #3

Open Ribesg opened 9 years ago

Ribesg commented 9 years ago

Hi!

Nice project. You could eventually handle pasted links directly. When saving, if what has been pasted matches the regex of a single URL, then the generated link should act as a shortcut, i.e. immediately redirecting to the pasted link.

Ribesg

menzerath commented 9 years ago

This sounds like an interesting idea, but at the moment I don't have enough time to implement such a feature (maybe later). Of course you are free to implement it yourself and send a Pull Request or to use an external service like Bitly with your own domain.