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!

Show HN: Lean bulk, cut, body recomp. Calculate maintenance calories

https://macrocodex.app/
2•faangguyindia•10m ago•1 comments

The only cauldron ever found in a river in the British Isles

https://www.bbc.co.uk/news/articles/clyrn5e2k9no
1•nickt•10m ago•0 comments

Launch: MyIntelBrief – Smarter Competitor Monitoring

https://myintelbrief.com/
2•myintelbrief•11m ago•0 comments

Show HN: Cc-fleet – run other LLMs as Claude Code workers, your sub drives

https://github.com/ethanhq/cc-fleet
1•ethanhq•14m ago•0 comments

Show HN: Adbqr – ADB pair via QR code from the CLI

https://github.com/kristjan/adbqr
1•kristjan•19m ago•0 comments

Developers don't understand CORS (2019)

https://fosterelli.co/developers-dont-understand-cors
1•toilet•19m ago•0 comments

Australia confirms first case of H5N1 bird flu as virus reaches every continent

https://www.bbc.com/news/articles/c4gykxklvl5o
1•1659447091•22m ago•0 comments

White House delays US voting-machine vulnerability report

https://www.reuters.com/world/white-house-delays-release-us-voting-machine-study-midterms-near-20...
13•logickkk1•25m ago•0 comments

Hop.Earth – Google Maps and Need For Speed. World around created while driving

https://hop.earth/?server=RDgva&route=XxOaosUo
3•touchpadder•28m ago•1 comments

Data integrity in rqlite: what it checks and what it doesn't

https://rqlite.io/docs/guides/data-integrity/
1•otoolep•29m ago•0 comments

Ratchet – BIOS flashing toolkit with a built-in MCP server for AI agents

https://github.com/jackulau/ratchet
1•JackLau•31m ago•0 comments

Apple-FM – a command-line interface for Apple's on-device models

https://www.npmjs.com/package/apple-fm
2•brianwestphal•32m ago•2 comments

XRPentest: AI-powered security audit tool for VR/XR headsets

https://xrpentest.com
1•h_a_c_k•33m ago•0 comments

Google Can't Math Parsecs

https://www.lesswrong.com/posts/BmqzjcD4tGvy3bim8/google-can-t-math-parsecs
7•ubutler•38m ago•2 comments

How the AI Village Works

https://theaidigest.org/village/blog/how-the-ai-village-works
2•vinhnx•41m ago•0 comments

How Does One Brain Speak Two Languages?

https://www.nytimes.com/2026/06/15/science/brain-language-grammar.html
4•ripe•42m ago•0 comments

They Looked Like They Were Getting Rich on Polymarket–But None of It Was Real

https://www.wsj.com/business/media/polymarket-social-media-bets-prediction-market-441cdeb5
3•Vaslo•43m ago•0 comments

Parody Symbolics Lisp Machines software release (1982)

https://groups.google.com/g/comp.sys.ti.explorer/c/2sI_2_eOWug
1•gnodar•43m ago•0 comments

When I reject AI code even if it works

https://vinibrasil.com/when-i-reject-ai-code-even-if-it-works/
5•vnbrs•57m ago•1 comments

Show HN: GenAIDojo

https://www.genaidojo.io/
1•aniketwattawmar•1h ago•0 comments

An Apology for Idlers by Robert Louis Stevenson (1877) [video]

https://www.youtube.com/watch?v=a4T9pbxrlfw
2•SpiralLibrarium•1h ago•0 comments

Subquadratic claims it broke through a bottleneck that's holding back LLMs

https://www.technologyreview.com/2026/06/19/1139313/a-startup-claims-it-broke-through-a-bottlenec...
1•baddash•1h ago•0 comments

RocketAnalyzer · Streamlit

https://rocketanalyzer-ca7wd4a54c7sxjiuk6aewi.streamlit.app
1•ApplePanda03•1h ago•0 comments

Show HN: Rocannon – Any Ansible module to MCP Tool, record sessions as playbooks

https://github.com/msradam/rocannon
2•msradam•1h ago•0 comments

Adobe adds its AI assistant to Premiere, Illustrator, and InDesign

https://techcrunch.com/2026/06/18/adobe-adds-its-ai-assistant-to-premiere-illustrator-and-indesign/
3•breve•1h ago•0 comments

VibeThinker 3B – Taking on Giant Models [video]

https://www.youtube.com/watch?v=_a9Vv5dfW24
3•modinfo•1h ago•0 comments

A Visit to id Software ft Bobby Prince (1993) [video]

https://www.youtube.com/watch?v=HpEBUV_g9vU
4•qmr•1h ago•0 comments

The History of TypeScript

https://www.visualsource.net/repo/github.com/microsoft/typescript
4•pro_methe5•1h ago•0 comments

Show HN: Rlsgate – Block the Supabase RLS leak before you deploy (CLI)

https://github.com/GerardoRdz96/rlsgate
4•gerardordz96•1h ago•0 comments

'We had to get out of the way': The backlash over delivery robots

https://www.bbc.com/news/articles/c0rygp005wjo
17•higginsniggins•1h ago•5 comments