frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Deriving the Y Combinator (2008)

https://blog.jcoglan.com/2008/01/10/deriving-the-y-combinator/
1•aragonite•6m ago•0 comments

Will Elon Musk ever be forced to explain what he did inside DOGE?

https://www.cnn.com/2026/04/13/politics/elon-musk-doge-lawsuits-avoid-deposition-questions
3•1659447091•8m ago•0 comments

The disappearance of old Tokyo businesses

https://www.tokyotimes.org/the-disappearance-of-old-tokyo-businesses/
1•razorbeamz•9m ago•0 comments

Show HN: Honeytree – Grow a forest in your terminal while you code

https://github.com/Varun2009178/honeytree
1•varunn29•10m ago•0 comments

Krafton CEO used ChatGPT in failed bid to avoid paying US$250M bonus

https://www.theguardian.com/technology/2026/mar/18/subnautica-2-publisher-krafton-ceo-reinstated-...
1•doppp•13m ago•0 comments

Moanpoint: Maps TrackPoint pressure to audio output

https://github.com/nicolasgutierrezdev/moanpoint
1•neptunianalien•15m ago•0 comments

Decline in U.S. overdose deaths threatened by changing street drug supply

https://text.npr.org/nx-s1-5783750
1•1659447091•15m ago•0 comments

New AI capabilities are coming to Google Vids, powered by Lyria 3 and Veo 3.1

https://blog.google/products-and-platforms/products/workspace/google-vids-updates-lyria-veo/
2•spaghettifythis•18m ago•1 comments

The Stern-Gerlach Experiment (1967)[video]

https://www.youtube.com/watch?v=AcTqcyv-V1I
1•nill0•19m ago•0 comments

Show HN: BSCS Bench – College CS Curriculum AI Benchmark

https://www.bscsbench.com/
1•charlielockyer•21m ago•0 comments

Bessent: Order requiring banks to collect citizenship information in process

https://thehill.com/homenews/administration/5830266-trump-executive-order-banking-system-citizens...
1•KnuthIsGod•23m ago•0 comments

The Complete Briggs and Stratton Buckboard Flyer Build [video]

https://www.youtube.com/watch?v=xzYwGcX3CwA
1•pillars•23m ago•0 comments

GPT-5.4 Pro solves Erdős Problem #1196

https://twitter.com/i/status/2044051379916882067
1•fratellobigio•24m ago•1 comments

Create a Blog on GitHub with Markdown in 15-Minutes

https://joeldare.com/create-a-blog-on-github-with-markdown-in-15-minutes
1•codazoda•24m ago•0 comments

Major News Sites Have Blocked the Wayback Machine – Digital History in Danger

https://www.gadgetreview.com/23-major-news-sites-have-blocked-the-wayback-machine-digital-history...
4•gurjeet•25m ago•0 comments

Show HN: Agent Citizen – Your AI agents are sitting around doing nothing

https://agent-citizen.vercel.app
1•daltonlcarr•28m ago•0 comments

Bosses say AI boosts productivity – workers say they're drowning in 'workslop'

https://www.theguardian.com/technology/2026/apr/14/ai-productivity-workplace-errors
3•pseudolus•31m ago•0 comments

Researchers discover record-setting heat-conducting material

https://www.anl.gov/article/researchers-discover-recordsetting-heatconducting-material
1•gmays•32m ago•0 comments

Ask HN: Any services like NotebookLM that can convert text into videos?

1•haebom•35m ago•0 comments

Police officer uses Flock database to track mistress

https://ktla.com/news/orange-county/former-orange-county-officer-pleaded-guilty-to-using-police-d...
4•hentrep•39m ago•0 comments

Show HN: Lumon, browser agents as interactive sprites

https://lumon-live.netlify.app
1•lesprgm•40m ago•0 comments

The race to understand the mysterious world of Africa's fungi

https://www.theguardian.com/environment/2026/apr/14/african-scientists-fungal-conservation-moveme...
2•a_w•41m ago•0 comments

The Great Software Meltdown

https://www.danmartell.com/the-great-software-meltdown/
2•wfme•42m ago•0 comments

Thomas Riedel Acquires Arri

https://theasc.com/news/thomas-riedel-acquires-arri
1•coolandsmartrr•42m ago•0 comments

Show HN: Playra 2026 link

https://playra-app.vercel.app
1•COdefinder•45m ago•0 comments

Show HN: Make sure your OpenClaw isn't doing things it's not supposed to

https://claw.armoriq.ai/
1•vaibhavb007•46m ago•0 comments

Zperiod: Interactive Periodic Table with 118 elements and 3D atom models

https://zperiod.app/
1•itherseed•47m ago•0 comments

Bunk beds for economy passengers take off on Air New Zealand's new planes

https://www.cnn.com/2026/04/14/travel/air-new-zealand-bunk-beds
2•1659447091•49m ago•1 comments

Intro to Synthesis

https://signalfunctionset.com/projects/intro-to-synthesis/
1•stuart78•52m ago•0 comments

Aethon: A reference-based instantiation primitive for stateful AI agents

https://arxiv.org/abs/2604.12129
1•swanandr•52m ago•0 comments