frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Structural color can now be printed with an inkjet printer

https://www.kobe-u.ac.jp/en/news/article/20260406-67657/
1•geox•18s ago•0 comments

Show HN: Ec – terminal native 3-way Git mergetool

https://github.com/chojs23/ec
3•neozz•1m ago•0 comments

Uber: Why Our Sense of Convenience Comes Always at the Expense of Others

https://medium.com/@Katja_Diehl/uber-bolt-co-4f64b2812ed8
1•doener•1m ago•0 comments

Real-time poker engine with emotion-driven AI bots

https://oxyklon.net/portal
1•naydref•1m ago•0 comments

New Chrome Extension lets you see what LLMs you can run on your hardware

https://chromewebstore.google.com/detail/run-this-llm/dginneocahmfpflnpcigakjggipmfhhg
1•eeko_systems•4m ago•0 comments

Show HN: I turned ARC-AGI-3 into a daily browser game

https://arcaptcha.io/
1•preyneyv•5m ago•0 comments

Software Engineering Is Becoming Civil Engineering

https://christophermeiklejohn.com/ai/engineering/2026/04/01/software-engineering-is-becoming-civi...
1•mooreds•5m ago•0 comments

NASA Elements of Engineering Excellence

https://vickiboykis.com/2026/04/05/nasa-elements-of-engineering-excellence/
1•mooreds•6m ago•0 comments

OpenSim – Open-Source Flight Simulation Engine

https://ghtomcat.github.io/opensim/
1•carlos-menezes•6m ago•0 comments

Was Trump oblivious to the realities of Netanyahu's promised 'easy' war on Iran?

https://www.theguardian.com/world/2026/apr/06/trump-iran-war-netanyahu-israel
4•hebelehubele•7m ago•0 comments

Show HN: I made a crossword app for language learners

https://cranki.app/
3•petargyurov•11m ago•0 comments

EU Data Protection Group Report on Legitimate Interest Under GDPR [pdf]

https://www.edpb.europa.eu/system/files/2026-03/spe-oss-case-digest-legitimate-interest_en.pdf
2•dryadin•11m ago•0 comments

In the Atmosphere

https://macwright.com/2026/04/05/in-the-atmosphere
1•Kye•14m ago•0 comments

Show HN: Yapit – PDF and webpage reader with TTS that doesn't suck

https://github.com/yapit-tts/yapit
1•MaxWolf-01•14m ago•0 comments

The Job Search Guide- AI Edition with Eliza Cabrera

https://technicalintegrity.com/technical-integrity-blog/revisiting-the-ultimate-job-search-guide-...
1•mooreds•14m ago•0 comments

Canon lenses help create the eye of MOTHRA

https://m.dpreview.com/articles/7253889286/canon-lenses-help-create-the-eye-of-mothra
1•PaulHoule•15m ago•0 comments

It's Called Silicon Sampling, and It's Going to Ruin Public Opinion Polling

https://www.nytimes.com/2026/04/06/opinion/ai-polling.html
2•ancaster•17m ago•0 comments

Give Your Agents Jobs, Not Processes

https://geoffstearns.com/blog/give-your-agents-jobs-not-processes/
2•tensafefrogs•18m ago•0 comments

Automated Linux Kernel CVE Detection for the EU CRA (Cyber Resilience Act)

https://hardenedlinux.org/blog/2026-04-06-closing-the-kernel-backport-gap-automated-cve-detection...
1•hardenedlinux•22m ago•0 comments

Migrating RTLS reporting to ClickHouse for 5x faster movement audits

https://navigine.com/blog/navigine-spring-update-2026/
1•SmartDS•24m ago•0 comments

I built as elf healing semantic layer for any AI agent tool

https://github.com/kwstx/engram_translator
2•kwstx•24m ago•1 comments

NASA Shares Photos Shot on iPhone 17 Pro Max During Artemis II Mission

https://www.macrumors.com/2026/04/05/nasa-artemis-ii-photos-shot-on-iphone-17-pro-max/
1•nalekberov•24m ago•0 comments

New Advances Bring the Era of Quantum Computers Closer

https://www.quantamagazine.org/new-advances-bring-the-era-of-quantum-computers-closer-than-ever-2...
1•ibobev•27m ago•0 comments

1SubML: Plan vs. Reality

https://blog.polybdenum.com/2026/04/05/1subml-plan-vs-reality.html
1•ibobev•27m ago•0 comments

Some Subtleties When Parsing 6502 Assembly Language

https://bumbershootsoft.wordpress.com/2026/04/04/some-subtleties-when-parsing-6502-assembly-langu...
3•ibobev•28m ago•0 comments

New library to convert HTML => pdf and dxf (using getBoxQuads for help)

https://github.com/node-projects/layout2vector
1•jogibear9988•29m ago•0 comments

Fooling Go's X.509 Certificate Verification

https://danielmangum.com/posts/fooling-go-x509-certificate-verification/
1•hasheddan•29m ago•0 comments

Ollama and OpenClaw

https://docs.ollama.com/integrations/openclaw
2•zlu•30m ago•0 comments

Former Azure Engineer Alleges Manual Fixes, Firefighting Threaten Reliability

https://windowsnews.ai/article/former-azure-engineer-alleges-manual-fixes-firefighting-culture-th...
1•sylvainkalache•32m ago•0 comments

Ask HN: How do systems (or people) detect when a text is written by an LLM

8•elC0mpa•39m ago•2 comments