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!

Europe wants a cloud champion. One of its best bets wants to be left alone

https://www.secondchapter.co/articles/hetzner-cloud-profile
1•doener•1m ago•0 comments

China's memory giant CXMT bets on domestic AI chip design as US tightens curbs

https://www.scmp.com/tech/tech-war/article/3376671/chinas-memory-giant-cxmt-bets-domestic-ai-chip...
1•minjunpark•1m ago•0 comments

Nvidia Kyber Galaxy Is Bringing Vera Rubin NVL72 to Space – ServeTheHome

https://www.servethehome.com/nvidia-kyber-galaxy-is-bringing-vera-rubin-nvl72-to-space/
1•rbanffy•3m ago•0 comments

Show HN: AgentProof – A flight recorder for Claude Code and MCP agents

https://agentproofchain.com/claude/
1•officialgovera•4m ago•0 comments

Resampling 400M CFD points in 0.46s in Rust (vs 12.5s in ParaView)

https://dimitritimoz.github.io/paraviz/
1•Aelorius•8m ago•0 comments

AI malfunctions when asked to repeat the letter "A" 100 times [video]

https://www.youtube.com/shorts/Trtm1QRCYRI
4•nvmdbljstm•9m ago•0 comments

Free audio transcription in the browser, no account needed

https://floxolab.com/tools/audio-to-text
1•floxolab•11m ago•0 comments

HPE Takes Aim at AI Tokenomics

https://www.nextplatform.com/compute/2026/12/03/hpe-takes-aim-at-ai-tokenomics/5314137
1•rbanffy•11m ago•0 comments

Task Force Realizing AI's Promise for All Americans

https://www.scsp.ai/realizing-ai-promise-for-all-americans/
8•ersinesen•13m ago•0 comments

The last week of cryptography announcements

https://twitter.com/VitalikButerin/status/2128284044098220408
1•tosh•15m ago•0 comments

The Proof That Shook Mathematics: AI Proof of the Riemann Hypothesis

https://spectrum.ieee.org/riemann-ai-proof
1•ersinesen•15m ago•0 comments

Superintelligence Questions

https://mccormick.cx/news/entries/superintelligence-questions
1•chr15m•15m ago•0 comments

The Pull Request Is Dead

https://twitter.com/moritzplassnig/status/2125382246492406181
1•tosh•17m ago•0 comments

Show HN: Asak – cross-platform audio recording/playback CLI tool written in Rust

https://github.com/chaosprint/asak
1•chaosprint•18m ago•0 comments

'Artificial retina' in trials seeks to help those with impaired vision

https://www.asahi.com/ajw/articles/16963168
1•BaudouinVH•20m ago•0 comments

AurionMail: E2EE suite (CryptPad/Stalwart) with single-password UX

https://aurion-mail.github.io/docs/
5•remiiiii•21m ago•1 comments

Forced Colour Testing

https://www.24a11y.com/2026/forced-colour-testing/
1•robin_reala•22m ago•0 comments

IBM Quantum Computing: The year of advantage and what comes next

https://www.ibm.com/quantum/blog/qdc-2026
3•thinkingemote•24m ago•0 comments

RTK 1.3 – Rust CLI proxy that cuts LLM token usage

https://github.com/rtk-ai/rtk/releases/tag/v1.3.0
2•patrick_rtk•29m ago•0 comments

Microsoft FreeHand Harness

https://github.com/microsoft/FreeHand
1•endangeredhuman•30m ago•0 comments

Rust rewrite of Blender: ~800x smaller, over 50x faster, 100x less RAM

https://www.reddit.com/r/aigamedev/comments/1yb7o7a/i_rewrote_blender_to_11mb_in_rust_800x_smaller/
5•KuhlMensch•30m ago•1 comments

Claude Ultra, Google AI Ultra are worth more than $10k a month at API prices

https://twitter.com/SemiAnalysis_/status/2128294227326926985
3•tosh•32m ago•1 comments

If free will is an illusion, what's left of intelligence?

https://medium.com/@meyborg/determinism-is-autocomplete-068269cd1e9d
4•Meyborg•34m ago•0 comments

Tecolot – Native Terminal for macOS

https://tecolot.com/
1•birdculture•35m ago•0 comments

Why untouched Go slices can end up in physical memory more often with GOMEMLIMIT

https://peng.fyi/post/unused-virtual-memory-can-use-physical-memory/
1•pengubco•36m ago•0 comments

Sony UAB-C200 USB-C DAC Announced

https://thewalkmanblog.com/2026/12/02/sony-uab-c200-usb-dac-announced/
2•haunter•37m ago•1 comments

Tell HN: Laravel Sheets

3•petervandijck•40m ago•0 comments

AI avatar glitches when asked to repeat "A" 100 times [video]

https://www.reddit.com/r/singularity/comments/1y7dknw/find_out_if_the_girl_youre_dating_online_is/
1•adererror•41m ago•0 comments

Pencils Down – AI agents that stop at every phase for human review

https://github.com/jamiemitchellconsultants/pencils-down
1•jamie_m_•44m ago•1 comments

PP-1 Turns Your iPhone into a Teenage Engineering OP-1 Inspired Pocket Studio

https://www.synthtopia.com/content/2026/12/01/pp-1-turns-your-iphone-into-a-teenage-engineering-o...
1•austinallegro•46m ago•0 comments