|
|
|
Show HN: Trinity – A self-healing static site generator that fixes its own CSS
(github.com)
|
|
1 points
by fab_space
204 days ago
|
|
"Hi HN, I built this because I got tired of LLMs generating broken layouts. Trinity wraps a standard SSG (Jinja2+Tailwind) with a 'Neural Healer'. It works like this: It renders the page in a headless browser (Playwright).
It detects visual bugs (overflows, overlapping elements).
An LSTM model (trained on 10k+ fixes) suggests specific Tailwind classes to repair the DOM.
It's part of a larger experiment in autonomous coding ('The Sentient Stack'), but this tool is standalone.Code: https://github.com/fabriziosalmi/trinity
Tech stack: Python, Playwright, PyTorch. Would love your feedback on the healing logic." |
|