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!

Get your FREE custom Email

https://bottled.email
1•Spark88•2m ago•0 comments

EU to force Google to share search data and open up AI on Android

https://arstechnica.com/gadgets/2026/07/its-official-eu-will-force-google-to-share-search-data-an...
1•goplayoutside•13m ago•1 comments

Show HN: Vulnsy – A platform for vulnerability management and reporting

https://www.vulnsy.com
1•MrTurvey•15m ago•0 comments

Now, even Russia's most elite hackers are using Clickfix to infect devices

https://arstechnica.com/security/2026/07/now-even-russias-most-elite-hackers-are-using-clickfix-t...
2•joozio•15m ago•0 comments

ScreenWall – Turn old phones into synced widgets for your space

https://screenwall.app/
2•buibuibui•17m ago•0 comments

Soofi – Sovereign Open Source Foundation Models

https://www.soofi.info/
1•sebastian_z•17m ago•0 comments

Rokit to launch what it calls first human kidney regeneration surgery in July

https://www.koreabiomed.com/news/articleView.html?idxno=32016
1•deno•19m ago•0 comments

Show HN: Sandboxd – Self-Hosted Lovable (agents, sandboxes, preview url)

https://github.com/tastyeffectco/sandboxd
1•tastyeffectco•19m ago•0 comments

What Early Hackers Got Right About Today's AI [video]

https://www.youtube.com/watch?v=XHeMsXDyw2A
1•pierrephpguru•26m ago•1 comments

Huawei could become a DRAM fabber

https://www.blocksandfiles.com/ai-ml/2026/07/16/huawei-could-become-a-dram-fabber/5273853
1•rbanffy•27m ago•0 comments

Show HN: Customizable SAP MCP Server

https://superglue.ai/mcp/sap/
1•sfaist•27m ago•0 comments

Comptime Is Funtime: Per-Span State Without a Hash Map

https://david-bach.com/pages/posts/2026-07-15-comptime-is-funtime/index.html
1•eoxxs•28m ago•0 comments

Domain Specific Harnesses

https://alanyahya.com/writing/domain-specific-harnesses
2•alansaber•28m ago•0 comments

Ask HN: Any AWS billing issues known? Amazon forecast of 3 billion dollars

4•mstolpm•31m ago•2 comments

How the Black Death shaped human evolution

https://www.nih.gov/news-events/nih-research-matters/how-black-death-shaped-human-evolution
1•thunderbong•32m ago•0 comments

Inaccurate Estimated Billing Data (AWS)

https://health.aws.amazon.com/health/status?nonce=ae879
1•nocam•33m ago•1 comments

Tesla driver in fatal Texas crash pressed accelerator 100%, NTSB confirms

https://techcrunch.com/2026/07/15/tesla-driver-in-fatal-texas-crash-pressed-accelerator-100-ntsb-...
1•gsky•36m ago•0 comments

But what is the Central Limit Theorem?(2023) 3B1B [video]

https://www.youtube.com/watch?v=zeJD6dqJ5lo
1•o4c•37m ago•0 comments

Show HN: InteractInk – Anonymous Text Board

https://interactink.vercel.app/interactink.html
1•squeezes•38m ago•1 comments

China's EV pirate ship is coming for Western carmakers

https://www.politico.eu/article/china-ev-pirate-ship-is-coming-for-western-carmakers-byd/
1•ironyman•40m ago•0 comments

Just got an AWS billing alert projecting my monthly cost at $140B

9•mirzap•42m ago•3 comments

Show HN: EasyDocs – generate OpenAPI docs from real traffic

https://github.com/RubenGlez/easydocs
1•rubenglez•42m ago•0 comments

TSMC Expands US Semiconductor Investment to $265B

https://www.hpcwire.com/off-the-wire/tsmc-expands-us-semiconductor-investment-to-265b/
1•rbanffy•42m ago•0 comments

High temperatures put French gas plant at risk of outage

https://www.reuters.com/business/energy/high-temperatures-shut-french-gas-plant-adding-heat-relat...
1•leonidasrup•44m ago•0 comments

Mass Surveillance Wasn't an Accident

https://www.youtube.com/watch?v=mvsgrhS5bV8
4•soupspaces•50m ago•0 comments

US postgraduate student visas will be limited to 4 years

https://www.dhs.gov/news/2026/07/16/trump-administration-issues-final-rule-end-foreign-student-vi...
3•macleginn•53m ago•3 comments

Ask HN: What are you working on(2026)?

3•adithyaharish•55m ago•1 comments

Mario Kart Wii recompiled for PC using AI, with 4K potential and uncapped FPS

https://www.tomshardware.com/video-games/retro-gaming/mario-kart-wii-recompiled-for-pc-using-ai-w...
3•gloxkiqcza•1h ago•0 comments

Is the AI Boom over for Kospi and Asian Tech Stocks?

https://www.disruptionbanking.com/2026/07/17/is-the-ai-boom-over-for-kospi-and-asian-tech-stocks/
1•technewssss•1h ago•0 comments

Time-Series Language Models for Reasoning over Multivariate Data at Scale (ICML)

https://www.aioniclabs.ai/research/opentslm
11•rjakob•1h ago•6 comments