Implement link shortener
Suggested here: https://github.com/timvisee/send/issues/46
A built-in link shortener would be a useful addition, especially for some private self-hosted Send instances. This does break end-to-end encryption from a security standpoint, but that might be a risk users accept. Because of this, this should be disabled by default and may be enabled through a configuration property.
Here is how I currently imagine it:
- Opt-in through a configuration property
- Show a 'shorten URL' button on the upload success page
- When shortening, prompt the user to confirm because it is not secure (like with
ffsend upload --shorten
) - 'Shlink' may be nice for shortening, as it's self hostable (suggested by OP)