frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Crawlable – Turn any website into structured data using prompts

https://crawlable.app/
1•manos_89•1m ago•0 comments

Chainguard EmeritOSS: Sustainable stewardship for mature open source

https://www.chainguard.dev/unchained/introducing-chainguard-emeritoss
1•gpi•5m ago•0 comments

Why many Asian megacities are miserable places

https://www.economist.com/asia/2025/12/11/why-many-asian-megacities-are-miserable-places
3•andsoitis•6m ago•1 comments

Dlang Interfacing with C++

https://dlang.org/spec/cpp_interface.html
1•tmseidman•9m ago•0 comments

Why Does AI Have to Be Held to a Higher Bar Than Humans (and Why It Matters)?

https://medium.com/@srinathperera/why-does-ai-have-to-be-held-to-a-higher-bar-than-humans-and-why...
1•hemapani•11m ago•0 comments

Tattoo Numbing Cream Improves Comfort During Long Tattoo Sessions

1•xtangu•12m ago•0 comments

Tesla Robotaxis in Austin Crash 12.5x More Frequently Than Humans

https://electrek.co/2025/12/15/tesla-reports-another-robotaxi-crash-even-with-supervisor/
4•hjouneau•17m ago•0 comments

MIT nuclear scientist killed at home

https://apnews.com/article/mit-professor-shooting-massachusetts-portugal-3ab1e3e7e369de5cef90c7c9...
2•RyanShook•17m ago•0 comments

Are tired of slow interpreted POSIX shells?

1•TheCodingDecode•18m ago•0 comments

MiMo-V2-Flash

https://mimo.xiaomi.com/blog/mimo-v2-flash
2•bbzjk7•18m ago•0 comments

A New Shell

1•TheCodingDecode•19m ago•0 comments

Zero Sync Engine

https://zero.rocicorp.dev/docs/introduction
1•tamnd•20m ago•0 comments

Show HN: LifeContext–Build context with your life

https://github.com/LifeContext/lifecontext
1•guaguama•20m ago•0 comments

Choosing the Right Stainless Steel Utility Sink for Heavy-Duty Use

1•daugu•21m ago•0 comments

I built a tool that tells you why your build broke when Git shows no changes

https://www.npmjs.com/package/why-broke
1•Adityakammati•21m ago•1 comments

ByteDance Had Billion-Scale Vector Search Problem. It Solved with Hybrid Search

https://www.velodb.io/blog/bytedance-solved-billion-scale-vector-search-problem-with-apache-doris...
1•qinchencq•21m ago•0 comments

Senators count the shady ways data centers pass energy costs on to Americans

https://arstechnica.com/tech-policy/2025/12/shady-data-center-deals-doom-americans-to-higher-ener...
2•voxadam•23m ago•0 comments

Why Do Quaternions Double-Cover?

https://www.reedbeta.com/blog/why-quaternions-double-cover/
2•Frotag•25m ago•0 comments

AI Mode, Content and Search Index

https://dejan.ai/blog/ai-mode-content-search-index/
1•gmays•27m ago•0 comments

Go 1.26rc1 Is Live

https://go.dev/doc/go1.26
1•tamnd•27m ago•1 comments

Robert Samuelson, Award-Winning Economics Columnist, Dies at 79

https://www.nytimes.com/2025/12/15/business/media/robert-samuelson-dead.html
1•paulpauper•32m ago•0 comments

There's a Wasp Nest in the Living Room. On Purpose

https://www.nytimes.com/2025/10/24/realestate/luxury-wasp-nest.html
2•paulpauper•33m ago•0 comments

The Architecture of Market Regimes: DXY Structural and Reflexive Layers

https://zenodo.org/records/17958350
1•truongthanminh•36m ago•0 comments

The 30-Minute Exercise: Ask Your Employees to Write Their Job Prompt

https://medium.com/venturehq/the-30-minute-exercise-ask-your-employees-to-write-their-job-prompt-...
3•chtefi•36m ago•0 comments

10 Years of AWS Well-Architected Framework: A Personal Reflection

https://ibrahimcesar.cloud/blog/10-years-aws-well-architected-framework/
2•ibrahimcesar•37m ago•0 comments

Show HN: Deadlight · Zero-JS blogging for hostile networks (Workers and SQLite)

https://github.com/gnarzilla/blog.deadlight
1•gnarzilla_•40m ago•1 comments

Show HN: I kept forgetting the same adulting tasks, so I built an app to help

https://apps.apple.com/us/app/tidylife-life-upkeep/id6756452058
1•hos4m•40m ago•0 comments

The Entry-Level Hiring Process Is Breaking Down

https://www.theatlantic.com/ideas/2025/12/grade-inflation-ai-hiring/685157/
2•jdkee•43m ago•1 comments

An MIT professor was shot at home. Authorities say no suspect is in custody

https://www.pbs.org/newshour/nation/an-mit-professor-was-shot-at-home-authorities-say-no-suspect-...
2•heavyset_go•47m ago•0 comments

Claude Royale: A harness for AI agents to play Clash Royale

https://github.com/houseworthe/claude-royale
1•houseworth•49m ago•1 comments