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!

Workers KV Instant – Powered by Quicksilver – Cloudflare Blog

https://blog.cloudflare.com/workers-kv-instant/
1•ilreb•26s ago•0 comments

Why So Many Social Science Claims Are False

https://www.realclearinvestigations.com/articles/2026/10/01/why_so_many_social_science_claims_are...
1•RickJWagner•1m ago•0 comments

Effective altruism is this century's biggest idea

https://www.economist.com/leaders/2026/10/01/effective-altruism-is-this-centurys-biggest-idea
1•Anon84•1m ago•0 comments

Rowbird – Open-source SQL scheduler for alerts and reports

https://rowbird.dev/
1•fabioselau•2m ago•0 comments

Show HN: Let customers automate tasks inside your SaaS

https://embedworkflow.com/
1•ewf•2m ago•0 comments

Zenkai: A Zig App Launcher That Starts in 20ms Sometimes

https://dayvster.com/blog/zenkai-a-zig-app-launcher-that-starts-in-20ms-sometimes/
1•ibobev•2m ago•0 comments

Circular relationships among AI firms

https://www.bis.org/publications/bulletin-137-circular-relationships-among-ai-firms
1•AnodicElegy•3m ago•1 comments

We linted 6,008 real database schemas. 45% of foreign keys have no index

https://blog.mcdview.dev/en/we-linted-6000-real-database-schemas/
1•PatuDev•3m ago•0 comments

Fast Blur with Animated Radius

https://aras-p.info/blog/2026/10/01/Fast-blur-with-animated-radius/
1•ibobev•3m ago•0 comments

Windows on AArch64 also provides for hot-patching, but much simpler than on x86

https://devblogs.microsoft.com/oldnewthing/20260930-00/?p=112744/
1•ibobev•4m ago•0 comments

Show HN: I made a technical trivia quiz app graded by AI

https://nadir.dev/
1•gmitrev•5m ago•0 comments

Memory Snapshots for CPython (Python Language Summit 2026)

https://blog.python.org/2026/09/language-summit-2026-memory-snapshots/
1•bucket2015•5m ago•0 comments

How to Wire Jev into Pi Coding Agent Without Losing Your Mind

https://grigio.org/how-to-wire-jev-into-pi-coding-agent-without-losing-your-mind/
2•grigio•6m ago•0 comments

Show HN: OIDC Inspector

https://contextiq.trango-compute.com
1•contextiq•6m ago•0 comments

OST to PST Converter Is Convert Exchange Outlook OST Files to Outlook PST

https://blog.perfectdatasolutions.com/ost-to-pst-converter-software-2/
1•tieanderson•6m ago•1 comments

Christa Gail Pike survives lethal injection attempt

https://apnews.com/article/christa-pike-execution-tennessee-f826a60582083b90ac7695ecb16afbdf
1•the_arun•7m ago•0 comments

An Overview of Differential Geometry

https://derangedmathematician.substack.com/p/an-overview-of-differential-geometry
1•chadcmulligan•7m ago•1 comments

Anyone else develop a system for open horizon tasks with minimum supervision

1•K0balt•7m ago•0 comments

R2 is partially down (slow)

https://www.pulsapi.com/services/r2
1•pinter69•8m ago•0 comments

McDonald's Is Reportedly Using AI to "Dynamically" Price Its Burgers

https://www.engadget.com/2272211/mcdonalds-is-reportedly-using-ai-to-dynamically-price-its-burgers/
1•speckx•8m ago•0 comments

Missouri issues new guidelines for Flock cameras, license plate readers

https://www.kmbc.com/article/missouri-flock-camera-license-plate-reader-guidelines/73968021
1•lenerdenator•10m ago•0 comments

Show HN: Omadesign 0.6.3 – Linux creative suite, cloud review, CJK IME

https://omadesign.app
1•michaelh_rley•11m ago•0 comments

We want you to build the next Git platform on Cloudflare

https://blog.cloudflare.com/next-git-platform-on-cloudflare/
1•tosh•11m ago•0 comments

Show HN: Nixm – AI chat that keeps no transcript (we measured the trade-off)

https://nixm.ai/
1•prousselet•11m ago•0 comments

Trump's AI rebrand causes 'unprecedented' demand for Slovenian website names

https://www.bbc.co.uk/news/articles/cqx2z23xj555o
3•timoth•12m ago•0 comments

Show HN: InferPilot – the vLLM doctor that tells you when fp8 won't help

https://github.com/poojithdevan4D/InferPilot
1•poojithdevan•13m ago•0 comments

Namespace – San Francisco/ New York / Zurich| Full-Time – Remote/Hybrid

https://namespace.so
1•hannahrsmith•14m ago•1 comments

Mitigating Memorization in LLMs

https://blog.janestreet.com/mitigating-memorization-in-llms/
1•torutofu•14m ago•0 comments

AWS reimagines the getting started experience

https://aws.amazon.com/blogs/aws/aws-reimagines-the-getting-started-experience/
2•aspittel•14m ago•0 comments

Is the Food Industry in Trouble?

https://www.foodpolitics.com/2026/09/is-the-food-industry-really-in-trouble/
1•speckx•14m ago•0 comments