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!

Alan Kay: Xerox PARC, Steve Jobs, Dijkstra [video]

https://www.youtube.com/watch?v=GR9i8o4FwGw
1•Austin_Conlon•6m ago•0 comments

Overton Window

https://en.wikipedia.org/wiki/Overton_window
1•thunderbong•6m ago•0 comments

How to build 145 new LA parks

https://www.futureis.la/p/how-to-build-145-new-la-parks
1•mslate•7m ago•0 comments

Remotely unplugging a USB device on my Mac, without touching it

https://www.jeffgeerling.com/blog/2026/remote-control-usb-hub/
1•photon_collider•9m ago•0 comments

SynRAG – A fast CPU-only RAG engine

1•synlabspro•10m ago•0 comments

How to Misuse Code Coverage [pdf]

https://dl.icdst.org/pdfs/files4/4f1610425f388892871f923d0caebd15.pdf
1•hiohio•11m ago•1 comments

Engineers turn to tech to squeeze more out of constrained electricity grids

https://www.ft.com/content/7db3c2c9-dfad-4b5d-a8dc-aabf6fa87440
1•rustoo•14m ago•0 comments

Nancy's Thanks-Living

https://www.dgt.is/blog/2026-11-26-nancys-thanksliving/
1•jonotime•18m ago•1 comments

Show HN: Telegram image bot – 3 free AI images a day, 1 USDT = 10

https://alexchen-imgbot-sales.containers.snapdeploy.app/
1•alexchen-dev•24m ago•0 comments

How I built a global treasure hunt on hexagonal map tiles

https://needle.global/hexagons
2•jazzzooo•26m ago•1 comments

New Chinese electric brand in Australia, focused on soft-roading and off-roading

https://thedriven.io/2026/11/26/another-chinese-electric-brand-land-in-australia-this-time-focuse...
1•Alien1Being•27m ago•0 comments

The need for a formally verifiable mainstream programming language

https://blainehansen.me/post/mainstream-verifiable-language/
2•todsacerdoti•29m ago•1 comments

Show HN: AutumnDeck – Native Rust Windows 11 taskbar and widget suite

https://github.com/Shreyas123g/AutumnDeck
1•autumndeck92•31m ago•0 comments

Trump proposing new tariffs on 14 partners including EU

https://www.theguardian.com/us-news/2026/nov/25/trump-new-china-tariffs-europe
1•Alien1Being•32m ago•0 comments

Seven first-attempt tests of Seedance 2.5 Flash: timings, SSIM, and audio slips

https://vidney.ai/blog/seedance-2-5-flash-review
1•Sinaauiu•33m ago•0 comments

Secure Agentic Access to AWS with Enterprise-Managed Authorization

https://aws.amazon.com/blogs/security/secure-agentic-access-to-aws-with-enterprise-managed-author...
1•axis_official•36m ago•0 comments

Will We All Go Together When We Go?

https://quillette.com/2026/11/23/will-we-all-go-together-when-we-go-ai-alignment-scott-alexander-...
1•jaredklewis•36m ago•0 comments

The simplest way to let your users bring their own AI sub to power your AI app

https://byoa.rippling.computer/
1•_mad_eye_•36m ago•0 comments

Ask HN: Do coding harnesses not have prompt queue management features?

2•locusofself•44m ago•0 comments

Ports – names every dev server running on your machine

https://github.com/pyjeebz/ports
1•pyjeebz•46m ago•0 comments

"What's Claude's Fursona?" and Other Questions

https://herecomesthemoon.net/2026/11/whats-claudes-fursona/
33•Mond_•55m ago•1 comments

How much did proving the Riemann Hypothesis cost?

https://mun-logadan.github.io/riemann-tokens/
3•numeri•57m ago•2 comments

Ball-Lightning-Like Terahertz Solitons

https://www.researchsquare.com/article/rs-6473214/v1
1•1e1a•58m ago•0 comments

Union Vote Fails at GTA 6 Studio Rockstar Games as 75% of Devs Vote No

https://kotaku.com/rockstar-games-union-vote-fails-as-75-percent-of-devs-vote-no-2001000621
5•Danhale93•1h ago•0 comments

Paths to Extreme Power Concentration

https://newsletter.forethought.org/p/paths-extreme-power-concentration
2•gmays•1h ago•0 comments

Usaid Files: The Inclusion List the State Department Opposed

https://reclaimthenet.org/usaid-files-the-inclusion-list-the-state-department-opposed
4•latein•1h ago•0 comments

Jensen Huang Is Back, and So Is His Plaque at Denny's

https://www.nytimes.com/2026/11/26/business/dennys-jensen-huang-nvidia-plaque.html
1•reaperducer•1h ago•3 comments

HTML Renderer

https://github.com/geastack/html-renderer
1•arbayi•1h ago•0 comments

SSHFS: A network filesystem client to connect to SSH servers

https://github.com/libfuse/sshfs
1•thunderbong•1h ago•0 comments

Norse Atlantic Airways Collapses – Wages Unpaid, All Flights Canceled

https://loyaltylobby.com/2026/11/26/norse-atlantic-airways-collapses-wages-unpaid-all-flights-can...
1•lxm•1h ago•0 comments