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: Archiver that opens every format

https://provost.unlimitedweb.space/
1•uws•37s ago•0 comments

A critical vulnerability allowing for arbitrary code execution in Chrome

https://app.opencve.io/cve/CVE-2026-134401
1•Orzelius•2m ago•0 comments

StarPulse – a native macOS menu bar monitor for Starlink

https://github.com/paulo-amaral/starlink-macos-menubar
1•lafaek•6m ago•0 comments

Show HN: Open Modeling – multidimensional modeling engine in the browser

https://om.cloudcell.nz/
1•cloudcell•7m ago•0 comments

Figma employee sues, alleging company forced her to confront harassers

https://techcrunch.com/2026/11/23/figma-employee-sues-alleging-company-forced-her-to-confront-har...
2•gpi•8m ago•0 comments

Bypassing Android Hardware Attestation from the Analyst's Chair

https://blog.quarkslab.com/bypassing-android-hardware-attestation.html
1•bincyber•9m ago•0 comments

Inverted Rook – A New Wargame for a New Kind of Crisis

https://www.rand.org/nsrd/projects/preparing-the-homeland.html
1•TruffleLabs•12m ago•0 comments

A faster algorithm for extracting hexadecimal digits of π

https://www.stylewarning.com/posts/faster-digit-extraction/
1•vinhnx•18m ago•0 comments

Serving Qwen via AWS Lambdas for fun and 80x negative profit

https://noahbuilt.it/writing/qwen-on-5600-lambdas
1•octember•19m ago•0 comments

Button Sounds – collection of professionally-recorded button clicks and presses

https://buttons.joshwcomeau.com/
2•gaurang_tandon•24m ago•0 comments

Show HN: Instant Calc Hub – fast, free calculators, no sign-up

https://instantcalchub.com/
1•davidlue•25m ago•0 comments

Voice-First Smoke Tester — does your voice-first app actually work by voice?

https://github.com/davidcareins-coder/voice-first-smoke-tester
1•davidleecareins•26m ago•0 comments

FastFrames: Video Generation at Interactive Latency

https://huggingface.co/apple/FastFrames-S
2•nnx•26m ago•0 comments

Nvidia Option Trader Scores 1,984% Gain After CEO Huang's Return

https://www.bloomberg.com/news/articles/2026-11-24/nvidia-option-trader-scores-1-984-gain-after-c...
2•TMWNN•27m ago•0 comments

Show HN: Carry – Save every AI conversations as Markdown, in a folder you Own

https://carry.md/
1•iankit17•28m ago•0 comments

Open detection rules for AI agent attack frameworks

https://github.com/ThreatDefence/agentic-attack-detections
1•AntonGuzhevskiy•29m ago•0 comments

Kalshi Users Under 21 Lost $8.9M in NYC

https://www.bloomberg.com/news/articles/2026-11-24/nyc-calls-on-kalshi-polymarket-to-testify-on-m...
1•gmays•34m ago•0 comments

Interview with a Productivity Freak in 2026

https://www.youtube.com/watch?v=guvFKt_Zjqw
2•vismit2000•36m ago•0 comments

Show HN: Sliding-panes React UI library (inspired by WebOS Enyo)

https://vcarl.com/sashay/
1•vcarl•36m ago•0 comments

Skip cloud GPUs: batch ML locally on Mac GPU and Neural Engine (up to 11x MLX)

https://github.com/mikewolfd/fast-silicon
2•mikewolfd•39m ago•0 comments

The Chicago Three-Way [video]

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

Macrohistory in Six Facts

https://basilhalperin.com/essays/macrohistory.html
2•tptacek•42m ago•0 comments

Bypassing iOS Safari's 60 FPS Limit to Build Web Applications That Feel Native

https://rida.dev/blog/bypassing-ios-safari-60-fps-limit
2•vinhnx•42m ago•0 comments

Lua for Data Representation

https://citrons.xyz/journal/2025-07-23
2•vinhnx•43m ago•0 comments

Show HN: Mergeon – A native desktop Git client written in Rust with GPUI

https://github.com/Spilveru/mergeon
1•Spilveru•43m ago•0 comments

I've been drinking wine in my kitchen

https://scottaaronson.blog/?p=10362
4•nill0•45m ago•2 comments

Top open problems in mathematics ranked by LLM-assessed importance

https://www.proofatlas.ai/open-problems/
2•ijidak•45m ago•0 comments

Network Researchers Nail Down Theory of 'Perfect Resilience'

https://www.quantamagazine.org/network-researchers-nail-down-theory-of-perfect-resilience-20261120/
3•ibobev•46m ago•0 comments

Bo3mac: Static ARM64 Recompiler and Direct Metal Port of Black Ops III

https://github.com/mawlicious/bo3mac
1•mawlicious•47m ago•0 comments

Are the Top Literary Scholars Being Targeted by a Chinese Spy Op?

https://www.vanityfair.com/story/worlds-top-literary-scholars-targeted-by-chinese-spy-op
2•areoform•47m ago•0 comments