AI summary by TwinMind
Prettier? Nah I got something way better
Theo - t3․gg
5m 37s
Shittier Tool Introduction
- Code formatting tool designed to make code look terrible (opposite of Prettier)
- Aims for chaos, messiness, confusion in code appearance
- Only works with JavaScript files, not TypeScript
- Features include:
- Random indentations for chaotic structure
- Mixed case madness breaking consistency
- Spacing nightmares with added/removed spaces, tabs, line breaks
- Deterministic formatting (same code produces same shitty output)
Live Demo Testing
- Tested on tutorial project with multiple components under source directory
- Globally installed shittier tool
- Successfully "shittified" JavaScript files with random casing
- Applied to jQuery source core file (jquery.js)
- Described result as "how jQuery always should have been"
- Called output "beautiful" and "art"
- Noted formatted code remains valid JavaScript
HTM X Integration Experiment
- Applied shittier to HTM X source files
- Referenced previous "HTM X sucks video"
- Saved files without prettier formatting to maintain shittier output
- Applied formatting to source/htmx.js file
Ethical Disclaimer and Friend Prank
- Important warning: Don't file joke PRs on random GitHub repos
- Only acceptable because presenter is friends with HTM X maintainers
- Open source maintenance already difficult - don't make it harder
- Emphasized this is friendly prank, not example to copy
- Warned against piling on or being problematic in open source
GitHub PR Filing Process
- Filed PR claiming HTM X needed formatter for "serious project"
- Encountered server error initially due to markup formatting issues
- Successfully submitted PR with shittier-formatted HTM X source
- Tweet sent to @htmx claiming they lacked formatting, offering "fix"
- Noted HTM X didn't have Prettier enabled
Conclusion and Recommendation
- Praised shittier as great prank tool for friends
- Suggested using for PR pranks to test what friends will merge
- Thanked development team and starred the project
- Expressed happiness with the tool's entertainment value
