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!

Air Is Easing Out of the AI Bubble

https://www.theatlantic.com/ideas/2026/11/ai-bubble-returns-timeline/689504/
1•FinnLobsien•16s ago•0 comments

Show HN: Art50Scan: Check if your CDN silently strips C2PA metadata before Dec 2

https://art50-scan.ak10082247.workers.dev/
1•kurox_real•1m ago•0 comments

Four papers on Weil's RH proof for Spec Z, closed by Alpoge's Lean result

https://github.com/dtrejopizzo/riemann
1•dtrejopizzo•3m ago•0 comments

One terminal command gave my forgotten Android device a desk job

https://arstechnica.com/gadgets/2026/11/one-terminal-command-gave-my-forgotten-android-device-a-d...
2•PaulHoule•4m ago•0 comments

Taking Google's Rambler dictation out of Gboard

https://tomvaucourt.com/posts/burble/
1•T0mSIlver•7m ago•0 comments

Attention Latent Feedback

https://xjxyys.github.io/attention-latent-feedback/
1•E-Reverance•8m ago•0 comments

Pentagon in Talks with GM and Ford to Make Military Drones

https://www.wsj.com/politics/national-security/ford-general-motors-military-drones-c082d202
2•bookofjoe•10m ago•1 comments

Latwerg

https://nik.art/latwerg/
1•herbertl•13m ago•0 comments

Tono is an unofficial Rex client for (Omarchy) Linux

https://twitter.com/masegraye/status/2123123387421860236
1•mgdev•13m ago•1 comments

Designing a Reliable Unplanned Failover

https://planetscale.com/blog/designing-a-reliable-unplanned-failover
1•hollylawly•14m ago•0 comments

Eddie Slovik

https://en.wikipedia.org/wiki/Eddie_Slovik
3•olalonde•15m ago•0 comments

Show HN: Byname – open-source tool to see when AI assistants name your product

https://byname.dev/
1•jamesperkins•15m ago•0 comments

Invalidity of the Alpoge Proposed Proof of the Riemann Hypothesis

https://philpapers.org/rec/NIEIOT-2
5•FacZap•20m ago•0 comments

Show HN: Bifrost hit 10k stars on GitHub

https://github.com/maximhq/bifrost
1•aanthonymax•22m ago•0 comments

Interpretable morphology-based marked statistics

https://arxiv.org/abs/2611.31167
1•simonebrunozzi•22m ago•0 comments

Napkin Simulator

https://chuanqisun.github.io/napkin/
1•low_tech_punk•23m ago•1 comments

Shipping a Rust game on 8 platforms in 55 days

https://saltedcaramelgames.com/blog/loot-hole-rust-threejs-wgpu/
1•VoxelBoy•24m ago•0 comments

Show HN: See how a PCB via stub changes signal loss

https://impedora.com/
1•jorgeto•25m ago•0 comments

Show HN: Detecting slop at comparable accuracy as Pangram with 10mb of data

https://slopcheck.io/vs/pangram
1•SebastianSosa•26m ago•0 comments

Tokens Please

https://tokensplease.authnopuz.xyz/
1•mooreds•26m ago•0 comments

Top MIT Physicist: Anthropic Staff Openly Talk About 'Taking over the World'

https://novaramedia.com/2026/11/24/anthropic-staff-openly-talk-about-taking-over-the-world-claims...
3•mikhael•26m ago•0 comments

Show HN: AI Usage Menu, Claude Code and Codex limits in your Mac menu bar

https://github.com/navbuildz/ai-usage-menu
1•navdeepraj•28m ago•0 comments

NY Times banning photographers from using latest version of Photoshop

https://www.threads.com/@peterbaker/post/DgHHIz1FRpO
4•nonfamous•29m ago•1 comments

Microsoft declares 'Code Red' after historic outage, internal memos show

https://www.reuters.com/business/microsoft-declares-code-red-after-historic-outage-internal-memos...
6•thm•29m ago•4 comments

Agent Gadgets

https://benjamincongdon.me/blog/2026/11/23/Agent-Gadgets/
1•emschwartz•30m ago•0 comments

Modern Motherfucking Plaintext

https://dreamstation.systems/Modern%20Motherfucking%20Plaintext.txt
2•robinpie•31m ago•0 comments

The notion of 'positive masculinity' is dividing the male studies field

https://www.sciencenews.org/article/positive-masculinity-male-studies-field
2•PaulHoule•32m ago•0 comments

AI coding agent lacks context

https://leaddev.com/ai/your-ai-coding-agent-lacks-context
1•theanonymousone•33m ago•0 comments

Show HN: Kept, a local-first habit tracker

2•pvinis•33m ago•0 comments

Shop answers customers by itself,local LLM, no hosting, tunnel, tg and wa

https://ownshopai.store/
1•muthuishere•33m ago•0 comments