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!

Making of the Meat Proxy

https://yeikoff.xyz/blog/11-28-2026-making-meat-proxy/
1•iglesiastj•55s ago•0 comments

iPhone users are getting hacked

2•s_u_d_o•2m ago•0 comments

Grand Theft GTA

https://grandtheftgta.com/
1•raimue•2m ago•0 comments

A neural amp modeller on an ESP32-S3

https://emblent.audio/coyopedal/
2•arbayi•6m ago•0 comments

Show HN: Svelto, a Language-Agnostic Svelte

https://lumiumai.github.io/svelto/
1•hinryd•11m ago•1 comments

GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims

https://malspark.com/blog/malicious-gguf-models-hugging-face/
2•homarp•12m ago•0 comments

Neural Networks and Deep Learning – Book Archive

https://nielsensdeeplearningbook.org/
1•Anon84•13m ago•0 comments

Audible removes download option for purchased audiobooks

https://consumerrights.wiki/w/Audible_removes_download_option_for_purchased_audiobooks
2•DeepLogin•17m ago•0 comments

Is AI About to Break Encryption?

https://deadneurons.substack.com/p/is-ai-about-to-break-encryption
2•nr378•17m ago•0 comments

"No-one was close to solving The Riemann Hypothesis" [video]

https://www.youtube.com/watch?v=FMJrEzK1wz4
1•magoghm•20m ago•0 comments

The cryosphere beyond a planetary safe operating space

https://www.science.org/doi/10.1126/science.aef5636
1•curmudgeon22•21m ago•0 comments

Show HN: Turbotap – Open-Source CLI for AI Agents to Drive an iPhone over Wi-Fi

https://github.com/Maxteabag/turbotap
1•MaxTeabag•21m ago•0 comments

Tesla unveils Powercore medium-voltage power electronics platform

https://www.pv-magazine.com/2026/11/18/exclusive-tesla-unveils-powercore-medium-voltage-power-ele...
1•ksec•22m ago•0 comments

Farewell

https://github.com/p-e-w/heretic/issues/601
48•nolist_policy•26m ago•8 comments

One Platform for Digital Marketing, Links, QR Codes and Engagement – Weely.ai

https://weely.ai/
1•nathan-wilson•29m ago•0 comments

James Maynard on the Riemann Hypothesis

https://www.numberphile.com/videos/james-maynard-on-the-riemann-hypothesis
2•kzrdude•31m ago•0 comments

Frank Force – How I Made a 3D Game in 1KB of JavaScript: Skydreams [video]

https://www.youtube.com/watch?v=rFjkGBYDIP0
2•lifthrasiir•37m ago•0 comments

Show HN: Password Rules Registry

https://www.passrules.fyi/
1•ncihnegn•40m ago•0 comments

Show HN: Accurate Models of Microcontrollers

1•grog_6•42m ago•0 comments

Show HN: Sonic Pi as a VST3/AU plugin – live coding inside your DAW

https://sonic-pi.net/plugin.html
1•samaaron•48m ago•0 comments

How Old Is the Sun?

https://blue-continuum.com/how-old-is-the-sun
1•dnetesn•49m ago•0 comments

Can LLMs redesign themselves as they train?

https://www.doubleai.com/research/can-llms-redesign-themselves-as-they-train
1•NeuralOracle•50m ago•0 comments

macOS download snippets on Node.js.org fail on a clean Mac

https://github.com/nodejs/nodejs.org/issues/9350
1•rxliuli•51m ago•0 comments

Show HN: I built a tool that helps you build cute online cards for your partners

https://www.yourdatingassistant.com/anniversary-calculator
1•HotMonkey•53m ago•0 comments

Apple Nukes Open Minis, Shoots Itself on Foot, Agentic Edition

https://taoofmac.com/space/blog/2026/11/28/1108
2•rcarmo•55m ago•0 comments

Electronic hair: Transforming hair into a scalable bioelectronic interface

https://www.science.org/doi/10.1126/sciadv.aei3615
1•geox•55m ago•0 comments

RiskRift – Web security scanner for small teams powered by uncensored LLMs

https://riskrift.com/
1•LarkaUZ_•55m ago•0 comments

Nvidia Seeded Pirated Books and Shared Them with Adobe, Authors Allege

https://torrentfreak.com/nvidia-seeded-pirated-books-and-shared-them-with-adobe-authors-allege/
1•cisc•56m ago•0 comments

Show HN: Offline Python table extractor for digital and scanned PDFs

https://github.com/vitali84/pdf-to-csv-table-extactor
1•vitali84•56m ago•0 comments

The Age of Intelligence

https://ingram.tech/posts/the-age-of-intelligence
1•scrollaway•1h ago•0 comments