frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•11mo 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!

A practitioner's framework for engineering trust from unreliable agents

https://michael.roth.rocks/research/trust-topology/
1•pramodbiligiri•59s ago•0 comments

The Multitasking Myth (2006)

https://blog.codinghorror.com/the-multi-tasking-myth/
2•rzk•1m ago•0 comments

KLM cancels 160 flights due to fuel shortage

https://www.theguardian.com/business/live/2026/apr/16/uk-february-gdp-report-economy-iran-war-sto...
1•slow_typist•2m ago•0 comments

Uigen: A runtime front end for any OpenAPI described API

https://github.com/darula-hpp/uigen
1•thunderbong•3m ago•0 comments

Mneme – project memory injection for LLM workflows

https://github.com/TheoV823/mneme
1•Tval•6m ago•0 comments

50% of AI Data Centers Have Been Cancelled or "Delayed" [video]

https://www.youtube.com/watch?v=w-DVTHH1ux8
2•52-6F-62•7m ago•0 comments

Trying to Build Your Own Consumer-Grade Router in 2026

https://hackaday.com/2026/04/16/trying-to-build-your-own-consumer-grade-router-in-2026/
3•speckx•8m ago•0 comments

Inertia Moves to Commercialize Fusion

https://techcrunch.com/2026/04/14/inertia-moves-to-commercialize-one-of-the-worlds-most-elaborate...
1•gmays•8m ago•0 comments

Project Think: building the next generation of AI agents on Cloudflare

https://blog.cloudflare.com/project-think/
2•Brajeshwar•9m ago•0 comments

AMD ROCm: 40x slower at linear algebra than older Nvidia GPUs

https://github.com/ROCm/rocm-jax/issues/278
2•PhilipVinc•9m ago•1 comments

Using government APIs to track AI job displacement

https://jtallant.github.io/cookindex/
1•jtallant•11m ago•0 comments

Show HN: A tool for automatically grading/sorting astrophotography FITS frames

https://github.com/chrischtel/ophi
1•chrischtel•12m ago•0 comments

C++20 Modules: The Tooling Gap

https://ignition.github.io/posts/cpp20-modules-the-tooling-gap/
1•ignition•13m ago•0 comments

Are psychedelics better than antidepressants? New study says no

https://medicalxpress.com/news/2026-03-psychedelics-antidepressants.html
2•PaulHoule•13m ago•1 comments

Your AI Excitement Is Someone's AI Apprehension

https://metedata.substack.com/p/007-your-ai-excitement-is-someones
2•young_mete•15m ago•0 comments

Code is not even close to half the battle

https://aleksei.dev/code-is-not-even-close-to-half-the-battle/
3•speckx•16m ago•0 comments

Show HN: AriaType v0.3 Has Come – Fast and Private Voice to Text Input Client

https://github.com/joe223/ariatype
2•Joe_Harris•17m ago•0 comments

Tech Goes Invisible [video]

https://www.youtube.com/watch?v=CEeUF1dW1kg
3•ericjamesward•18m ago•0 comments

Mnemo – a local-first notepad that acts as memory for AI agents

https://github.com/fwgadmin/mnemo
2•mhome9•19m ago•0 comments

Starlink outage hit drone tests, exposing Pentagon's growing reliance on SpaceX

https://www.reuters.com/business/media-telecom/starlink-outage-hit-drone-tests-exposing-pentagons...
3•ilamont•20m ago•0 comments

Building an Unverified Compiler with Agents

https://www.basis.ai/blog/verified-compiler/
2•gopiandcode•21m ago•0 comments

They Hacked Claude, Gemini, and Copilot (and No One Told You)

https://grith.ai/blog/we-hacked-claude-gemini-copilot?16-apr
3•edf13•23m ago•0 comments

Claude is about to begin its KYC verification process

https://old.reddit.com/r/ClaudeAI/comments/1smr9vs/claude_is_about_to_begin_its_kyc_verification/
3•ryangg•23m ago•0 comments

How Do You See What Cannot Be Seen?

https://news.columbia.edu/news/how-do-you-see-what-cannot-be-seen
2•danielmorozoff•24m ago•0 comments

How are you connecting cloud spend to business outcomes?

2•Ask-Winston•25m ago•0 comments

Show HN: Marky – A lightweight Markdown viewer for agentic coding

https://github.com/GRVYDEV/marky
2•GRVYDEV•25m ago•0 comments

Data breach at edtech giant McGraw Hill affects 13.5M accounts

https://www.bleepingcomputer.com/news/security/data-breach-at-edtech-giant-mcgraw-hill-affects-13...
3•Brajeshwar•25m ago•0 comments

Succinct Data Structures: Cramming 80k words into a JavaScript file

https://stevehanov.ca/blog/succinct-data-structures-cramming-80000-words-into-a-javascript-file
2•tosh•26m ago•0 comments

Skwik – Turn iPhone photos into scaled measurements for CAD work

https://usr-ein.github.io/skwik/
2•sam1902•29m ago•1 comments

Show HN: Stack – the control plane for AI agents

https://getstack.run/
2•tiel88•30m ago•0 comments