snappass
snappass copied to clipboard
Small idea
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??
Example of the other option: https://github.com/elmobp/snappass/commit/861bf28546021fe400579c7293f3b6cb8a40945e