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!

Productivity multi-tool – from the makers of flipper

https://busy.app/
1•yitchelle•1m ago•0 comments

15 Years of Free Software Projects: A Review

https://blog.frankrousseau.fr/15-years-of-free-software-projects-a-review/
2•gelnior•5m ago•0 comments

Show HN: Pokayoke – turn code conventions into checks for agents

https://pokayoke.codes
1•sarreph•5m ago•0 comments

AI-Generated UI Is Inaccessible by Default

https://master.dev/blog/ai-generated-ui-is-inaccessible-by-default/
1•darkwater•7m ago•0 comments

Uber Announces Acquisition Offer for Delivery Hero at $14.8B

https://investor.uber.com/news-events/news/press-release-details/2026/Uber-Announces-Acquisition-...
2•pookieinc•11m ago•0 comments

Show HN: Enhanced YARA to detect threats in JavaScript using context and content

https://github.com/rishi-sekantsec/sekant-intercept-js
1•iamrik9•12m ago•0 comments

Slower AI Improvement Means More Spending

https://www.bargo.ai/research/slow-takeoff-fast-spending
1•Kavon2992•13m ago•0 comments

What's your quality standard for good software?

1•CatalystPz•13m ago•1 comments

Flanner.io - Stop drowning in AI .md files.

https://www.flanner.io/
1•jaysonm•15m ago•0 comments

Rustwright – a Rust Rewrite of Playwright

https://github.com/Skyvern-AI/rustwright
1•serial_dev•16m ago•0 comments

No hiring if an AI can do the job, staff at mining giant told

https://www.smh.com.au/business/workplace/no-hiring-if-an-ai-can-do-the-job-staff-at-mining-giant...
2•Alien1Being•17m ago•1 comments

Microsoft's Design Tactics Still Compromise Free Browser Choice

https://research.mozilla.org/browser-competition/over-the-edge-2/
1•harrybr•18m ago•0 comments

Gecode 6.3.0 and 6.4.0 are released

https://zayenz.se/blog/post/gecode-6-3-and-6-4-released/
1•mzl•19m ago•0 comments

Show HN: Build your own apps on Mu

https://micro.mu/blog/post?id=build-your-own-apps
1•asim•20m ago•0 comments

Why AI code review is not enough

https://blog.codacy.com/ai-code-review-is-not-enough-how-engineering-leaders-should-gate-ai-gener...
1•ARayOutOfBounds•22m ago•1 comments

8Bit Computers

https://8bit.gioorgi.com//
1•daitangio•22m ago•2 comments

GPS Map Camera: Timestamp

https://play.google.com/store/apps/details?id=com.gpsmapcamera.gpscameratimestamp.photo.video&hl=...
1•karlnelsone•24m ago•0 comments

ICD-10 chapters and code letters

https://www.johndcook.com/blog/2026/07/14/icd-10-chapters-letters/
1•ibobev•25m ago•0 comments

Thermodynamic Computers Go with the (Energy) Flow

https://www.quantamagazine.org/thermodynamic-computers-go-with-the-energy-flow-20260715/
1•ibobev•25m ago•0 comments

Detecting Full Table Scans with SQLite

https://tenderlovemaking.com/2026/07/15/detecting-full-table-scans-with-sqlite/
1•ibobev•25m ago•0 comments

Apple in talks with PrismML, which shrinks AI models up to 15x to run on iPhones

https://www.cnbc.com/2026/07/14/apple-prismml-ai-compression-iphone.html
1•mgh2•27m ago•0 comments

Men Without Guns- Tribute to Larry McMurtry

https://religiondispatches.org/2021/05/03/men-without-guns-tribute-larry-mcmurtry
1•oliculipolicula•28m ago•0 comments

Uber Agrees to Buy Delivery Hero in $14.8 Billion Deal

https://www.bloomberg.com/news/articles/2026-07-16/uber-agrees-to-buy-delivery-hero-as-food-secto...
1•thm•33m ago•0 comments

AWS CloudFront Is Down

https://health.aws.amazon.com/health/status?eventID=arn:aws:health:global::event/CLOUDFRONT/AWS_C...
11•komape•41m ago•1 comments

Atelier, an open source local AI desktop app for everyone

https://open-atelier.app
1•acleefr•41m ago•0 comments

Nervé: Some Things Here Are Not Right

https://www.royalroad.com/fiction/103797/the-journals-of-noiruzi-sangsung/chapter/2485794/nerve-s...
1•bryanrasmussen•42m ago•0 comments

WorkOS Having a Major Outage

https://status.workos.com
3•weli•43m ago•2 comments

Show HN: LHIC – Deterministic device agent which learn and enhance when you use

1•pinyencheng•44m ago•0 comments

Rtings Is Now Paywalled

https://www.rtings.com/company/revamping-our-membership-program
1•ivanjermakov•46m ago•0 comments

Engineering Leader's Guide to Outcome-Based Pricing

https://www.thewitn.com/blog/an-engineering-leaders-guide-to-implementing-outcome-based-pricing
1•georgekats•48m ago•0 comments