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!

OpenAI DevDay Recap – what's new

https://openai.com/pl-PL/index/devday-2026-recap/
1•nvmdbljstm•3m ago•1 comments

Show HN: Kguardian – seccomp profiles and NetworkPolicies from eBPF traces

https://github.com/kguardian-dev/kguardian
1•mrayas•4m ago•0 comments

Doing a Machine Learning PhD While Working in Japan

https://www.tokyodev.com/articles/doing-a-machine-learning-phd-while-working-in-japan
1•pwim•6m ago•0 comments

The Rise of Unreviewed Drafts on ArXiv and Its Implications for Astronomy

https://arxiv.org/abs/2609.35787
1•50kIters•7m ago•0 comments

Why Is Sam Altman a Free Man?

https://prospect.org/2026/09/29/artificial-intelligence-agents-openai-microsoft-sam-altman-greg-b...
2•ragall•7m ago•1 comments

Minecraft Modded into Elden Ring on Mac

https://twitter.com/TobynJacobs/status/2104884843297599594
1•joegibbs•9m ago•0 comments

Atrocious AI-Written Tests

https://gruhn.me/blog/2026-09-29/
1•ngruhn•10m ago•0 comments

Lost Dinosaur Cities on Mars

https://mceglowski.substack.com/p/lost-dinosaur-cities-on-mars
1•majkinetor•11m ago•0 comments

Listen to your users, oops, the Redditors

https://www.incredible.rs/blog/listen-to-the-redditors.html
1•incrediblers•15m ago•0 comments

Compliance dossier generator that fails the release gate instead of faking it

https://opencomplai.com/blog/compliance-tool-that-fails-the-build
1•ythouma•18m ago•0 comments

NASA has a Dragon dilemma, and there appear to be no good answers

https://arstechnica.com/space/2026/09/nasa-has-a-dragon-dilemma-and-there-appear-to-be-no-good-an...
1•kklisura•21m ago•0 comments

Agda Implementors' Meeting Xliii

https://wiki.portal.chalmers.se/agda/Main/AIMXLIII
2•m_j_g•26m ago•0 comments

September 2026: The world today, as seen by one Polish guy

https://tomwojcik.com/posts/2026-09-21/september-2026-the-world-today/
3•marjancek•27m ago•0 comments

Symblicity: Stack-Based Bidirectional Esoteric Language

https://ethan31415.github.io/Symblicity/
2•HeapDweller•27m ago•1 comments

List of Citogenesis Incidents

https://en.wikipedia.org/wiki/Wikipedia:List_of_citogenesis_incidents
1•stymaar•28m ago•0 comments

DeepSeek, Huawei partner on chip programming tools to reduce reliance on Nvidia

https://www.reuters.com/world/asia-pacific/deepseek-partners-with-huawei-develop-chip-programming...
3•GloVin•29m ago•0 comments

Tick, tock, tick, tock Bing (2009)

https://www.vetta.org/2009/12/tick-tock-tick-tock-bing/
1•6bitquant•29m ago•0 comments

Keystone

https://open-vsx.org/extension/Bartholomew/bartholomew-keystone
1•itsub_sa•29m ago•0 comments

Indie app developer accuses Vietnamese builder of copying his app

https://x.com/i/trending/2105190459069084156
1•soltanov•30m ago•0 comments

Ask HN: Any other ChatGPT Pro Subscribers get emailed 62,500 Tokens?

1•wincy•30m ago•2 comments

Show HN: I made my first $150 within 24 hour of launch

1•macsentinel•33m ago•2 comments

Show HN: A small side project for even colour scales

https://colours.viesual.net/
1•vie00001•37m ago•0 comments

Chat is the wrong shape for curiosity, so I made it branch

https://www.echohive.ai/drift
1•echohive42•37m ago•0 comments

AI models keep posting screenshots showing sensitive data from tech companies

https://www.theregister.com/ai-and-ml/2026/09/29/ai-models-keep-posting-screenshots-showing-sensi...
1•Betelbuddy•37m ago•0 comments

Coming Soon: Our 2026 List of Climate Tech Companies to Watch

https://www.technologyreview.com/2026/09/29/1145183/2026-climate-tech-companies-to-watch-preview/
1•joozio•38m ago•0 comments

ChatGPT's new plan costs $500 a month

https://www.businessinsider.com/chatgpt-new-plan-pro-500-cost-compute-allowance-2026-9
2•giosch•39m ago•0 comments

GLM 5.3 flash on AMD GPUs 670 tok/s

https://twitter.com/runinfrai/status/2105186912634057086
2•OsamaJaber•42m ago•0 comments

Long-term nuclear waste warning messages

https://en.wikipedia.org/wiki/Long-term_nuclear_waste_warning_messages
1•johnnyApplePRNG•44m ago•0 comments

Leela Chess Zero – Self-Learning Neural Network

https://lczero.org/
1•modinfo•45m ago•0 comments

Operational HPC lessons learnt training the Tessera geospatial foundation models [pdf]

https://www.cl.cam.ac.uk/~avsm2/tessera-hpc-report-20260922.pdf
1•matt_d•50m ago•0 comments