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!

The Exhaustion of Making Decisions

https://velocitycurve.substack.com/p/the-exhaustion-of-making-decisions
1•mooreds•5m ago•0 comments

Ran IPTables Flush? How to Regain SSH Access After Being Locked Out of CS (2020)

https://blog.centminmod.com/2020/11/21/2090/regain-ssh-access-after-being-locked-out-by-iptables-...
1•zenincognito•6m ago•0 comments

Pre-training is (still) not plateauing

https://sebastianraschka.com/blog/2026/pretraining-is-still-not-plateauing.html
3•ModelForge•6m ago•0 comments

The new set of problems for engineers to solve

https://www.katelynlesse.com/blog/new-problems-for-engineers-to-solve
1•ot•7m ago•0 comments

Want Better Kids? Put Up Your Feet

https://www.nytimes.com/2026/11/22/opinion/better-kids-work-less-parents.html
1•mooreds•7m ago•0 comments

Arizona grandfather hailed as a hero after finding missing toddler in desert

https://www.theguardian.com/us-news/2026/nov/22/arizona-grandfather-toddler-missing-desert
2•hackernj•8m ago•0 comments

How to Implement AI with .NET

https://belitsoft.com/net-development-services/pdf-to-video-ai-converter
1•customllm•10m ago•1 comments

Why the Soviet GitHub Failed [video]

https://www.youtube.com/watch?v=CIFWlxQrl88
1•wmchen•16m ago•0 comments

Ask HN: If you played GTA6 what did you like and didn't like about it?

1•illidan1000•16m ago•0 comments

Looking for the Formula to Stop an Apocalypse

https://www.nytimes.com/2026/11/22/magazine/looking-for-the-formula-to-stop-an-apocalypse.html
1•d4ft•17m ago•0 comments

Agentic Threat Activity Crosses a Significant Threshold

https://cloud.google.com/blog/topics/threat-intelligence/agentic-threat-activity-crosses-a-signif...
1•mooreds•19m ago•0 comments

Limitations of formal verification and the LEAN proof of RH

https://tagide.com/blog/research/formal-verification-is-not-the-silver-bullet/
1•rvprasad•20m ago•1 comments

Show HN:Trix - A terminal workspace that shows which coding agent needs you

https://trixapp.ai/
2•leofle•21m ago•0 comments

Agent Session Insights

https://github.com/markrussinovich/agent-session-insights
1•qainsights•22m ago•0 comments

The Largest Economies vs. GDP per Capita

https://www.reddit.com/user/Samantha-Griffin/comments/1y3315o/the_worlds_largest_economies_vs_gdp...
2•madihaa•22m ago•0 comments

My Nix Config Is Intimate

https://www.scd31.com/posts/nix-files-are-intimate
1•birdculture•25m ago•0 comments

The deadliest poison known to AI

https://iocaine.madhouse-project.org/
1•serhack_•27m ago•0 comments

The Web Is Dead in GTA 6: 'It Didn't Feel Necessary for Us'

https://kotaku.com/no-websites-in-gta-6-vice-city-rockstar-rob-nelson-interview-2000757890
1•bookofjoe•28m ago•0 comments

Delta flights faced brief delays at Atlanta airport over automated system issue

https://www.reuters.com/business/aerospace-defense/delta-flights-faced-brief-delays-at-atlanta-ai...
1•wslh•28m ago•0 comments

Arduino UNO Q board helps you do more for less [video]

https://www.youtube.com/watch?v=GFGZb-d5PAg
1•teleforce•29m ago•0 comments

Trump wants to cap credit card interest rates at 10%

https://www.foxcarolina.com/2026/11/22/trump-vows-work-with-democrats-cap-credit-card-interest-ra...
1•madihaa•29m ago•2 comments

Illiterate Programming

https://deadsimpletech.com/blog/illiterate-programming
1•lexicality•29m ago•0 comments

Show HN: Pi-protokoll – Per-turn protocols for fast compaction in Pi

https://github.com/sebion7125/pi-protokoll
1•sebion7125•30m ago•1 comments

Agentics: It's never been easier to build a RollerCoaster Tycoon

https://12gramsofcarbon.com/p/agentics-its-never-been-easier-to
1•QuantumNomad_•33m ago•0 comments

"IDEs kind of faded away" – Nadella on VS Studio, as Claude Code takes the lead

https://www.windowslatest.com/2026/11/23/the-thing-that-hit-us-satya-nadella-admits-vs-code-faded...
1•nutellathekille•36m ago•1 comments

It will soon be too late to regulate use of autonomous weapons, warns Red Cross

https://www.theguardian.com/science/2026/nov/22/red-cross-warns-too-late-regulate-autonomous-weap...
3•sandebert•36m ago•0 comments

Progress map for the Lean formalization of Alessandro Masullo's manuscript

https://claude.ai/artifact/CtQyX8qfYAF822bgHJHHE3
60•Qision•37m ago•14 comments

Economic Impact of Big Tech Platforms on the Viability of Local Broadcast News (2021) [pdf]

https://www.nab.org/documents/newsRoom/pdfs/Economic_Impact_Tech_Platforms_Broadcast_News.pdf
1•1vuio0pswjnm7•38m ago•0 comments

GL.iNet Security Notice 2026-11-20

https://www.gl-inet.com/en-us/blogs/blog/glinet-security-notice-2026-11-20
24•gregsadetsky•43m ago•7 comments

Snippai – AI snipping tool: screenshots to LaTeX, Markdown, answers

https://github.com/xyTom/snippai
1•snippai_dev•43m ago•0 comments