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!

Show HN: SpearTrades – Crypto risk, health and portfolio analytics

https://speartrades.com
1•sumitarya•1m ago•0 comments

Programming Aphorisms

https://matklad.github.io/2026/02/11/programming-aphorisms.html
1•signa11•2m ago•0 comments

The "Are You Sure?" Problem: Why Your AI Keeps Changing Its Mind

https://www.randalolson.com/2026/02/07/the-are-you-sure-problem-why-your-ai-keeps-changing-its-mind/
1•EvgeniyZh•2m ago•0 comments

Show HN: Cross-platform audio notifications for Claude Code

https://github.com/ChanMeng666/claude-code-audio-hooks
1•chanmeng666•3m ago•0 comments

Show HN: Emergent Field Explorer – interactive moiré with easy shareable links

https://mcbgl.vercel.app/?p=eyJ2ZXJzaW9uIjoyLCJzZXR0aW5ncyI6eyJsYXllcjEiOnsic3BhY2luZyI6MzksInNpe...
1•mcdowell_atx•4m ago•0 comments

My wife calls me, panicked

https://twitter.com/ModernDad/status/2021675945581486309
2•latchkey•5m ago•0 comments

Ask HN: How do you deal with long Covid?

2•manx•8m ago•1 comments

Outcome Engineering – The o16g Manifesto. It was never about the code

https://o16g.com/
1•donutshop•19m ago•0 comments

Add paths filter and concurrency to coverage workflow docs

1•nishiohiroshi•20m ago•0 comments

What's it like to go through the FedRAMP process?

https://cyberscoop.com/radio/greg-talks-with-matt-kapko-about-a-whirlwind-week-around-clops-targe...
1•felineflock•23m ago•0 comments

Deep Dive into New York City Air Traffic Control (2019)

https://josephgunnwriting.wordpress.com/2019/06/13/deep-dive-into-new-york-city-air-traffic-contr...
1•asleepawake•24m ago•0 comments

OpenClaw but Running on My iPhone

2•readsdiggdaily•27m ago•0 comments

Show HN: NixOS flake for hardened OpenClaw deployment

https://github.com/Scout-DJ/openclaw-nix
1•scout_agent•28m ago•0 comments

Lex Fridman x Peter Steinberger Podcast

https://www.youtube.com/watch?v=YFjfBk8HI5o
1•jaytyagi•28m ago•0 comments

Moltbook Looked Like an Emerging AI Society, but Humans Were Pulling the Strings

https://www.forbes.com/sites/ronschmelzer/2026/02/10/moltbook-looked-like-an-emerging-ai-society-...
1•United857•37m ago•1 comments

Trump's Ruinous, Failed Attempt to Indict Congressional Democrats

https://www.nationalreview.com/2026/02/trumps-ruinous-failed-attempt-to-indict-congressional-demo...
2•petethomas•38m ago•0 comments

The Zero-Inventory Hardware Company

https://miguelarmengol.com/blog/the-zero-inventory-hardware-company-i/
1•miki_tyler•43m ago•0 comments

Show HN: MoltHub – GitHub for AI Agents with Trust-Based Auto-Merge

https://molt-hub.org
1•yaluotao•47m ago•0 comments

Proof-Oriented Programming in F*

https://fstar-lang.org/tutorial/
1•todsacerdoti•47m ago•0 comments

Dear Agent: Prove It

https://rijnard.com/blog/dear-agent-proof
1•ghuntley•48m ago•0 comments

Reflections on Using Claude Code

http://ternarysearch.blogspot.com/2026/02/reflections-on-using-claude-code.html
2•paladin314159•48m ago•0 comments

Results from the Advent of FPGA Challenge

https://blog.janestreet.com/advent-of-fpga-challenge-2025-results/
2•zdw•53m ago•0 comments

Island Enterprise Browser: Intelligent security built into the browsing session

https://www.helpnetsecurity.com/2023/07/05/mike-fey-island-enterprise-browser/
1•felineflock•56m ago•0 comments

Victorian Engineering Connections Diagram from the Brunel Museum

https://thebrunelmuseum.com/engineering-connections/
2•felineflock•1h ago•1 comments

Self-Distillation Enables Continual Learning

https://self-distillation.github.io/SDFT.html
1•teleforce•1h ago•0 comments

Distributed Llama

https://github.com/b4rtaz/distributed-llama
3•oldfuture•1h ago•0 comments

GLM-5 was trained entirely on Huawei chips

https://glm5.net/
5•wildcatqz•1h ago•2 comments

Show HN: Prompt Builder – A block-based editor for composing AI prompts

https://www.promptbuilder.space/
1•Jaber_Said•1h ago•0 comments

Dawson's Creek star James Van Der Beek has died at 48 from colon cancer

https://www.npr.org/2026/02/11/nx-s1-5552216/james-van-der-beek-dead-dawsons-creek
3•donsupreme•1h ago•0 comments

ClawShield – Security audit tool for OpenClaw deployments

https://github.com/policygate/clawshield
1•jonscott3333•1h ago•2 comments