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!

Deriving neural scaling laws from the statistics of natural language

https://arxiv.org/abs/2602.07488
1•sharma-arjun•40s ago•0 comments

The LLMs Yearn for the Spines

https://buttondown.com/hillelwayne/archive/the-llms-yearn-for-the-spines/
1•BerislavLopac•5m ago•0 comments

Lattice Prompt brings AI agents into the full FPGA design flow via MCP

https://www.businesswire.com/news/home/20260916317324/en/Lattice-Advances-FPGA-Design-with-New-Le...
1•fourfire•9m ago•0 comments

Semantics for 2D Rasterization

https://arxiv.org/abs/2603.23696
1•matt_d•10m ago•0 comments

Device Bound Session Credentials in Asp.net Core

https://blog.maartenballiauw.be/posts/2026-09-16-device-bound-session-credentials-in-aspnet-core/
1•GordonS•14m ago•0 comments

Embeddable Interactive Avatars

https://www.synthesia.io/features/avatars/interactive-avatars
1•rdougl•15m ago•0 comments

The paradox of AI automation at the workplace

1•chemtrail68•16m ago•0 comments

I didn't sign the Fields medallists' letter

https://gowers.wordpress.com/2026/09/17/why-i-didnt-sign-the-fields-medallists-letter/
3•simianwords•17m ago•0 comments

Artificial Analysis Capability Indices v1.1

https://artificialanalysis.ai/articles/artificial-analysis-capability-indices-v1-1
1•wertyk•17m ago•0 comments

Show HN: AskMe – answers repetitive support questions

https://ask-me.studio/en/
1•MicheleLacorte•22m ago•0 comments

Automattic execs signed reciprocal severance deals in Mullenweg absence

https://techcrunch.com/2026/09/16/automattics-interim-ceo-and-legal-chief-signed-reciprocal-sever...
6•docdeek•23m ago•0 comments

Ask HN: How do you use AWS AssumeRole?

1•yjs88zerg•26m ago•0 comments

Reckless Expansion Plans Blow Past European Airports Carbon Limits

https://cleantechnica.com/2026/09/16/reckless-expansion-plans-blow-past-european-airports-carbon-...
1•gumby•30m ago•0 comments

What Is a Docker Container?

https://freipaul.com/posts/what-actually-is-a-docker-container
2•PHr15•32m ago•0 comments

AI Safety Is Mostly a Sex Cult

https://skywriter.blue/@segyges.bsky.social/3mvom4b4dn22q
17•Tomte•32m ago•1 comments

Stress at work linked to erectile dysfunction, even in younger men

https://www.scimex.org/newsfeed/stress-at-work-linked-to-erectile-dysfunction-even-in-younger-men
2•giuliomagnifico•40m ago•1 comments

Show HN: Airy TTS – 2K characters/second, $2 per 1M characters

https://airy.so/home
2•login588•40m ago•0 comments

Epstein had cache of child sex pics; victims sue to find out who's in them

https://arstechnica.com/tech-policy/2026/09/lawsuit-trump-doj-notified-very-few-victims-in-epstei...
3•rbanffy•41m ago•0 comments

GLM Built Its Own Inference Infrastructure

https://z.ai/blog/glm-built-its-inference-infrastructure
2•whiteros_e•41m ago•0 comments

Nobody Encrypts Container Images

https://bschaatsbergen.com/posts/nobody-encrypts-container-images/
5•bschaatsbergen•42m ago•0 comments

Jev Is the Missing Piece in Production AI Systems

https://blog.nimendra.xyz/blog/jev-decision-layer-for-production-ai/
1•nmdra•47m ago•0 comments

Release of CmdStan 2.40

https://blog.mc-stan.org/2026/09/16/release-of-cmdstan-2-40/
1•Tomte•49m ago•0 comments

Backup Exec

https://en.wikipedia.org/wiki/Backup_Exec
1•vismit2000•50m ago•0 comments

(Go) Spelunk

https://github.com/detro/spelunk
1•detronizator•52m ago•1 comments

One Year of Sponsored Servo Development

https://servo.org/blog/2026/09/15/one-year-of-sponsorship/
32•AshleysBrain•55m ago•4 comments

EpicSemi Contrail AIX RISC-V Servers

https://www.epicsemi.com/products/contrail/compute/contrail-aix/
1•xlmnxp•55m ago•0 comments

Measuring and Exploiting Implicit Trust in LLM Tool-Calling Pipelines

https://arxiv.org/abs/2609.18217
1•sbulaev•1h ago•0 comments

Axiom Knowledge graph: A deterministic search engine

3•project_silenc•1h ago•2 comments

Developer builds 3D code visualizer that takes 21GB RAM shows 2.5M LOC at 120fps

https://www.tomshardware.com/tech-industry/developer-builds-viral-3d-source-code-visualizer-that-...
1•thunderbong•1h ago•0 comments

CCC invites all model citizens to 40C3

https://events.ccc.de/en/2026/09/12/40c3-model-citizens/
4•antonly•1h ago•0 comments