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!

Continue coding agent is dead. Alternatives?

2•roscas•7m ago•0 comments

Microsoft built a dedicated app that forces Bing everywhere on Windows 11

https://www.windowslatest.com/2026/08/22/microsoft-built-a-dedicated-app-that-forces-bing-everywh...
1•monoclerb•7m ago•0 comments

Six principles for evaluating cognitive capabilities in AI models

https://onlinelibrary.wiley.com/doi/10.1002/aaai.70061
1•Terretta•9m ago•1 comments

A.I. is everywhere in China. See for yourself

https://www.nytimes.com/interactive/2026/08/21/world/asia/china-ai-life.html
1•eternalreturn•13m ago•0 comments

It was great to have Raekwon at our office again

https://twitter.com/PalantirTech/status/2090889852405334118
1•mellosouls•18m ago•1 comments

Episode 2: Life After Stripe

https://jondlm.github.io/website/blog/life_after_stripe/
1•jondlm•21m ago•0 comments

Canada suspends trade negotiations with USA and match tariffs dollar for dollar

https://www.pm.gc.ca/en/news/statements/2026/08/21/statement-prime-minister-carney-canada-us-trad...
5•backlit4034•21m ago•1 comments

The Joy of Why (podcast): Are We Thinking Correctly About AI Intelligence?

https://www.quantamagazine.org/are-we-thinking-correctly-about-ai-intelligence-20260820/
1•Terretta•30m ago•1 comments

Procedural Three.js web design templates for agents

https://threeui.com/browse
1•luispa•30m ago•0 comments

Kayva – continuous care on the watch you wear

https://www.kayvahealth.com/
2•abhinav_rana•33m ago•0 comments

Bidad (Outcry). A Film by Soheil Beiraghi [video]

https://www.youtube.com/watch?v=Q2phizeC6Lo
1•fodmap•36m ago•1 comments

Comparing open vs. closed models across the eras of frontier models

https://newsletter.semianalysis.com/p/are-open-models-catching-up
2•giuliomagnifico•38m ago•0 comments

Enabling the next-generation trait solver on nightly

https://blog.rust-lang.org/2026/08/21/enabling-next-solver-on-nightly/
1•KolmogorovComp•44m ago•0 comments

Show HN: I built a tool for creating mock HTTP endpoints

https://www.http-response.com/
2•primalscreamer•45m ago•1 comments

Who Should Pay for Source Code Availability?

https://kristoff.it/blog/source-code-availability/
2•r3ason•46m ago•0 comments

Hidden Zillow listings created fake supply shock, raising NYC rents, lawsuit

https://arstechnica.com/tech-policy/2026/08/class-action-accuses-brokers-of-hiding-zillow-listing...
4•pseudolus•50m ago•0 comments

Z80–The 1970s Microprocessor Still Alive

https://www.computer.org/csdl/magazine/mi/2021/06/09623402/1yJTvlRLmhi
7•asdefghyk•57m ago•1 comments

Munder Difflin – Agent harness to run an office of your clones

https://munderdiffl.in/
2•simonpure•57m ago•0 comments

These animals can predict volcanic eruptions, storms and more

https://www.cbc.ca/documentaries/the-nature-of-things/these-animals-can-predict-volcanic-eruption...
1•svenfaw•59m ago•0 comments

At the moment: 472 gas-fired power plants are under development in the US

https://twitter.com/NatBullard/status/2090496193910730883
3•ksec•1h ago•0 comments

CyberStrike – open-source AI harness for offensive security (AGPL)

https://github.com/CyberStrikeus/CyberStrike
3•orhanyildirim•1h ago•1 comments

Math Academy – How Our AI Works

https://www.mathacademy.com/how-our-ai-works
1•olvy0•1h ago•0 comments

Panache: Language server, formatter, linter for Markdown, Quarto, and R Markdown

https://github.com/jolars/panache
1•fhchl•1h ago•0 comments

Saab Unveils Stealthy Supersonic 'Fighter Drone' Concept

https://www.twz.com/air/saab-unveils-stealthy-supersonic-fighter-drone-concept
1•madspindel•1h ago•0 comments

Waterloo's student rocketry team breaks a world record

https://uwaterloo.ca/news/engineering/waterloos-student-rocketry-team-breaks-world-record
3•pseudolus•1h ago•0 comments

ISRO will not make any launch vehicle, all tech to be handed to private sector

https://www.indiatoday.in/science/story/isro-will-not-make-any-launch-vehicle-all-tech-to-be-hand...
1•thunderbong•1h ago•1 comments

The hold that could not release itself

https://shitrat.ai/log/the-hold-that-could-not-release-itself
1•handfuloflight•1h ago•0 comments

Hermeus, a venture-backed defense aviation company

https://hermeus.com
1•ksec•1h ago•0 comments

MacStories is posting on Twitter again

https://mastodon.macstories.net/@viticci/117134048567780192
3•latexr•1h ago•1 comments

Homebrew 68K Machine Has a PCI Bus

https://hackaday.com/2026/08/20/homebrew-68k-machine-has-a-pci-bus/
4•birdculture•1h ago•1 comments