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!

How the scientific community can defend themselves – and our democracy

https://www.ifyoucankeepit.org/p/courage-is-mildly-contagious
1•giuliomagnifico•52s ago•0 comments

The EU's Fine Against X Is Not About Speech or 'Censorship'

https://www.techpolicy.press/the-eus-fine-against-x-is-not-about-speech-or-censorship/
2•saubeidl•1m ago•0 comments

Tygor: Type-safe back end for Go and TypeScript apps

https://github.com/ahimsalabs/tygor
1•todsacerdoti•2m ago•0 comments

Bit-parser – decode and encode compact bitfields into human-readable structures

https://github.com/vitalij555/bit-parser
1•developer4ltu•3m ago•1 comments

Void Phone VX1 promises data privacy Linux hard switch for camera mic and 5G

https://www.notebookcheck.net/Void-Phone-VX1-promises-data-privacy-thanks-to-Linux-hard-switch-fo...
1•_____k•6m ago•0 comments

Show HN: Does Information Density Cause Time Dilation?

1•Jonghwa_Lee•6m ago•0 comments

Chris Rea, rock and blues singer-songwriter, dies aged 74

https://www.theguardian.com/music/2025/dec/22/chris-rea-rock-and-blues-singer-songwriter-dies-age...
1•indigoabstract•7m ago•0 comments

Usefull Items Forsale

https://clone-hosting.s3.ap-south-1.amazonaws.com/page/20901fd81810/index.html
1•MarshallJhon•10m ago•0 comments

OpenStreetMap QA for Power Grids

https://apps.dynartio.com/mapyourgrid/gridinspector.html
1•protontypes•12m ago•0 comments

When Compilers Surprise You

https://xania.org/202512/24-cunning-clang
2•brewmarche•13m ago•0 comments

Evaluating big life choices might be overrated

https://hazn.com/evaluating-big-life-choices
1•hazn•16m ago•1 comments

How I implemented Python JSON library

https://hanqi-blog.com/translation/python_json_english
1•HanQi•17m ago•0 comments

Show HN: Nano Banana – Structured AI prompts for commercial design

https://www.nanobananaimages.com/
1•danielvers•17m ago•0 comments

People Are Paying to Get Their Chatbots High on 'Drugs'

https://www.wired.com/story/people-are-paying-to-get-their-chatbots-high-on-drugs/
1•lovlar•18m ago•0 comments

Sim-to-real in robotics: sources of the reality gap and mitigation techniques

https://scienceclock.com/sim2real-gap-robotics/
2•notthesay•18m ago•0 comments

Why Wormholes Are Making Headlines

http://backreaction.blogspot.com/2025/12/this-is-why-wormholes-are-making.html
1•tsenturk•21m ago•0 comments

Makesite: Simple, lightweight, and magic-free static site/blog generator (2022)

https://github.com/sunainapai/makesite
1•Tomte•21m ago•0 comments

ClickUp Acquires Codegen

https://clickup.com/blog/clickup-codegen-acquisition/
1•dbattaglia•21m ago•0 comments

Show HN: CRD Wizard – A GUI for Kubernetes Custom Resource Definitions

https://github.com/pehlicd/crd-wizard
1•pehli•22m ago•0 comments

Microsoft's Year of Shame

https://www.pcgamer.com/gaming-industry/microsofts-year-of-shame/
1•pera•23m ago•0 comments

Animated LLM – Understand the Mechanics of LLMs

https://animatedllm.github.io/
3•mvac•23m ago•0 comments

AlphaFold and the Rise of the AI Co-Scientist

https://techlife.blog/posts/ai-transforms-scientific-discovery-alphafold-ai-co-scientist/
1•tsenturk•25m ago•0 comments

CS 4400: Programming Language Pragmatics

https://felleisen.org/matthias/4400-f25/index.html
1•danielam•27m ago•0 comments

Ghosts of Christmas Future?

https://www.theguardian.com/commentisfree/picture/2025/dec/23/ella-baron-ai-at-christmas-chatgpt-...
2•Freak_NL•28m ago•0 comments

AI Skills 2025: LangChain, RAG and MLOps–The Complete Guide

https://techlife.blog/posts/ai-skills-2025-langchain-rag-mlops-guide/
1•tsenturk•28m ago•0 comments

Regular Exercise Doesn't Just Strengthen the Heart, It Reprograms Its Nerves

https://scitechdaily.com/regular-exercise-doesnt-just-strengthen-the-heart-it-reprograms-its-nerves/
1•manidoraisamy•31m ago•0 comments

TermsTooLong: Plain-language analysis of Terms and Conditions

https://www.termstoolong.com/
1•thunderbong•32m ago•0 comments

The Egghead Breach of 2000

https://dfarq.homeip.net/the-egghead-breach-of-2000/
1•speckx•32m ago•0 comments

Unix "find" expressions compiled to bytecode

https://nullprogram.com/blog/2025/12/23/
2•ibobev•35m ago•0 comments

Static Allocation for Compilers

https://matklad.github.io/2025/12/23/static-allocation-compilers.html
1•ibobev•35m ago•0 comments