Retailwind
Reverse obfuscated tailwind classes
Install
pip install retailwind
Usage
You can either use it as a CLI tool, an interactive terminal app or a python library. In all cases, you will need to provide the stylesheet of the website that hides the tailwind classes (-c
flag).
CLI
Just give you r input after the -r
flag.
retailwind -c style.css -r yz
Interactive
Use the -i
flag, it will start the interactive app.
retailwind -c style.css -i
You can write (or paste through shift+right-click or your terminal shortcut like ctrl+shift+v) html fragments and see the translated version on the right panel.
Library
from retailwind.translator import Translator
tr = Translator("/path/to/styles.css")
tr.raw("yz")
tr.html("<div class='kw lx yz aai'>retailwind</div>")