sus
sus copied to clipboard
Really simple static website URL shortener
Idk, is there value to customizing the actual redirect template? I kinda wanna put a Plausible snippet in there just to see if any of these are ever actually used....
In theory, all of these could be configurable: - separator (`|`) - meta refresh timeout (`0`) - would necessitate some sort of message - `index` file extension (`html`) - input...
Possible checks: - invalid rows - incorrect number of columns - illegal characters in columns - duplicate slugs (see #33) - empty file (though maybe that's OK?)
Is there even a way to do it? Installs fine on 3.5 but doesn't work due to type hints.
Maybe sus could provide a CLI admin tool to manage the input file. Could go neatly with #29.
I wonder if sus should support generating slugs when the user doesn't care.
Currently only the bare minimum for `pydocstyle` is present, and that's not all that useful.
It'd be super duper totes cool if a new tag resulted in a new build and upload to PyPI.