Hacker GitHub

← All repos

toon-format/toon

View on GitHub ↗ ★ 25,596 TypeScript

🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks.

18 mentions on Hacker News by 17 people: 9 stories, 9 comments · first 2025-10-26 · latest 2026-06-18

Mentions per year 18 mentions · busiest year 2025 (9)
20082026
  1. …and I've had a lot of problems with compaction (absent other prompting) losing key bits of state. https://github.com/toon-format/toon is another interesting one, and I feel like it takes on a much more achievable goal - reduce whitespace…
  2. …CLI in the end. Despite building it agent-first, it's helped us get to a better human product. [1] https://github.com/toon-format/toon
    comment by glenngillen · 2026-05-08 · in Principles for agent-native CLIs
  3. …conscious work is becoming more and more relevant.. Look at https://github.com/AgusRdz/chop And https://github.com/toon-format/toon
    comment by reacharavindh · 2026-04-16 · in Claude Opus 4.7
  4. …just shipped TOON (Token-Oriented Object Notation) compression. TOON is an open format (not ours): https://github.com/toon-format/toon It converts JSON like this: {"id": "cust_001", "name": "Acme", "mrr": 15000} Into: id: cust_001 name:…
  5. …overhead and syntax complexity, even if it's well represented. This is the instinct behind, e.g. https://github.com/toon-format/toon , a json alternative format. They test LLM accuracy with the format against JSON, (and are generally…
  6. Yes, that's the purpose of TOON. https://github.com/toon-format/toon
    comment by marquesine · 2026-01-16 · in LLM Structured Outputs Handbook
  7. I don't know if you've seen this: https://github.com/toon-format/toon
    comment by ModernMech · 2025-11-15 · in Designing a Language (2017)
  8. I think they're talking about these sections: 1. Retrieval Accuracy - https://github.com/johannschopplich/toon?tab=readme-ov-file#... 2. Performance by dataset - https://github.com/johannschopplich/toon?tab=readme-ov-file#...
  9. …most LLM, as they would JSON. So benchmarks on, say, data processing tasks, would be warranted. [0] https://github.com/johannschopplich/toon?tab=readme-ov-file#...