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!

Investigation uncovers influencers paid to promote Nvidia to China

https://www.techradar.com/pro/days-after-nvidia-ceo-resigned-journalists-unearth-covert-influence...
1•nreece•5m ago•0 comments

Pop Goes the Bubble

https://paulkrugman.substack.com/p/pop-goes-the-bubble
2•rammy1234•8m ago•0 comments

Show HN: Dupfinder – a lightweight Python tool for finding duplicate files

https://github.com/rronkus/dupfinder
1•xppexx•9m ago•0 comments

Décor brings back fun HTML widgets to the Mac

https://stgm.github.io/decor/
1•omsta•10m ago•0 comments

Make the hard decisions that give your team leverage

https://hodgkins.io/blog/hard-decisions-that-give-teams-leverage/
1•MattHodge•13m ago•0 comments

GTA 6 player gets 30-day PSN ban for sharing in-game nudist photo with a friend

https://www.eurogamer.net/gta-6-psn-ban-nude-photos-nudist-resort
2•croes•17m ago•0 comments

All or nothing: distributed transactions in Azure Cosmos DB

https://devblogs.microsoft.com/cosmosdb/all-or-nothing-distributed-transactions-in-azure-cosmos-db/
1•axis_official•19m ago•0 comments

New York Times Prohibits Photographers from Using Photoshop 2027

https://petapixel.com/2026/11/24/new-york-times-prohibits-photographers-from-using-photoshop-2027/
5•colinprince•24m ago•0 comments

Dutch data protection authority advises against purchasing AI camera glasses

https://autoriteitpersoonsgegevens.nl/en/current/ap-advises-against-purchasing-ai-camera-glasses-...
2•todsacerdoti•26m ago•0 comments

Showing a MessageBox from Kernel-Mode

https://vollragm.github.io/posts/kernel-message-box/
1•todsacerdoti•26m ago•0 comments

Invisible Wave Hits California, Oregon and Canada as Towns Evacuate

https://www.abovethenormnews.com/2026/11/24/king-tides-california/
8•madihaa•30m ago•2 comments

Show HN: Expense Canary, catching duplicate charges and bank fees from Plaid

https://expensecanary.com/
3•karlacastropro•31m ago•0 comments

Pakistan's first astronaut goes to space aboard Chinese rocket

https://www.bbc.com/news/live/cmd71g9lzg1gt
1•motionlessveloc•34m ago•0 comments

Show HN: Vibe Linux

https://mkornreich.me/projects/vibe-linux/
1•enjoyyourlife•35m ago•0 comments

Show HN: Edit PDF text in browser RAM with zero uploads (PDFTransform)

https://pdftransform.pages.dev/edit-pdf-text
1•Digital_alchemi•35m ago•0 comments

An attempt to make the proof of the Riemann Hypothesis human readable

https://github.com/jimjamzola/RH-Alpoge-Reconstruction/tree/main
1•theanonymousone•37m ago•0 comments

Transformation of Creative Platforms in the Age of Platform Capitalism

https://medium.com/@smoking2man/transformation-of-creative-platforms-in-the-age-of-platform-capit...
3•Aldus551•39m ago•0 comments

Longer battery storage durations reshape US power markets

https://www.reuters.com/business/energy/longer-battery-storage-durations-reshape-us-power-markets...
2•toomuchtodo•39m ago•1 comments

Series F

https://sierra.ai/blog/series-f-30b
1•doppp•41m ago•0 comments

Illustrated Sourcebook of Mechanical Components

https://archive.org/details/Illustrated_Sourcebook_Of_Mechanical_Components
3•toomuchtodo•45m ago•0 comments

Abolish Lock Poisoning

https://lucumr.pocoo.org/2026/11/25/poisoning/
3•Tomte•50m ago•0 comments

Treasury CIO is too busy vibecoding instead of doing his job #147

https://github.com/samcorcos/legatum/issues/147
22•aanet•52m ago•2 comments

Selling Sentrint.com, a security scanner for apps (15% commission, $2,600 floor)

https://sentrint.com/
1•heythere47•53m ago•0 comments

Which model in OpenCode is better at reasoning?

1•pydevgo•54m ago•0 comments

US court convicts China's Huawei for fraud, conspiring to steal trade secrets

https://www.cnn.com/2026/11/24/china/china-huawei-iran-conviction-intl-hnk
3•1659447091•56m ago•0 comments

GTA6 Recomp: Unofficial tracking the effort to bring GTA 6 natively to PC

https://gta6recomp.com/repo
1•rib3ye•59m ago•0 comments

Assessing carbon emissions and energy consumption of US hyperscale data centres

https://www.nature.com/articles/s41893-026-01985-7?trk=article-ssr-frontend-pulse_little-text-block
2•latentframe•1h ago•0 comments

Y Combinator: How to Build a Jet Engine from Scratch [video]

https://www.youtube.com/watch?v=-ieJwYq4j-o
1•ksec•1h ago•0 comments

Show HN: I make open-source flight test stand

https://github.com/crocone/flying-test
2•keepplain•1h ago•0 comments

Lydian Chromatic Concept of Tonal Organization

https://en.wikipedia.org/wiki/Lydian_Chromatic_Concept_of_Tonal_Organization
2•benbreen•1h ago•0 comments