frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Show HN: Dashboard for UniFi Up-AirQuality Sensor

https://github.com/bsidio/unifi-protect-airquality-dashboard
1•humbfool2•27s ago•0 comments

No data centers in my backyard

https://jasmi.news/p/no-data-centers-in-my-backyard
1•annapowellsmith•40s ago•1 comments

Rider on the Storm (2011)

https://www.damninteresting.com/rider-on-the-storm/
1•EndXA•1m ago•0 comments

Code Scan Challenge

https://codedelta.app/article-scan-challenge.html
1•code-delta-app•2m ago•0 comments

Boomers Are Leaving Behind More Art Than Anyone Wants

https://www.bloomberg.com/news/features/2026-07-31/the-great-wealth-transfer-includes-1-trillion-...
1•lispybanana•2m ago•0 comments

Eating less protein could help you live longer (mouse study)

https://www.scientificamerican.com/article/eating-less-protein-could-help-you-live-longer/
1•abawany•2m ago•0 comments

Scaling Agents for Computer Use

https://openreview.net/challenge?redirect=%2Fforum%3Fid%3Deve4jBYa8D%26noteId%3D1ibCP6aCv6%26refe...
1•taro666•2m ago•0 comments

Gleam for Python Programmers

https://third-bit.com/gl4py/
1•olexsmir•3m ago•0 comments

Texas Governor Abbott Directs Comprehensive Data Center Audit

https://gov.texas.gov/news/post/governor-abbott-directs-comprehensive-data-center-audit
1•toomuchtodo•3m ago•1 comments

UIViews

https://uiviews.com/
1•frizlab•4m ago•0 comments

Minimum Description Length Meets Singular Learning Theory

https://arxiv.org/abs/2510.12077
1•E-Reverance•6m ago•0 comments

Can an AI Model Obey a Strict Style Guide?

https://bymorning.ai/journal/ai-style-guide
1•johnrising•7m ago•1 comments

Show HN: Fetchcheck – send a signed crawler to any site and see if it gets in

https://sitedex.dev/tools/fetchcheck
1•zeppelin_7•9m ago•0 comments

Awesome-FDE-Roadmap

https://github.com/pierpaolo28/Awesome-FDE-Roadmap
1•asasidh•10m ago•0 comments

How does your agent harness call you

https://twitter.com/soztetik/status/2084378696312369236
1•radres•10m ago•0 comments

I Don't Write Code Anymore. I Have It Written

https://aydogan.dev/blog/i-dont-write-code-anymore/
2•aydgn•14m ago•0 comments

What different types of typographic scales exist?

https://cieden.com/book/sub-atomic/typography/different-type-scale-types
1•preetamjinka•16m ago•0 comments

The Screen Act Threatens Privacy Far Beyond Adult Websites

https://www.techdirt.com/2026/08/03/the-screen-act-threatens-privacy-far-beyond-adult-websites/
1•speckx•18m ago•0 comments

The Last Bug on Earth

https://www.minid.net/2026/8/3/the-last-bug-on-earth
1•meerita•19m ago•0 comments

Data Integration Without an Ontology

https://productnow.ai/blogs/ai-native-data-integration-without-an-ontology
1•kadhirvelm•21m ago•0 comments

Retiring the DALL·E GPT

https://help.openai.com/en/articles/6825453-chatgpt-release-notes#retiring-the-dalle-gpt
1•pentagrama•21m ago•0 comments

Forward Deployed Executives: The Next Billion-Dollar AI Unblock

https://www.rickmanelius.com/p/forward-deployed-executives-the-next
1•rickmanelius•21m ago•0 comments

DeepSeek-V4-Flash 2.98x faster on 4x B200, lossless

https://twitter.com/Akashi203/status/2084373935454400964
2•OsamaJaber•21m ago•0 comments

Minimax H3

https://huggingface.co/MiniMaxAI/MiniMax-H3
1•SpyCoder77•21m ago•0 comments

Token budget circuit breaker – cut multi-agent retry waste ~98%

https://github.com/mrblakessinger-rgb/paradox-engine-eots
1•Pachanoi•22m ago•0 comments

No New Name Has Replaced "UX"

https://www.nngroup.com/articles/no-new-name-ux/
2•pentagrama•23m ago•0 comments

Pawnshop Chain Serves the K-Shaped Economy

https://www.wsj.com/cfo-journal/from-200-loans-to-30-000-birkins-a-pawnshop-chain-serves-the-k-sh...
1•bookofjoe•23m ago•1 comments

Agents are users now, and they found every hole in our product

https://nextwaveoftech.com/posts/what-i-learned-building-an-agent-first-plugin
1•jameslaneyno9•24m ago•0 comments

Obligatory one month without social media on my phone Substack essay

https://www.late-review.com/p/obligatory-one-month-without-socia
3•devonnull•25m ago•0 comments

A Closed-Loop Consequence-Governance Runtime for AI Agents

https://zenodo.org/records/21778592
1•TealGrapes93•25m ago•0 comments