snappass icon indicating copy to clipboard operation
snappass copied to clipboard

Small idea

Open elmobp opened this issue 2 years ago • 1 comments

Compute a sha256 of the snappass URL's and return that, pop it in Redis as k => v. Set a route for /u/>key which does a lookup for that key if found performs a redirect to the "secret" url. As the secret URL has some characters some clients will have problems parsing. This adds no more dep's to the repo as well, I did have another thought import pyshorteners into the project and have come optonal settings if to enable it and what provider so you can generate short links??

elmobp avatar Jul 21 '21 03:07 elmobp

Example of the other option: https://github.com/elmobp/snappass/commit/861bf28546021fe400579c7293f3b6cb8a40945e

elmobp avatar Jul 21 '21 04:07 elmobp