frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

How do you evaluate a person's ability to use AI?

1•imwoody•3m ago•0 comments

Secure-Massively-Multiplayer-Snake

https://eieio.games/blog/secure-massively-multiplayer-snake/
1•colinprince•3m ago•0 comments

Claude-search – grep, resume your Claude Code session history from the CLI

https://github.com/pi-netizen/claude-search
1•pi-netizen•4m ago•1 comments

Under Secretary of Defense Emil Michael Response to Dario Amodei

https://xcancel.com/uswremichael/status/2027211708201058578?s=12
2•grej•5m ago•1 comments

Green Eggs and HAM (Hierarchical Agent Memory)

https://github.com/kromahlusenii-ops/ham
2•Luseniik•6m ago•1 comments

Energym: Move the World

https://www.aicandy.be/giorgio-1
1•zdw•8m ago•0 comments

Tonka beans are illegal in the US

https://www.bbc.com/future/article/20170620-the-delicious-flavour-with-a-toxic-secret
2•valzevul•9m ago•0 comments

OpenClaw Hype: Analysis of Chatter from the Dark Web (BleepingComputer)

https://www.bleepingcomputer.com/news/security/the-openclaw-hype-analysis-of-chatter-from-open-so...
1•ildar•12m ago•0 comments

Any Website Can Take Full Control of Your OpenClaw Agent (Oasis)

https://www.oasis.security/blog/openclaw-vulnerability
1•ildar•14m ago•0 comments

Show HN: Cecil – open-source memory and identity protocol for AI

https://github.com/johnkf5-ops/cecil-protocol
1•JohnKnopf•17m ago•1 comments

New AirSnitch attack breaks Wi-Fi encryption in homes, offices, and enterprises

https://arstechnica.com/security/2026/02/new-airsnitch-attack-breaks-wi-fi-encryption-in-homes-of...
1•brie22•18m ago•0 comments

Show HN: HeadshotAI – Professional AI headshots in 30 seconds for £4.99

https://headshotai-mvp-jb.netlify.app
1•jackbventures•26m ago•2 comments

China piles pressure on Japan after Takaichi Sanae's triumph

https://www.economist.com/asia/2026/02/26/china-piles-pressure-on-japan-after-takaichi-sanaes-tri...
2•petethomas•31m ago•0 comments

The Cron King

http://thecronking.com/
1•thebuilderjr•37m ago•0 comments

Can LLMs reason about math? The Subtraction Trick Test

https://haversine.substack.com/p/can-llms-reason-about-math-the-subtraction
3•MakeAJiraTicket•37m ago•1 comments

Show HN: Toggl lock‑screen widget for real‑time time tracking

https://apps.apple.com/ca/app/toggl-lockscreen-widget/id6756894639
1•dakoder36•42m ago•0 comments

How Anthropic Teams use Claude Code [pdf]

https://www-cdn.anthropic.com/58284b19e702b49db9302d5b6f135ad8871e7658.pdf
2•carlsborg•42m ago•0 comments

User Interview #3

https://twitter.com/AviSchiffmann/status/2026798365489725742
1•d_silin•43m ago•0 comments

Show HN: CodeLeash: framework for quality agent development, NOT an orchestrator

https://codeleash.dev/
2•cadamsdotcom•44m ago•0 comments

Principia Mathematica, Vol. 1

https://www.gutenberg.org/cache/epub/78050/pg78050-images.html
2•petethomas•44m ago•0 comments

Show HN: VeryBot – Self-hosted AI assistant for work

https://github.com/charlie0077/verybot
1•verybot•45m ago•0 comments

The Hunt for Dark Breakfast – Can we derive breakfasts we have never observed?

https://moultano.wordpress.com/2026/02/22/the-hunt-for-dark-breakfast/
45•moultano•48m ago•15 comments

Hong Kong jailed my dad to stop me speaking out, says activist

https://www.bbc.com/news/articles/cly897pv4j9o
3•tartoran•49m ago•0 comments

Parakeet.cpp – Parakeet ASR inference in pure C++ with Metal GPU acceleration

https://github.com/Frikallo/parakeet.cpp
8•noahkay13•50m ago•1 comments

Preserving the Web Is Not the Problem. Losing It Is

https://www.techdirt.com/2026/02/17/preserving-the-web-is-not-the-problem-losing-it-is/
5•the-mitr•55m ago•0 comments

Frankensqlite a Rust reimplementation of SQLite with concurrent writers

https://frankensqlite.com/
1•rahimnathwani•55m ago•0 comments

Show HN: Selling my painting to fund a Steam Cleaning startup in Libya

https://juicebox.money/v5/base:139
1•Ali_ll•55m ago•1 comments

Flexport Atlas: Browse the world's container shipping network

https://atlas.flexport.com
2•thedogeye•57m ago•0 comments

How Predator iPhone Spyware Can Defeat iOS Orange and Green Recording Indicators

https://www.jamf.com/blog/predator-spyware-ios-recording-indicator-bypass-analysis/
4•transpute•59m ago•0 comments

A Nationwide Book Ban Bill Has Been Introduced in the House of Representatives

https://bookriot.com/hr7661-book-ban-legislation/
34•LostMyLogin•1h ago•4 comments