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!

Terminal bench 2.1: Same score, 16% cheaper run Lemoncrow

https://hub.harborframework.com/jobs/47e1713b-cad9-4715-a9e7-ca71ff202ba7
1•pankaj4u4m•6m ago•1 comments

Just brute force your embeddings

https://softwaredoug.com/blog/2026/07/29/just-brute-force-embeddings
1•softwaredoug•7m ago•0 comments

Show HN: Replicant Space – an HTTP API-based game based on the Bobiverse books

https://replicant.space/
1•mercutio•8m ago•0 comments

GCC to Decline Any Significant Contributions Made via AI/LLMs – Except for Tests

https://www.phoronix.com/news/GCC-Declining-AI-Contributions
1•Bender•9m ago•0 comments

A funny prediction (little bird)

https://reporteri.net/en/NEWS/boat/Record-fuel-prices-in-Germany--a-liter-of-diesel-at-some-pumps...
1•trilogic•12m ago•1 comments

The load-bearing smoking gun

https://aloutfi.com/writing/load-bearing-smoking-gun
2•garo-pro•13m ago•0 comments

Blick Video Editor

https://blickeditor.com/
2•dsego•13m ago•0 comments

Running Wayland, X11, Gnome, and KDE Natively on an iPad

https://maxleiter.com/blog/xios
3•MaxLeiter•15m ago•0 comments

PyWeMo: Python 3 module to setup, discover and control WeMo devices

https://github.com/pywemo/pywemo
1•rahimnathwani•16m ago•0 comments

Anatomy of a frontier-lab agent intrusion

https://huggingface-anatomy-of-frontier-lab-model-intrusion.static.hf.space/index.html
1•taubek•16m ago•0 comments

Show HN: Data structures as containers – sample chapter from my Big O book [pdf]

https://thebigobook.com/downloads/data-structures-sample-chapter.pdf
1•rcavezza•17m ago•0 comments

OpenAI's HuggingFace Hack Reconstitution

https://github.com/lovasoa/hf-ctf
1•lovasoa•17m ago•0 comments

There are no heroes in commercial AI

https://garymarcus.substack.com/p/there-are-no-heroes-in-commercial
1•petethomas•21m ago•0 comments

Meta shares fall as frustration grows over AI spending plans

https://www.bbc.com/news/articles/ckgd31l5yrdo
2•tartoran•23m ago•0 comments

SpringBreak – Root code execution on Amazon Kindles

https://penguins184.xyz/blog/springbreak-jailbreak/
1•Topology1•23m ago•0 comments

Copirate 365: Plundering in the Depths of Microsoft Copilot (CVE-2026-24299)

https://embracethered.com/blog/posts/2026/defcon-talk-copirate-365/
2•wunderwuzzi23•28m ago•0 comments

Japan unveils 'human refrigerator' to combat extreme summer heat

https://www.globalsouthworld.com/article/japan-unveils-human-refrigerator-to-combat-extreme-summe...
3•decimalenough•28m ago•0 comments

Show HN: AI Security Leaderboard – comparing cyber and CBRN safeguards

https://leaderboard.far.ai/
3•AdamGleave•31m ago•0 comments

Engineers have stopped reviewing PRs

https://aq.dev/guides/how-to-review-an-ai-coding-session/
4•knighthacker•34m ago•0 comments

Husk – a desktop workspace for terminal AI agents

https://github.com/DorShaer/Husk
1•DorShaer•36m ago•0 comments

Show HN: Play ROMs inline in your terminal

https://github.com/jhickner/rom
1•jhickner•37m ago•0 comments

NanoClaw and Echo launch agent runtime that secures browsers, tools and libs

https://thenewstack.io/nanoclaw-echo-agent-runtime/
6•four_fifths•38m ago•0 comments

AI's top startups are barely publishing their research

https://www.science.org/content/article/ai-s-top-startups-are-barely-publishing-their-research
31•YeGoblynQueenne•39m ago•22 comments

A Terrarium iPhone Case That Houses Actual Growing Plants and Moss

https://www.designboom.com/technology/transparent-phone-case-moss-plants-inside-terrarium-daniel-...
2•karakoram•40m ago•0 comments

Casio Moflin

https://www.casio.com/uk/moflin/
5•austinallegro•43m ago•1 comments

Models and theories of lambda calculus (2009)

http://inria.hal.science/inria-00380183v1/document
3•sargstuff•44m ago•0 comments

There is no way to know if an LLM API is manipulating you

https://twitter.com/lafalcemateo/status/2082250304330809738
1•lafalce•46m ago•0 comments

Dr. Dobb's Journal (articles from 1988 – 2009)

https://jacobfilipp.com/thedoctor/
3•slu•47m ago•1 comments

Expansion of Flock Camera Systems Is Leading to More False Positives

https://www.techdirt.com/2026/07/29/expansion-of-flock-camera-systems-is-leading-to-even-more-fal...
4•cdrnsf•49m ago•0 comments

Show HN: Dev-like – turn public engineering practice into agent skills

https://mrbro.dev/dev-like/
1•MarcusRBrown•50m ago•0 comments