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!

Show HN: I built a portfolio health analyzer

https://claritytest.vercel.app/
1•Uncle_Clark•1m ago•0 comments

Ask HN: Should we open our souls to AI? For better output?

1•chriswright1664•2m ago•0 comments

Nvidia DGX Station Systems Available at Last GB300 and GB200 Workstations

https://www.servethehome.com/nvidia-dgx-station-systems-available-at-last-gb300-gb200-workstation...
2•rbanffy•3m ago•1 comments

Nuxt MCP Toolkit

https://mcp-toolkit.nuxt.dev/advanced/code-mode
1•rmason•3m ago•0 comments

Slack CLI

https://docs.slack.dev/tools/slack-cli/guides/installing-the-slack-cli-for-mac-and-linux/
1•warthog•4m ago•0 comments

Life on Autopilot

https://twitter.com/yrechtman/status/2035040919024443832
1•gmays•4m ago•0 comments

Merging GitHub Repositories

https://kittygiraudel.com/2026/03/20/merging-github-repositories/
1•speckx•4m ago•0 comments

The Screenless Startup: A New Philosophy for AI Applications

https://www.nfx.com/post/screenless-startup
1•rmason•4m ago•0 comments

Trump FCC lets Nexstar buy Tegna and blow way past 39% TV ownership cap

https://arstechnica.com/tech-policy/2026/03/fcc-lets-nexstar-buy-tegna-creating-trump-approved-br...
1•strongpigeon•4m ago•0 comments

ContextForge: Local-first repo-to-agent context CLI

https://github.com/xiwuqi/ContextForge
1•xiwuqi•5m ago•0 comments

Show HN: I have created my own serverless lambda service

https://inquir.org
1•nenecmrf•6m ago•0 comments

How to be more productive with Claude Code, Part 1 (it's just a little bit YOLO)

https://apostrophecms.com/blog/how-to-be-more-productive-with-claude-code-part-1
1•boutell•6m ago•0 comments

Nvidia will only produce one 88-core Vera CPU model

https://www.tomshardware.com/pc-components/cpus/nvidia-will-only-produce-one-88-core-vera-cpu-mod...
1•rbanffy•6m ago•0 comments

Spéirling Pure an Hypercar with Downforce-on-Demand

https://www.cnn.com/world/mcmurtry-speirling-electric-fan-hypercar-spc
1•zoomastigophore•9m ago•0 comments

The Proliferation of DarkSword: iOS Exploit Chain

https://cloud.google.com/blog/topics/threat-intelligence/darksword-ios-exploit-chain
2•wslh•9m ago•0 comments

Orbits: From idea to pre-IPO in one platform

https://the-orbits.com/
1•mnan•9m ago•1 comments

Choose Boring Tech

https://mcfunley.com/choose-boring-technology
2•krigath•11m ago•0 comments

Show HN: OpenHarness – Open-source TypeScript SDK for building AI agents

https://github.com/MaxGfeller/open-harness
3•MaxGfeller•11m ago•0 comments

Time to Dump Windows?

https://dennisforbes.ca/blog/microblog/2026/02/time_to_dump_windows/
6•llm_nerd•13m ago•1 comments

Jensen Huang doesn't need a new chip. He needs a new moat

https://www.cnbc.com/2026/03/19/column-jensen-huang-doesnt-need-a-new-chip-he-needs-a-new-moat.html
1•gmays•13m ago•0 comments

I Used Claude Code and Autoresearch to Trace My Family History Back to Jamestown

https://fulghum.io/genealogy
2•jordanf•14m ago•0 comments

On The Joy of Claude

https://pastebin.com/86DR8v8Y
1•tines•14m ago•0 comments

China's Technology Long Game

https://www.chinatalk.media/p/chinas-technology-long-game
3•speckx•14m ago•0 comments

Saudi Arabia takes Indian startup's help for satellite images

https://www.thehindubusinessline.com/news/saudi-arabia-takes-indian-startups-help-for-satellite-i...
1•thisislife2•15m ago•0 comments

Open Source Must Win

https://twitter.com/0xSero/status/2035022588439581076
2•simonebrunozzi•17m ago•1 comments

Couples where both WFH have 0.32 more babies

https://www.nber.org/papers/w34963
1•mandevil•18m ago•1 comments

Norwegian AI Championship

https://ainm.no/en
1•whirlwin•18m ago•0 comments

Show HN: Sift, a small CLI that groups noisy test failures into root causes

https://github.com/bilalimamoglu/sift
2•bimamoglu•19m ago•0 comments

Claude Code as Career Coach

https://seanplusplus.github.io/2026/03/20/claude-code-as-career-coach/
1•seanplusplus•22m ago•0 comments

Slap your MacBook, it yells back (Apple Silicon accelerometer)

https://github.com/taigrr/spank
4•ex-aws-dude•22m ago•1 comments