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!

Decision Models vs. ML Classification

1•jeena•1m ago•0 comments

Forward-Deployed Engineers

https://www.theregister.com/channel/2026/10/03/palantirs-fondness-for-french-food-cooked-up-techs...
1•saikatsg•5m ago•0 comments

Language Model "Shape" – Alex L. Zhang

https://alexzhang13.github.io/blog/2026/shape/
1•sks_15•6m ago•0 comments

Our Solar System Is Terminally Unstable

https://www.404media.co/our-solar-system-is-terminally-unstable-and-will-be-completely-destroyed-...
1•saikatsg•7m ago•0 comments

Ciliate Is About to Die (2020) [video]

https://www.youtube.com/watch?v=ibpdNqrtar0
1•polygot•14m ago•0 comments

The Dot and the Swarm

https://www.oneusefulthing.org/p/the-dot-and-the-swarm
1•saikatsg•14m ago•0 comments

The cost of lies: A Mineserver story

https://www.jeremyreimer.com/rockets-item.lsp?f=true&p=272
1•luu•20m ago•0 comments

Dyson CameraJet

https://geohot.github.io//blog/jekyll/update/2026/10/03/dyson-camerajet.html
1•smilelamp•21m ago•0 comments

wizard-engine: Research WebAssembly Engine

https://github.com/titzer/wizard-engine/
1•luu•26m ago•0 comments

Amazon responds to data center backlash, says it no longer uses NDAs

https://techcrunch.com/2026/10/03/amazon-responds-to-data-center-backlash-says-it-no-longer-uses-...
1•noisysoc•28m ago•0 comments

Archiving the Oldest Webcam Feed

https://hackaday.com/2026/10/01/archiving-the-worlds-oldest-webcam-feed/
2•rdmuser•30m ago•0 comments

Forbidden Stories and UC Berkeley Journalism launch cross-border lab

https://journalism.berkeley.edu/announce-forbidden-stories-lab-uc-berkeley-journalism/
2•rdmuser•33m ago•2 comments

Weirdstuff Warehouse Reopens

https://weirdstuff.com/
2•bananaboy•34m ago•0 comments

Flying cell tower beams phone signal to Japan from 10 miles up

https://newatlas.com/aircraft/sceye-flying-cell-tower-beams-phone-signal-stratosphere/
1•geox•36m ago•0 comments

Pico CSS is no longer maintained (final release v2.1.1)

1•anydigital•41m ago•0 comments

Being asked to sanitise Wikipedia entries

https://www.rubenerd.au/being-asked-to-sanitise-wikipedia-entries/
2•rdmuser•41m ago•1 comments

VersionStory: Comparison and Redlining for AI native legal teams

https://www.versionstory.com
1•handfuloflight•42m ago•0 comments

100M homes could be powered by solar projects stuck in permitting

https://waitingforpower.com
1•bdgold•43m ago•0 comments

Show HN: Watch a neural net learn Clash Royale defense in the browser

https://itzik123.github.io/ClashRoyaleAi/lab/
1•itzikkatz•48m ago•0 comments

Show HN: Lines of C, Beats QOI

https://github.com/OzzyMitchell/tinycodec
1•ozzymitchell•59m ago•0 comments

Why AI task-level productivity doesn't translate to organizational throughput

https://pub.towardsai.net/the-hamster-paradox-36dd0d950568
1•younss•1h ago•0 comments

Oversight Has Capacity: Calibrating Agent Guards to a Subjective Fatiguing Human

https://arxiv.org/abs/2606.08919
1•Jimmc414•1h ago•0 comments

Testing 12 different Zigbee temperature/humidity sensors

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
1•walrus01•1h ago•0 comments

Changelog to README: testing LLM update strategies

https://codecut.ai/readme-update-from-release-notes/
1•khuyentran1401•1h ago•0 comments

Meeting Buddy – A Cute Mascot That Parachutes in Before Your Meetings (macOS)

https://apps.apple.com/us/app/meeting-buddy-tiny-companion/id6811563656?mt=12
1•xuho•1h ago•0 comments

Gentle AI: AI Coding Ecosystem

https://gentle-ai.gentlemanprogramming.com/
1•OlivOnTech•1h ago•0 comments

Show HN: The Livability Map of Japan

https://kodawari.nimikko.co.jp/
1•asutekku•1h ago•1 comments

Organic Driven Development

https://github.com/stir084/organic-driven-development/blob/main/README.md
2•OlivOnTech•1h ago•0 comments

Why don't more developers "use the platform"?

https://nolanlawson.com/2026/10/03/why-dont-more-developers-use-the-platform/
39•vinhnx•1h ago•18 comments

What's the Future for Pure Math Research in the Age of AI? [Wolfram]

https://www.youtube.com/watch?v=gPrWX8i1htM
1•agnosticmantis•1h ago•0 comments