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!

Build Your Customer Service Team with AI Agents

https://aimujib.com/
1•anaspro•1m ago•0 comments

Why America's prisons are shrinking and racial gaps are closing

https://www.nature.com/articles/s41562-026-02536-y
1•marojejian•10m ago•1 comments

Open Oscar Server: open-source server compatible with AIM and ICQ clients

https://github.com/mk6i/open-oscar-server
1•gregsadetsky•17m ago•0 comments

Show HN: HN Mirror with Image Previews

https://hackernews.beliantech.com/
1•ernsheong•17m ago•1 comments

Network Performance Issues in Phoenix, Los Angeles – Cloudflare Status

https://www.cloudflarestatus.com/incidents/f8ms50xkfn4t
1•kyisaiah47•23m ago•0 comments

OSSBeacon – explainable PR risk for open-source maintainers

https://github.com/closedfiles23-web/ossbeacon
1•rafae01019•24m ago•0 comments

GLM-5.3-Flash-GGUF

https://huggingface.co/unsloth/GLM-5.3-Flash-GGUF
3•walrus01•25m ago•1 comments

Bug Blindness

https://danluu.com/bug-blind/
6•davidmckenna•29m ago•0 comments

'Snooping' on Dolphins Reveals Hotspots for Food and Friends

https://www.fau.edu/newsdesk/articles/snooping-on-dolphins-acoustic-study
1•gmays•29m ago•0 comments

Personal Holding Companies, Tax Progressivity, and Inequality

https://www.nber.org/papers/w35534
1•marojejian•31m ago•1 comments

Show HN: Cardwall – free external A2A health check and status badge for agents

https://cardwall.ai/
1•nvwalj•33m ago•0 comments

Man accused of posing as SF 49ers player to defraud women out of $1.3M, feds say

https://www.cbsnews.com/sanfrancisco/news/man-poses-as-san-francisco-49ers-player-defrauds-26-wom...
3•randycupertino•33m ago•1 comments

India's 'Cockroaches' Are Fighting Back

https://www.nytimes.com/2026/08/29/opinion/india-gen-z-cockroach-movement.html
1•mikhael•34m ago•0 comments

Marked Share – Markdown Publishing

https://brettterpstra.com/2026/08/29/marked-share-markdown-publishing/
3•alsetmusic•41m ago•0 comments

Jeffy Loop What if coding agents had to prove they were done?

https://github.com/lenamonj/jeffy-loop
2•lenamonj•47m ago•1 comments

Show HN: From a 9MB app to processing video and batching up to 100 photo

https://apps.apple.com/us/app/pixzool-video-photo-editor/id6759997803
1•marshiyar•48m ago•0 comments

China's Super-Dam Is Becoming an Upstream Water Bomb

https://www.project-syndicate.org/commentary/china-himalayan-super-dam-dangerous-and-plan-lacks-t...
4•haltingproblem•50m ago•0 comments

Unsloth Desktop

https://unsloth.ai/docs/desktop
2•pentagrama•59m ago•1 comments

Laurie Anderson's manuscript to be locked away for 88 years in Future Library

https://www.theguardian.com/books/2026/aug/29/laurie-anderson-manuscript-88-years-future-library-...
2•mitchbob•59m ago•0 comments

Phaseonebig: Message Board for Agents

https://phaseonebig.com/
1•fmarasho•59m ago•0 comments

Focal.vc

https://focal.vc
1•audreyfei•1h ago•0 comments

Git3 – Use an S3 bucket as a Git remote

https://github.com/robertpitt/git3
3•robertpitt•1h ago•0 comments

Minimax H3 Max Live – An infinite broadcast is generated by the chat

https://www.twitch.tv/koumpas
2•amrrs•1h ago•0 comments

The Rise and Fall of Agent Civilizations

https://www.dwarkesh.com/p/openai-huggingface
4•consumer451•1h ago•0 comments

Ask HN: How do you handle the yearly 5% price increases of SaaS subscriptions?

2•hbarka•1h ago•1 comments

Speech to text in a crowded room with the OpenAI Realtime API

https://trpevski.com/blog/voice-assistant-noisy-environments-openai-realtime
2•gorillax•1h ago•1 comments

38% of Hugging Face Spaces are permanently broken; linked GitHub repos are fine

https://github.com/ashishsinha1602/dataset-integrity-audit
2•sinhaashish4u•1h ago•0 comments

New Chinese surveillance leaves foreigners nowhere to hide

https://www.dw.com/en/new-chinese-surveillance-leaves-foreigners-nowhere-to-hide/a-77246713
5•pir8life4me•1h ago•0 comments

How cats.txt showed llms.txt evidence is GEO astrology

https://markwilliamscook.substack.com/p/how-catstxt-showed-llmstxt-evidence
2•birdculture•1h ago•0 comments

FBI Disrupts Chinese Proxy Tools Used in Mass Hacking of US Agencies and Infrast

https://www.wired.com/story/fbi-disrupts-chinese-proxy-tools-used-in-mass-hacking-of-us-agencies-...
5•pir8life4me•1h ago•1 comments