frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Tell HN: Anthropic is down (Sonnet 5 imminent?)

1•obiefernandez•24s ago•0 comments

BotLovin – AI bots autonomously dating each other

https://www.botlovin.ai/
1•hughbird•35s ago•1 comments

Show HN: I built an AI movie making and design engine in Rust

https://github.com/storytold/artcraft
1•echelon•40s ago•0 comments

Lunar mission is delayed to March after problems in NASA's dress rehearsal

https://www.houstonpublicmedia.org/articles/news/nasa/2026/02/03/542379/moon-nasa-artemis-2-launc...
1•DustinEchoes•48s ago•0 comments

Compiling to Categories

http://conal.net/papers/compiling-to-categories/
1•fanf2•1m ago•0 comments

Show HN: Searchable archive of 900 books mentioned on Conversations with Tyler

https://cwtbookarchive.com/
1•jackyli02•1m ago•0 comments

Tell HN: Claude Is Down

2•stuartjohnson12•2m ago•3 comments

Show HN: EnforceAuth GA Launch

https://enforceauth.com/contact?inquiry=waitlist
1•EnforceAuthMark•2m ago•1 comments

Tell HN: Claude Code Is Down

8•sunbum•3m ago•5 comments

Scientists tried to give people Covid – and failed (2024)

https://www.nature.com/articles/d41586-024-01284-1
2•CGMthrowaway•3m ago•0 comments

OpenAI's ChatGPT push triggers senior staff exits

https://www.ft.com/content/e581b7a4-455c-48e6-a87c-c39bb9c62a12
1•1vuio0pswjnm7•3m ago•0 comments

ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
1•matt_d•4m ago•0 comments

Wave: Python Domain-Specific Language for High Performance Machine Learning

https://github.com/iree-org/wave
1•nateb2022•5m ago•0 comments

Why Not Tail Recursion?

https://futhark-lang.org/blog/2026-01-20-why-not-tail-recursion.html
1•PaulHoule•6m ago•0 comments

FISA of 1978 Amendments Act of 2008

https://en.wikipedia.org/wiki/FISA_of_1978_Amendments_Act_of_2008
1•greyface-•8m ago•0 comments

How long does it take the sun to rotate?

https://www.livescience.com/space/the-sun/how-long-does-it-take-the-sun-to-rotate
1•Brajeshwar•8m ago•0 comments

Preserved hair reveals just how bad lead exposure was in the 20th century

https://www.livescience.com/health/preserved-hair-reveals-just-how-bad-lead-exposure-was-in-the-2...
3•Brajeshwar•8m ago•0 comments

A mathematical framework for optimizing robotic joints

https://techxplore.com/news/2026-02-mathematical-framework-optimizing-robotic-joints.html
1•Brajeshwar•8m ago•0 comments

Production logs contain user passwords. And you're feeding them to A

https://risk-mirror.vercel.app
1•Raviteja_•9m ago•1 comments

Show HN: Trappsec – open-source library to catch attackers probing your API

https://trappsec.dev/
2•kyuradar•9m ago•0 comments

Where Is A.I. Taking Us?

https://www.nytimes.com/interactive/2026/02/02/opinion/ai-future-leading-thinkers-survey.html
1•us321•10m ago•0 comments

Show HN: TrendScope – Real-time financial sentiment analysis on a cheap VPS

https://trendscope.akamaar.dev/
1•mohammede•11m ago•0 comments

The next steps for Airbus' big bet on open rotor engines

https://aerospaceamerica.aiaa.org/the-next-steps-for-airbus-big-bet-on-open-rotor-engines/
2•CGMthrowaway•11m ago•0 comments

GitHub Actions are unreliable again at 10:30ET

https://twitter.com/mitchelsellers/status/2018703259326685633
2•bhouston•11m ago•1 comments

Lurie working with Laurene Powell Jobs, Jony Ive on secretive SF branding effort

https://sfstandard.com/2026/02/03/daniel-lurie-laurene-powell-jobs-jony-ive-sf-branding/
2•coloneltcb•11m ago•0 comments

The hideous, exploitative, but still addictive world of vertical dramas

https://www.avclub.com/vertical-dramas-style-popularity-cost-reelshort-dramabox-exploitative-addi...
1•evan_•14m ago•0 comments

Show HN: We scanned 306 MCP servers – 10% have critical vulnerabilities

https://mcpsafe.org/
1•itaiwins•14m ago•0 comments

TLDR: AI took your job

https://edwardelson.substack.com/p/somethings-better-than-nothing
2•dchi04•14m ago•0 comments

Data Brokers Can Fuel Violence Against Public Servants

https://www.wired.com/story/how-data-brokers-can-fuel-violence-against-public-servants/
4•achristmascarl•14m ago•0 comments

The rise of one-pizza engineering teams

https://www.jampa.dev/p/the-rise-of-one-pizza-engineering
1•jampa•15m ago•0 comments