News for hackers. Stuff that matters.
Re:Show HN: Min.js style compression of tech docs for LLM co... by gk1 on Thursday May 15, 2025 @10:36AM (#43995539)
92% reduction is amazing. I often write product marketing materials for devtool companies and load llms.txt into whatever AI I’m using to get accurate details and even example code snippets. But that instantly adds 60k+ tokens which, at least in Google AI Studio, annoyingly slows things down. I’ll be trying this.

Edit: After a longer look, this needs more polish. In addition to key question raised by someone else about quality, there are signs of rushed work here. For example the critical llm_min_guideline.md file, which tells the LLM how to interpret the compressed version, was lazily copy-pasted from an LLM response without even removing the LLM's commentary:

"You are absolutely right! My apologies. I was focused on refining the detail of each section and overlooked that key change in your pipeline: the Glossary (G) section is no longer part of the final file..."

Doesn't exactly instill confidence.

Really nice idea. I hope you keep going with this as it would be a very useful utility.

Re:Show HN: Min.js style compression of tech docs for LLM co... by marv1nnnnn on Thursday May 15, 2025 @11:40AM (#43996185)
Oof, you nailed it. Thanks for the sharp eyes on llm_min_guideline.md. That's a clear sign of me pushing this out too quickly to get feedback on the core concept, and I didn't give the supporting docs the attention they deserve. My bad. Cleaning that up, and generally adding more polish, is a top priority. Really appreciate you taking the time to look deeper and for the encouragement to keep going. It's very helpful!
Re:Show HN: Min.js style compression of tech docs for LLM co... by ricardobeat on Thursday May 15, 2025 @06:23PM (#43999971)
Wait, are you also using an LLM to respond on Hacker News?
Re:Show HN: Min.js style compression of tech docs for LLM co... by marv1nnnnn on Thursday May 15, 2025 @09:25PM (#44000994)
haha, is it that obvious? I only let LLM polished this one. I am not native speaker and I was trying to be polite ^-^
Re:Show HN: Min.js style compression of tech docs for LLM co... by marci on Friday May 16, 2025 @06:00AM (#44003543)
Damn... I saw your sentence starting with "Wait', and immediately thought "reasonning llm?"