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!

NationStates Data Breach

https://www.nationstates.net/page=news/2026/02/04/index.html
1•akyuu•24s ago•0 comments

2026 Agentic Coding Trends Report

https://resources.anthropic.com/hubfs/2026%20Agentic%20Coding%20Trends%20Report.pdf?hsLang=en
1•s-macke•3m ago•0 comments

Motivation-Enhancing Drug

https://en.wikipedia.org/wiki/Motivation-enhancing_drug
1•rzk•5m ago•0 comments

Learn and Test DMARC

https://www.dmarctester.com
2•shaunpud•5m ago•0 comments

Something Big Is Happening

https://shumer.dev/something-big-is-happening
1•eternalreturn•7m ago•0 comments

Show HN: Εἶδος – A non-Turing-complete language built on Plato's Theory of Forms

https://github.com/realadeel/eidos
1•proletarian•7m ago•0 comments

Mini Market Ticker – ESP32 powered stock ticker

https://mmt.tomasantunes.pt
2•tomasantunes•7m ago•0 comments

How to Build an Agent – Amp (2025)

https://ampcode.com/notes/how-to-build-an-agent
2•Daviey•8m ago•0 comments

Show HN: dullnote – Markdown Storage for Claude MCP

https://dullnote.com
1•thedizzyhub•9m ago•0 comments

Inline package – golang.org/x/tools/go/analysis/passes/inline – Go Packages

https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/inline
1•emreb•10m ago•0 comments

Free Users, Paid Costs: Comparing Monetization Models for AI Chat Apps in 2026

https://vexrail.com/resources/blog/free-users-paid-costs-monetization-models-ai-chat-apps-2026
1•axrisi•11m ago•0 comments

Show HN: Sigilla – Spaced repetition for browser tabs (stop hoarding)

1•northerndev•15m ago•1 comments

Big Tech Companies Prepare to Skirt Trump's $100k H-1B Fee

https://www.wsj.com/business/big-tech-companies-prepare-to-skirt-trumps-100-000-h-1b-fee-7cbf1ebe
2•johntfella•17m ago•0 comments

Show HN: Windy – Place wind turbines on a map, see residential impact

https://windy-pi.vercel.app/
1•baqiwaqi•19m ago•0 comments

Show HN: Web Scraping Sandbox Website

https://scrapingsandbox.com/
1•vrathee•20m ago•0 comments

My OpenClaw Desperately Needs a DevOps Agent

https://reorx.com/blog/devops-agent-is-the-next-openclaw-moment/
1•novoreorx•23m ago•0 comments

Streeting/Mandelson WhatsApp

https://shetlandj.github.io/w_text/
1•djgrant•23m ago•0 comments

DeepComputing Announced Early Access for the DC-ROMA RISC-V Mainboard III

https://store.deepcomputing.io/products/dc-roma-risc-v-mainboard-iii-for-framework-laptop-13-earl...
1•YesterdayOK94•25m ago•0 comments

Programmers should hedge against AI

https://amaca.substack.com/p/programmers-should-hedge-against
2•amacasubstack•26m ago•0 comments

Cursor-agent-team: Single-conversation, multi-role AI collaboration framework

https://github.com/thiswind/cursor-agent-team
1•thiswind•29m ago•1 comments

I Built Free Legal Skills for AI Agents

https://www.skala.io/legal-skills
1•dariagurevich•29m ago•1 comments

Show HN: The Hidden Bit - A Game Based proof architecture for P vs. NP

https://vakofmaya.github.io/pnp.html
1•TheAuditor•31m ago•0 comments

LLVM: Concerns about low-quality PRs being merged into main

https://discourse.llvm.org/t/concerns-about-low-quality-prs-being-merged-into-main/89748
2•latexr•31m ago•0 comments

GroMach

https://gromach.com/
1•hushuting•37m ago•0 comments

Show HN: AI-Templates for Obsidian Templater

https://github.com/ady1981/obsidian-templater-core-kbt
1•ady1981•38m ago•1 comments

Why Jony Ive put buttons in the electric Ferrari

https://www.youtube.com/watch?v=6Wv1btxCjVE
1•enaaem•38m ago•0 comments

Show HN: Tigement – private timeline planner that recalculates when tasks change

https://tigement.com
1•sodomak•39m ago•0 comments

Allumeria receives false DMCA from Microsoft over infringement of Minecraft IP

https://old.reddit.com/r/PhoenixSC/comments/1r0utq6/allumeria_receives_false_dmca_from_microsoft_...
1•joelkoen•42m ago•0 comments

Ask HN: How do you trace your own mental loops?

1•schneak•43m ago•0 comments

Show HN: We let GPT OSS 120B write and run Python and ARC AGI 2 jumped 4x

https://github.com/gutfeeling/arc-agi-2-submission
1•steinsgate•43m ago•0 comments