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!

AI models have caught up with Unity dev

https://www.reddit.com/r/gamedev/comments/1wo5asm/ai_models_have_caught_up_with_unity_dev_my/
1•reasonableklout•1m ago•0 comments

Mechanistic reasoning in biology among elementary school children

https://www.tandfonline.com/doi/full/10.1080/10508406.2024.2432682
1•wslh•2m ago•0 comments

David Letterman meets Manny the Hippie in Haight-Ashbury (1996) [video]

https://www.youtube.com/watch?v=7QrRDUasQp8
1•MilnerRoute•2m ago•0 comments

Handwritten Notes for Friends and Machines

https://ifup.org/blog/handwritten-notes-with-friends-and-machines/
1•philips•3m ago•0 comments

AI Exec: We May Have Pulled Off "The Largest Theft of Labor in Human History"

https://www.motherjones.com/politics/2026/09/openai-chatgpt-microsoft-copyright-legal-case-docume...
2•pluc•4m ago•0 comments

Turbo Vision for Rust

https://tv.enzolombardi.net/
1•networked•5m ago•0 comments

Ask HN: Did you not get the warnings about building thinking machines in Dune?

2•roschdal•9m ago•1 comments

Video CDs Break Windows Explorer

https://clydesnotes.blogspot.com/2026/08/video-cds-break-windows-explorer.html
2•ClydeN•9m ago•0 comments

Stock Buybacks and Quarterly Thinking: How America Fell Behind in Battery Tech

https://www.ineteconomics.org/perspectives/blog/the-u-s-battery-maker-that-could-and-the-u-s-auto...
2•paimapi•12m ago•0 comments

Show HN: CaughtShipping – curfew app for developers, enforced by a public wall

https://caughtshipping.com/
1•misulicus•12m ago•0 comments

Who is going to teach the junior developers?

https://blog.luap.info/who-is-going-to-teach-junior-developers.html
6•polote•15m ago•2 comments

Seed Game

https://seed.game/early-access
2•jackhalford•15m ago•0 comments

Show HN: Shielded Bitcoin – private payments on Bitcoin, proven in the browser

https://shielded.bitcoin.pe/
1•harshjv•15m ago•0 comments

Schools for the poor are not poor schools

https://www.economist.com/united-states/2026/09/24/schools-for-the-poor-are-not-poor-schools
1•andsoitis•16m ago•0 comments

My brother's new high rise apartment doesn't allow individual internet services

https://www.reddit.com/r/mildlyinfuriating/s/mQRDnpsNvs
3•nixass•17m ago•1 comments

Show HN: Billed – a one-time-purchase invoicing app (no subscription)

https://apps.microsoft.com/detail/9nbs6t5cjpdp?hl=en-US&gl=US
1•billed•19m ago•0 comments

Goetics: On Go as a Tool for Creative Expression [video]

https://www.youtube.com/watch?v=kTcoVUEmJ4I
2•caycep0llard•19m ago•0 comments

Ask HN: Have you read the Dune books by Frank Herbert?

1•roschdal•26m ago•2 comments

Nifty little macOS toolbar tool to track daily usage

https://github.com/shrivara/token-bar
1•Hasaber8•27m ago•0 comments

Ask HN: Why doesn't Apple provide Xcode 27's markdown editor as a separate app?

2•amichail•29m ago•6 comments

Blocking Your Adblocker. How to be an asshole, programmatically

https://medium.com/@vmsp/blocking-your-adblocker-967d1c6e48f2
1•birdculture•29m ago•0 comments

The world has a grounding problem

https://aclevername.substack.com/p/the-world-has-a-grounding-problem
2•utilityhotbar•29m ago•0 comments

The tiny island where Chinese mothers travel to give birth to American babies

https://www.telegraph.co.uk/us/news/2026/09/26/saipan-birth-tourism-us-citizens/
1•cwwc•29m ago•0 comments

AMD Takes the Lid Off of Next-Gen EPYC 9006 Venice as Zen 6 Comes to Servers

https://www.servethehome.com/amd-takes-the-lid-off-of-next-gen-epyc-9006-venice-as-zen-6-comes-to...
2•rbanffy•31m ago•0 comments

Show HN: OrbitalNote – A modern desktop orgmode editor with calendar and agenda

https://orbitalnote.org/
1•mannders•37m ago•0 comments

C64 MERCENARY (1985): a novel exploit bug at the start of the game

https://gamesexplained.com/c64/mercenary/
2•a1r•39m ago•1 comments

I built my daughter a custom alarm clock because everything on Amazon sucked

https://reclaimtheday.substack.com/p/i-built-my-daughter-a-custom-smart
5•pneedleman•41m ago•3 comments

A4 paper format / International standard paper sizes (2025)

https://www.cl.cam.ac.uk/~mgk25/iso-paper.html
3•Tomte•42m ago•0 comments

Creating applications using the drag-and-drop is a pleasure

https://nimoxi.com/spikeui/
2•Caronte3D•46m ago•0 comments

ThePrimeagen Joins Omarchy

https://omarchy.org/news/2026/09/theprimeagen-joins-omarchy-core/
4•mellosouls•47m ago•0 comments