frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•8mo 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!

Your Dog Might Be Eavesdropping on You

https://www.scientificamerican.com/article/some-dogs-learn-new-words-just-like-toddlers-do/
1•sohkamyung•4m ago•0 comments

Novel AI Method Sharpens 3D X-ray Vision

https://www.bnl.gov/newsroom/news.php?a=222627
1•cl3misch•6m ago•0 comments

Show HN: Where do my taxes go in Berlin? A personal receipt generator

https://berlin-bill.eamag.me
1•eamag•7m ago•0 comments

39C3 – Cracking Open What Makes Apple's Low-Latency WiFi So Fast [video]

https://media.ccc.de/v/39c3-cracking-open-what-makes-apple-s-low-latency-wifi-so-fast
1•amanverasia•8m ago•0 comments

Tik-Tok (Novel)

https://en.wikipedia.org/wiki/Tik-Tok_(novel)
1•firebaze•8m ago•0 comments

Pentagon is embracing Grok AI chatbot as it draws global outcry

https://apnews.com/article/artificial-intelligence-pentagon-hegseth-musk-7f99e5f32ec70d7e39cec92d...
1•geox•12m ago•1 comments

Show HN: Nametag – open-source personal relationships manager

https://nametag.one/
1•mattogodoy•13m ago•0 comments

European firms hit hiring brakes over AI and slowing growth

https://www.dw.com/en/european-eurozone-job-labor-market-unemployment-company-hiring-practice-cov...
1•smurda•14m ago•0 comments

Rewiring Mozilla: Doing for AI what we did for the web

https://blog.mozilla.org/en/mozilla/rewiring-mozilla-ai-and-web/
1•nalinidash•16m ago•0 comments

AI, AI Everywhere

1•okokwhatever•18m ago•0 comments

Physicians see 1 in 6 patients as 'difficult,' study finds

https://www.beckershospitalreview.com/patient-experience/physicians-see-1-in-6-patients-as-diffic...
1•Growtika•19m ago•1 comments

International central bankers stand in full solidarity with Powell

https://www.ecb.europa.eu/press/pr/date/2026/html/ecb.pr260113~ec4630b9fa.en.html
2•throw0101c•19m ago•2 comments

Boundary Enforcement in Code Review

1•mthssalome•21m ago•0 comments

Owners, not renters: Mozilla's open source AI strategy

https://blog.mozilla.org/en/mozilla/mozilla-open-source-ai-strategy/
1•nalinidash•22m ago•0 comments

Show HN: Janus – Anki flashcards from PDFs, videos and notes

https://janus.cards
1•A-F-V16•22m ago•1 comments

$999 RTX 5090 GPU scam claims 42 victims

https://www.tomshardware.com/pc-components/gpus/usd999-rtx-5090-gpu-scam-claims-42-victims-fanny-...
1•croes•23m ago•0 comments

People as Harmonic Oscillators

https://dogdogfish.com/blog/2026/01/13/people-as-oscillators/
2•matthewsharpe3•30m ago•1 comments

Hit squad recruiter for Sweden's Foxtrot criminal network arrested in Iraq

https://www.thenationalnews.com/news/mena/2026/01/13/hit-squad-recruiter-for-swedens-foxtrot-crim...
1•campuscodi•30m ago•0 comments

Show HN: MakersHub.dev – A community platform for people building with AI tools

https://makershub.dev/
1•adilmoujahid•31m ago•0 comments

Show HN: FreeMarker Support for Zed Editor

https://github.com/debba/zed-freemarker
1•debba•32m ago•0 comments

Ask HN: Quantum Computation, Computers and Programming

1•rramadass•34m ago•0 comments

Show HN: Policy-governed AI system for offline deployment in expertise deserts

https://github.com/thepoorsatitagain/Tutor-to-disaster-expert
1•thepoors•35m ago•0 comments

Podshop, the hedge fund game. As seen on Bloomberg's money stuff

https://www.podshop.io
1•WiseHare•35m ago•0 comments

Could Magic Mushrooms Have 'Woken Up' Our Ancestors?

https://thesporereport.com/?p=580
1•richrichardsson•37m ago•0 comments

WebUSB Unpinner: network analysis for the masses

https://reversing.works/posts/2025/12/webusb-unpinner-network-analysis-for-the-masses/
1•chobeat•37m ago•0 comments

Show HN: High-precision mouse polling rate tester

https://mousepollingratetest.com/
1•zylics•40m ago•1 comments

User authorization just got 10x harder

https://leaddev.com/event/user-authorization-just-got-10x-harder
2•mooreds•41m ago•0 comments

Ask HN: Infrastructure teams – what's your biggest compliance headache?

1•coppinfra•43m ago•0 comments

Iran official says 2k people have been killed in unrest

https://www.reuters.com/world/china/iranian-mp-warns-greater-unrest-urging-government-address-gri...
7•JumpCrisscross•43m ago•2 comments

Dullness and Disbelief: The 2026 AI Regression

https://vibesbench.substack.com/p/dullness-and-disbelief-the-2026-ai
2•firasd•44m ago•0 comments