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!

Rocket.Chat ABAC Structure

https://kevinaleman.com/how-abac-works-in-rocketchat/
1•window1protec•4m ago•0 comments

When Belonging Means Believing, Even Preschoolers Resist Changing Their Minds

https://psychandneuro.duke.edu/news/when-belonging-means-believing-even-preschoolers-resist-chang...
1•rohanm93•4m ago•0 comments

Glue work is still harmful in the age of AI

https://www.seangoedecke.com/glue-work-is-still-harmful-in-the-age-of-ai/
1•gpi•6m ago•0 comments

Ponytail vs. a good AGENTS.md: What we found on our real codebase

https://docspring.com/blog/posts/ponytail-vs-agents-md/
2•nathan_f77•12m ago•0 comments

Introducing OWE-Bench for Long-Horizon Engineering Projects

https://www.mercor.com/blog/introducing-owe-bench/
1•matt_d•17m ago•0 comments

Show HN: Real-time inventory of natural stone slabs in US

https://slabby.org/
1•dhruvkar•18m ago•0 comments

Qwen3.8 re-educated with a more Western worldview

https://www.theregister.com/ai-and-ml/2026/11/13/alibabas-qwen38-re-educated-with-a-more-western-...
1•NordStreamYacht•22m ago•0 comments

They Were the Indispensable CEOs–Until They Weren't

https://www.wsj.com/business/they-were-the-indispensable-ceosuntil-they-werent-1bb8a52c
1•marc__1•23m ago•0 comments

WMP Goodies

https://sites.google.com/view/wmpgoodies/home
1•themaxdavitt•24m ago•0 comments

North Korean hackers used fake video calls in $400M crypto hack, says FBI

https://www.bbc.com/news/articles/cqdj1ellpd70o
2•1659447091•27m ago•0 comments

Jensen Huang expected to testify before Congress

https://www.theguardian.com/technology/live/2026/nov/13/nvidia-jensen-huang-to-testify-before-con...
5•byte_0•30m ago•0 comments

Defunct Company Data Partnership

https://company.micro1.ai/register/?referralCode=340999d4-30b9-44d7-82c0-c6fda55a3d3e&utm_source=...
2•dkggwl1990•31m ago•0 comments

AI Security Wiki

https://nachi065.github.io/AI-Security-Wiki/
3•totetsu•31m ago•1 comments

Don't Underestimate Swift: Learnings Building Back Ends with Hummingbird/Vapor

https://wearecommunity.io/communities/mobilepeople/articles/8881
1•frizlab•32m ago•1 comments

Show HN: I built a Rick and Morty explainer video generator

https://usediorama.com/rick-and-morty
3•dixitbavu•33m ago•4 comments

Octen-WebGR, a 4B model that memorized 200M URLs (open weights, live demo)

https://huggingface.co/Octen/Octen-WebGR-4B
3•kunka_octen•35m ago•0 comments

FDA Approves First Factor Xla Inhibitor to Help Prevent Stroke

https://www.fda.gov/news-events/press-announcements/fda-approves-first-factor-xla-inhibitor-help-...
3•geox•38m ago•0 comments

Feel the AGI [video]

https://www.youtube.com/watch?v=YMFjMYOkpgM
1•HowyHugh•39m ago•0 comments

The Land and the Landfill

https://urbanomnibus.net/2026/11/the-land-and-the-landfill/
2•wawayanda•40m ago•0 comments

Making nuclear fusion in your kitchen

https://hudzah.substack.com/p/making-nuclear-fusion-in-your-kitchen
2•niallsmart•41m ago•0 comments

Read the Aubrey-Maturin series. Before it's too late

https://mapwriting.substack.com/p/read-the-aubrey-maturin-series-before
8•chandlerh•41m ago•2 comments

Tailcat for Minecraft

https://github.com/tailscale/tailcat-for-minecraft
2•LelouBil•42m ago•0 comments

The Glued Cup

https://idle.news/blog/the-glued-cup/
1•colinprince•43m ago•0 comments

When the Observer Stole the Universe

https://pansophics.substack.com/p/when-the-observer-stole-the-universe
1•saadchakra•53m ago•0 comments

Mac-assed Mac app (2020)

https://daringfireball.net/linked/2020/03/20/mac-assed-mac-apps
3•guessmyname•53m ago•0 comments

Mythos got Claude running on AMD chips in three days, a job that took months

https://madrobot.blog/2026/11/11/anthropic-mythos-claude-amd-chips-three-days/
2•mroche•56m ago•1 comments

A real-time database of Indian state GDP

https://itihasdata.org/
1•hunglee2•57m ago•0 comments

How are database migrations handled for FusionAuth Cloud instances?

https://fusionauth.io/community/forum/topic/3345/how-are-database-migrations-handled-for-fusionau...
2•mooreds•58m ago•0 comments

State of the tech job market: late 2026

https://www.lennysnewsletter.com/p/state-of-the-tech-job-market-late
4•mooreds•59m ago•0 comments

Microsoft outage drags on for hours, disrupting Outlook, Teams for thousands

https://www.reuters.com/technology/microsoft-365-outlook-down-thousands-us-users-downdetector-sho...
3•JumpCrisscross•1h ago•1 comments