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 Four Horsemen of Agentic Coding

https://distantprovince.substack.com/p/the-four-horsemen-of-agentic-coding
1•haute_cuisine•33s ago•0 comments

Mozilla shutting down Solo AI website creator

https://support.soloist.ai/doc/solo-shutdown-faq
1•nedrylandJP•1m ago•0 comments

Dutch women, girls filmed with Meta glasses on creep sites

https://nltimes.nl/2026/10/01/hundreds-dutch-women-girls-filmed-meta-glasses-creep-sites-lawsuit-...
1•Betelbuddy•1m ago•0 comments

The 7-year-old Nvidia Shield TV is now $100 more expensive thanks to AI

https://arstechnica.com/gadgets/2026/10/the-7-year-old-nvidia-shield-tv-is-now-100-more-expensive...
1•rbanffy•1m ago•0 comments

Ask HN: Why do all LLM interfaces look the same?

1•grendelt•1m ago•0 comments

A functional taxonomy for LLM inference in agentic tasks

https://jeffauriemma.leaflet.pub/3mv6jnffo6k24
1•jdauriemma•2m ago•0 comments

AI Makes Me Sad

https://mondobe.com/ai-makes-me-sad
1•mondobe•2m ago•0 comments

Knowledge platform powered by agents demonstration

https://github.com/rajatrao/ai-knowledge-platform
1•raorajat007•2m ago•0 comments

AI Agents Are Vulnerable to Radicalization

https://arxiv.org/abs/2609.38296
1•Anon84•3m ago•0 comments

What Dots Choose: OpenAI's Agent Has a Stack

https://amplifying.ai/research/openai-dots-choose
1•thestackfox•3m ago•0 comments

NetApp Closes Office in Reykjavík – Lays off 64 workers

https://www.visir.is/g/20262941186d/a-attunda-tug-starfs-manna-netapp-sagt-upp
1•runarberg•3m ago•0 comments

GymTagOps – From "something's wrong" to "taken care of."

https://gymtagops.com/
1•nookeshkarri7•4m ago•0 comments

Show colleagues how much you care by sending AI avatar to your Google Meet call

https://www.theregister.com/ai-and-ml/2026/09/30/show-colleagues-how-much-you-care-by-sending-an-...
1•vismit2000•4m ago•0 comments

Driverless Cab Is Spying on You

https://www.wired.com/story/when-the-robotaxis-are-watching-you/
1•Brajeshwar•4m ago•0 comments

Fossil shows dinosaurs' distinctive path to flight

https://www.nature.com/articles/d41586-026-03126-8
1•Brajeshwar•5m ago•0 comments

Jev Is Poorly Calibrated

https://maximumeffort.substack.com/p/jev-is-poorly-calibrated
1•dblack12705•7m ago•0 comments

Apedia – a personal course for anything, built around why you learn

https://apedia.study
1•agustinzago•8m ago•0 comments

Interview with Liam Quin

https://www.gimp.org/news/2026/10/01/liam-quin-interview-lgm2017/
1•ibobev•8m ago•0 comments

Transition Off of Digital Ocean – Node.js

https://github.com/nodejs/build/issues/4499
1•MattIPv4•8m ago•1 comments

Fires lit on streets across France as student force schools to close

https://www.bbc.co.uk/news/live/cmx2z20vz124t
1•FridayoLeary•11m ago•0 comments

Sea Monkeys Show Scientists How to Rewrite a Rule of Turbulence

https://www.quantamagazine.org/sea-monkeys-show-scientists-how-to-rewrite-a-rule-of-turbulence-20...
1•ibobev•11m ago•0 comments

Fallbacks for CSS `Progress()`

https://blog.master.dev/fallbacks-for-css-progress/
1•ibobev•11m ago•0 comments

Murata: Smallest 0201-Inch Size Three-Terminal Low-ESL MLCCs

https://www.murata.com/en-us/news/capacitor/ceramiccapacitor/2026/0930
1•o4c•11m ago•0 comments

Nobody Is Pacing the Frontier

https://static.philippdubach.com/newsletter/newsletter-2026-09.html
2•7777777phil•13m ago•0 comments

Show HN: Classican - Classical music to improve focus and productivity

https://classican.vercel.app/
1•jaequery•13m ago•0 comments

New in Llama.cpp: Decision Models

https://huggingface.co/blog/ggml-org/decision-models-in-llamacpp
1•cuvinny•14m ago•0 comments

Show HN: Ito – streaming neural TTS for the ESP32-S3 (4.9 MB, no NPU, no cloud)

https://github.com/lokutor-ai/ito
1•dani-lokutor•15m ago•0 comments

A container is just a process

https://ochagavia.nl/blog/a-container-is-just-a-process/
1•wofo•17m ago•0 comments

Show HN: Bloby – Clippy on Steroids Chrome Extension Using Chrome AI and Ollama

https://chromewebstore.google.com/detail/bloby/afmebijmdlfldmndinggmjdjmhjjhhcd
2•evgy•18m ago•0 comments

Embrace the Glitch: The Andapos;404 Motivation Not Found Sloth&Apos; Organic

https://ddsboston.com/blogs/news/embrace-the-glitch-the-404-motivation-not-found-sloth-organic-co...
1•robert_dds•18m ago•0 comments