Skip to content

asiffer/retailwind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retailwind

Reverse obfuscated tailwind classes

app

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

app

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

# init the translator with the stylesheet
tr = Translator("/path/to/styles.css")
# run on raw class
tr.raw("yz")
# run on html fragment
tr.html("<div class='kw lx yz aai'>retailwind</div>")

About

Reverse obfuscated tailwind classes

Resources

Stars

Watchers

Forks

Packages

No packages published