frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Apache Kafka for Ultra‑Low‑Latency Trading

https://www.confluent.io/blog/tier-1-bank-ultra-low-latency-trading-design/
1•intrepidsoldier•20s ago•0 comments

Tim Cook, Andy Jassy, and Lisa Su Attend White House Melania Doc Screening

https://www.theverge.com/news/867429/tim-cook-andy-jassy-white-house-melania-doc
1•cdrnsf•47s ago•0 comments

Could this AI save your relationship?

https://www.happyduo.app/
1•pdiaz3•3m ago•1 comments

Claude Chic

https://matthewrocklin.com/introducing-claude-chic/
1•gglanzani•5m ago•0 comments

Show HN: The Forecaster Test- based on Tetlock's superforecasting research

https://www.forecaster-test.com/
1•joshuafkon•5m ago•0 comments

Music playlist generated from your flight route

https://www.hypemyflight.com
1•codexhaus•6m ago•0 comments

Kelsey Hightower on the Promise of Bluesky (2024)

https://www.siliconrepublic.com/enterprise/kelsey-hightower-bluesky-ap-protocol-open-source-kuber...
1•pfraze•6m ago•0 comments

AI-Assisted Development at Block

https://engineering.block.xyz/blog/ai-assisted-development-at-block
1•serial_dev•8m ago•0 comments

Show HN: MCP server that gives AI coding agents user behavior context

https://lcontext.com
1•psyentist•10m ago•0 comments

The Year Of The Linux Desktop (for fitness games)

https://www.steele.blue/linux-desktop-zwift-beat-saber/
2•speckx•11m ago•0 comments

Show HN: Ourguide – OS wide task guidance system that shows you where to click

https://ourguide.ai
1•eshaangulati•11m ago•0 comments

Predicting how Heathrow is using it's runways in the browser

https://blog.billyedmoore.com/heathrow
1•Billyedmoore•13m ago•0 comments

1992: Virtual Reality Theme Park – Tomorrow's World – BBC Archive [video]

https://www.youtube.com/watch?v=DD4qoif7lvY
1•xqcgrek2•13m ago•0 comments

Less is more: When agents learn not because but despite my doings

https://kywch.github.io/blog/2026/01/less-is-more-2048-agents/
1•kywch•13m ago•0 comments

The Windows PC is dying, thanks to cloud-based services and AI

https://www.computerworld.com/article/4119219/the-windows-pc-is-dying-thanks-to-cloud-based-servi...
2•CrankyBear•13m ago•0 comments

Gas Town Decisions

http://fimbaz.blogspot.com/2026/01/title-i-invented-decisions-yes-hello.html
2•frazbin•14m ago•0 comments

Super Monkey Ball

https://bsky.app/profile/twilightpb.bsky.social/post/3mdbynphtbc2l
1•Breadmaker•14m ago•0 comments

Show HN: Colin, a context engine for keeping agent skills fresh

https://github.com/PrefectHQ/colin
7•jlowin•14m ago•0 comments

Every Citi Bike Ride Across the East River

https://app.citibikedata.com/
1•patrickcleary•16m ago•0 comments

Agents Are About to Change Software

https://solomon.io/agents-are-about-to-change-software/
1•speckx•17m ago•0 comments

Pope Leo's latest AI warning: 'overly affectionate' chatbots

https://www.businessinsider.com/pope-leo-ai-warning-overly-affectionate-personalized-chatbots-reg...
2•josephcsible•17m ago•0 comments

The Festivus Report [pdf]

https://www.hsgac.senate.gov/wp-content/uploads/FESTIVUS-2025-FINAL.pdf
1•mhb•18m ago•0 comments

Kubernetes RCE: Exploiting nodes/proxy GET

https://labs.iximiuz.com/tutorials/nodes-proxy-rce-c9e436a9
2•eyberg•19m ago•0 comments

Qwen3-Max-Thinking Drops: 36T Tokens

2•SilasYee•21m ago•2 comments

Some Haskell idioms we like

https://exploring-better-ways.bellroy.com/some-haskell-idioms-we-like.html
1•surprisetalk•21m ago•0 comments

I Won't Have Kids Right?

https://arizerner.com/posts/children/
1•surprisetalk•21m ago•0 comments

Mini Tokyo 3D

https://minitokyo3d.com
1•surprisetalk•21m ago•0 comments

>1M ".ai" websites contributed $70M to Anguilla's government revenue last year

https://sherwood.news/tech/now-more-one-million-ai-websites-contributing-an-estimated-70-million-...
2•TMWNN•21m ago•2 comments

AI at Davos – Part 1

https://substack.com/inbox/post/185792467
1•cafrealpao•21m ago•1 comments

Little plastic being recycled in California as state efforts falter

https://www.latimes.com/environment/story/2026-01-14/very-little-plastic-being-recycled-in-califo...
3•PaulHoule•22m ago•1 comments