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!

Arrows to Arrows, Categories to Queries

https://reasonablypolymorphic.com/blog/arrows-to-arrows/
1•surprisetalk•17s ago•0 comments

Maze Algorithms (2017)

http://www.jamisbuck.org/mazes/
1•surprisetalk•19s ago•0 comments

The Math on AI Agents Doesn't Add Up

https://www.wired.com/story/ai-agents-math-doesnt-add-up/
1•brycehalley•1m ago•1 comments

So, why *should* GNOME support server side decorations?

https://blister.zip/posts/gnome-ssd/
1•birdculture•4m ago•0 comments

Umping giants: Fossils show giant prehistoric kangaroos could still hop

https://www.manchester.ac.uk/about/news/jumping-giants-fossils-show-giant-prehistoric-kangaroos-c...
1•gnufx•4m ago•0 comments

Airlines to save big money on fuel as new weight loss pills gain popularity

https://www.cnbc.com/2026/01/14/airlines-to-save-on-fuel-as-weight-loss-pills-grow-popular-wall-s...
1•fortran77•5m ago•0 comments

JSX for AI Video

https://varg.ai/sdk
2•mifydev•7m ago•0 comments

You can now talk to your shell in plain language

https://www.nlsh.dev/
2•JunaidL•7m ago•0 comments

CloudlyKit – a chatkit widget for your site (after struggling with ChatKit)

https://www.cloudlykit.com/
1•jacoblarszon•8m ago•1 comments

Like digging 'your own professional grave': The translators losing work to AI

https://www.cnn.com/2026/01/23/tech/translation-language-jobs-ai-automation-intl
2•methuselah_in•10m ago•0 comments

(Open) Widevine support added to the Chromium port

https://undeadly.org/cgi?action=article;sid=20260118112808
1•speckx•11m ago•0 comments

Show HN: Multi-agent deliberation plugin for Claude Code

https://github.com/BayramAnnakov/agent-tower-plugin
1•Bayram•11m ago•0 comments

Data Structures and Algorithms – Preparing for Interviews

https://tech.stonecharioteer.com/posts/2026/dsa/
1•stonecharioteer•12m ago•0 comments

A Better Practices Guide to Using Claude Code

https://kylestratis.com/posts/a-better-practices-guide-to-using-claude-code/
1•csoham•14m ago•0 comments

"Content Unavailable" – YouTube's latest attempt at breaking ad blockers

https://www.androidpolice.com/youtube-content-unavailable-bug/
3•mikece•16m ago•0 comments

Rust's Standard Library on the GPU

https://www.vectorware.com/blog/rust-std-on-gpu/
1•PaulHoule•16m ago•0 comments

DevCon Fall 2025 – Tracking AI generated code with Git [video]

https://www.youtube.com/watch?v=irK4G2SzhpA
1•addcn•17m ago•0 comments

Gold To 5000 USD, accelerates for more?

https://www.cnbc.com/quotes/@GC.1
3•trilogic•17m ago•2 comments

Show HN: 83 browser-use trajectories, visualized

https://trails-red.vercel.app/viewer
2•wayy•18m ago•0 comments

Steve Yegge Promoting "Gas Town" Crypto Coin

https://steve-yegge.medium.com/bags-and-the-creator-economy-249b924a621a
2•toraway•18m ago•1 comments

Show HN: First autonomous ML and AI engineering Agent

https://marketplace.visualstudio.com/items?itemName=NeoResearchInc.heyneo
1•svij137•18m ago•0 comments

They quit their jobs to bet on current events: A look inside prediction markets

https://www.npr.org/2026/01/21/nx-s1-5672615-e1/they-quit-their-day-jobs-to-bet-on-current-events...
1•paulpauper•22m ago•0 comments

Student Created Website reveals slow speeds of TTC streetcars in real time

https://www.youtube.com/watch?v=h-bgoxTdCJc
1•debo_•23m ago•0 comments

AI #152: Brought to You by the Torment Nexus

https://thezvi.substack.com/p/ai-152-brought-to-you-by-the-torment
2•paulpauper•23m ago•0 comments

Betting on Prediction Markets Is Their Job. They Make Millions

https://www.nytimes.com/2026/01/22/business/prediction-markets-polymarket-kalshi.html
1•paulpauper•24m ago•0 comments

The H.R. 7148 Amendment to repeal government "kill switches" in cars has failed

https://clerk.house.gov/Votes/202643
7•tokyobreakfast•25m ago•0 comments

Ask HN: Has the macOS design become too iOS-like?

2•Austin_Conlon•25m ago•2 comments

We have to re-learn to walk alone

https://blog.julik.nl/2026/01/go-fast-and-go-alone
1•julik•26m ago•0 comments

The Vic/VolksComputer Series

https://www.zimmers.net/cbmpics/hvic.html
1•geox•26m ago•0 comments

Measuring ROI in AI era: The language effect

https://jellyfishresearch.substack.com/p/measuring-roi-in-ai-era-the-language
1•gailaxelrod•27m ago•0 comments