How haiere/raiaminify works
RaiaMinify is a static, client-side minifier. The main workflow is selecting or dropping a file, reading it in the browser, choosing a format-specific minifier, reviewing the result and statistics, then downloading the output. The engines and interface are all in the three-file app; script.js excerpts show file handling, dispatch and download, while README documents the other formats and UI capabilities. Unexcerpted wiring is omitted where it cannot be confirmed.
Main entry points: script.js Format dispatch · index.html Minifier page
Components 17
Minification workflow
- File intake
script.js - File reader
script.js - Format dispatch
script.js - Result and stats
script.js - Download output
script.js
Format engines
- JavaScript minifier
script.js - CSS minifier
script.js - HTML minifier
script.js - JSON minifier
script.js - Generic minifier
script.js
Interface and extras
- Minifier page
index.html - Responsive interface
style.css - FAQ content
index.html - Donation links
index.html
Other components
- Developer
- Buy Me a Coffee
- Browser local storage
Connections 16
- Developer → Minifier page: opens
- Developer → File intake: selects or drops
- File intake → File reader: passes file
- File reader → Format dispatch: provides text and name
- Format dispatch → JavaScript minifier: selects JavaScript
- Format dispatch → CSS minifier: selects CSS
- Format dispatch → HTML minifier: selects HTML
- Format dispatch → JSON minifier: selects JSON
- Format dispatch → Generic minifier: fallback
- Result and stats → Format dispatch: invokes selected engine
- Developer → Result and stats: reviews output
- Developer → Download output: requests download
- Download output → Developer: saves minified file
- Developer → Donation links: opens link
- Donation links → Buy Me a Coffee: links to
- Minifier page → Browser local storage: stores cookie preference