frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•1y ago
Hi HN,

We’re Chonkie (https://github.com/chonkie-inc/chonkie) — we build open source tools that help split documents into meaningful chunks for use with AI models.

When you use LLMs over large documents or codebases, you often need to break them into smaller parts to fit the model’s context window. Our chunkers do this in a smart way: they preserve structure and meaning, so only the most relevant pieces are passed into the model. This reduces hallucinations, avoids confusion, and improves performance and accuracy.

Today we’re launching our Code Chunker — a fast, structure-aware way to break down source code into high-quality, token-aware chunks.

How it works:

(See the code: https://github.com/chonkie-inc/chonkie/blob/main/src/chonkie...)

Code Chunker uses tree-sitter (https://tree-sitter.github.io/tree-sitter/) to parse your code into an abstract syntax tree (AST). It then recursively merges and groups nodes in a way that respects both code structure and token limits.

It supports all languages that tree-sitter supports, and is designed to preserve formatting and semantics. Large functions or class definitions won’t be split in the middle of a block — instead, we dive recursively into the AST to produce clean, coherent chunks that fit your configured token budget.

What it’s useful for:

  - Embedding-based code search

  - RAG (retrieval-augmented generation) over codebases

  - Long-context analysis of code

  - Preparing repos for fine-tuning or pretraining
Try it out:

  - Open source package: https://docs.chonkie.ai/chunkers/code-chunker

  - Hosted playground (free with account): https://cloud.chonkie.ai
Happy Chonking!

U-Space: Uncovering When and Why Uncertainty Arises in Language Models

https://s2lab.org/U-Space/
1•t_brx•12s ago•0 comments

I'm still around.. I'm just not writing here

https://rachelbythebay.com/w/2026/10/08/idle/
1•janvdberg•57s ago•0 comments

Show HN: PDF/ePub reader where you ask AI and each answer links to the passage

https://marginal-ia.app/en
1•folio_j•1m ago•0 comments

Ross Douthat: I'm Writing a Column for the Free Press

https://www.thefp.com/p/ross-douthat-new-columnist-the-free-press
1•paulpauper•1m ago•0 comments

AI Could End Encryption as We Know It

https://ai-frontiers.org/articles/ai-could-end-encryption-as-we-know-it
1•paulpauper•2m ago•0 comments

What mathematicians should know about the Lean Theorem Prover: reliability & AI

https://terrytao.wordpress.com/2026/10/09/what-mathematicians-should-know-about-the-lean-theorem-...
1•matt_d•2m ago•0 comments

Remember Orkut? Its founder wants to bring it back

https://techcrunch.com/2026/10/09/remember-orkut-its-founder-wants-to-bring-it-back/
1•ulrischa•2m ago•0 comments

Jasmin: A language for high-assurance and high-speed cryptography

https://github.com/jasmin-lang/jasmin
1•fanf2•2m ago•0 comments

The Rise and Fall of the Plasma Screen

https://www.construction-physics.com/p/the-rise-and-fall-of-the-plasma-screen
1•paulpauper•2m ago•0 comments

THX-01: An Open-Source Decision Model That Runs on Your Phone and Beats Jev

https://doofz.substack.com/p/introducing-thx-01-an-open-source
1•lebagetdefrance•3m ago•0 comments

Rare internal memos and forgotten books from tech history

https://readrare.com/
1•miletus•4m ago•1 comments

CXMT's covert campaign to obtain Samsung tech by any means necessary

https://www.koreajoongangdaily.com/business/blackmail-poaching-and-theftnbspcxmts-covert-campaign...
2•giuliomagnifico•7m ago•0 comments

Scam American companies are using to manipulate ingredient gets listed first

https://twitter.com/WallStreetApes/status/2108594998656807078
3•bilsbie•8m ago•0 comments

A tale of four theorem provers

https://blueberrywren.dev/blog/primes/
1•whwhyb•9m ago•0 comments

Trade Direction in Prediction Markets

https://arxiv.org/abs/2610.06412
1•7777777phil•9m ago•0 comments

Show HN: THX-01 – Open- source decision model that runs on phones and beats Jev

https://huggingface.co/doofz/THX-01
1•lebagetdefrance•9m ago•0 comments

Hacker News AI Hype Trends: 2022 – Present

https://www.alwaysleaveanote.com/hacker-news/ai-trends/
1•xnx•11m ago•0 comments

In Memory of Deno

https://orgsoft.org/blog/in-memory-of-deno
1•mattvr•11m ago•0 comments

Scott and Scurvy (2010)

https://idlewords.com/2010/03/scott_and_scurvy.htm
1•rafaelc•11m ago•0 comments

All practical general use firewalls are porous now for inbound traffic

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/FirewallsArePorousNow
1•aray07•11m ago•0 comments

Show HN: RemainderBot - spends leftover Claude/Codex quota on reviewable PRs

https://github.com/arimwilson/openremainderbot
1•ariwilson•12m ago•0 comments

Tales from the Lunar Module Guidance Computer (2004)

https://www.doneyles.com/LM/Tales.html
1•aray07•12m ago•0 comments

Aircooling My iPhone for Privacy

https://romanzipp.com/blog/aircooling-my-iphone-for-privacy
2•romanzipp•14m ago•0 comments

How Oracle turns days of work into minutes with ChatGPT and Codex

https://openai.com/index/oracle/
1•tosh•16m ago•0 comments

Canto incognito: tracking the PoeLLM malware

https://www.lumen.com/blog/en-us/canto-incognito-tracking-the-poellm-malware
1•simonpure•16m ago•0 comments

How Go maps work internally: Swiss tables

https://www.youtube.com/watch?v=TdtNViWk45I
1•valyala•17m ago•0 comments

Python 3.15 Released

https://lwn.net/Articles/1099602/
2•hn3ufz62f7•17m ago•1 comments

Show HN: Glimpse – Find any screenshot on Windows by its text or how it looks

https://github.com/cgranier/glimpse
1•cgranier•17m ago•0 comments

China, EU strike deal to halve Chinese hybrid exports

https://www.reuters.com/world/china/china-eu-reach-hybrid-vehicle-trade-understanding-keep-talks-...
1•geox•20m ago•0 comments

Two Futures for LLMs in Mathematics

https://wiredream.com/llm-two-futures/
2•dgacmu•20m ago•0 comments