frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

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

Choosing a tech stack in a world where LLMs write all the code

https://behan.substack.com/p/the-data-distribution
3•behan•8m ago•0 comments

Leads Acquisition

1•xxxxxikke•8m ago•0 comments

Ask HN: What Are You Working On? (January 2026)

2•david927•8m ago•1 comments

The AI revolution is here. Will the economy survive the transition?

https://post.substack.com/p/the-ai-revolution-is-here-will-the
2•sideway•9m ago•0 comments

Show HN: Scan vibe coded apps for security vulnerabilities

https://vibeappscanner.com/
1•silexdev•10m ago•0 comments

Show HN: Slim – 50% fewer tokens than JSON for LLM applications

https://github.com/matteuccimarco/slim-protocol-core
1•matteuccimarco•10m ago•0 comments

Ledga – A Budgeting Application to See Cash Flow

https://ledga.us
1•ChicagoDave•13m ago•1 comments

Ask HN: Is There Any open source company data?

1•ankit84•14m ago•0 comments

Show HN: I put economic rules in silicon that can't be changed by software

1•PrimalOrigins•16m ago•1 comments

The Poverty Trap's Most Popular Posts: 2025

https://povertytrap.substack.com/p/the-poverty-traps-most-popular-posts-370
1•jdemartin•19m ago•0 comments

Primecoin Primality Test

https://www.johndcook.com/blog/2026/01/10/primecoin-primality-test/
1•ibobev•21m ago•0 comments

Bi-Twin Prime Chains

https://www.johndcook.com/blog/2026/01/10/bi-twin-prime-chains/
1•ibobev•21m ago•0 comments

Primecoin and Cunningham Prime Chains

https://www.johndcook.com/blog/2026/01/10/prime-chains/
1•ibobev•21m ago•0 comments

Stories into podcasts, narrated in your voice by cloning your voice

https://storybee.app/podcast-monetization/start
1•niksmac•22m ago•0 comments

There's a full line of Trustworthy Technology available now

https://aol.codeberg.page/eci/status.html
1•babylon5•22m ago•0 comments

Password Hashing Competition

https://www.password-hashing.net/
2•mooreds•23m ago•0 comments

Garbage collected handles are lifetime-contravariant

https://trynova.dev/blog/garbage-collection-is-contrarian
3•birdculture•26m ago•0 comments

Detecting event loop blocking in asyncio

https://deepankarm.github.io/posts/detecting-event-loop-blocking-in-asyncio/
1•deepankarm44•29m ago•0 comments

Replace the Retiring Windows XP with Linux

https://www.linux.com/training-tutorials/replace-retiring-windows-xp-linux/
8•righthand•31m ago•1 comments

Thoughts on Claude Code

https://www.spakhm.com/claude-code
1•coffeemug•31m ago•0 comments

Deep reinforcement learning trading bot 90%-120% returns yearly

https://github.com/zero-was-here/tradingbot
2•solosquad•33m ago•0 comments

The Curious Cult of Aldi How a German discount chain became US's hottest grocer

https://www.bloomberg.com/news/features/2026-01-06/german-grocer-aldi-built-an-american-empire-on...
1•helsinkiandrew•33m ago•1 comments

How artificial intelligence is reshaping the future of war

https://thehill.com/policy/defense/5683359-artificial-intelligence-future-war/
2•c420•37m ago•0 comments

Show HN: 17 yo built my first app after 7 months of teaching myself development

https://www.domnest.app/
1•imad-101•37m ago•0 comments

Tech and retail back a new AI shopping standard at NRF 2026

https://www.axios.com/2026/01/11/google-shopify-ai-shopping-standard-nrf-2026
1•thm•41m ago•0 comments

SpaceX Lowering Orbits: 4,400 Satellites Moving Closer to Earth

https://nasaspacenews.com/2026/01/spacex-lowering-orbits/
3•slow_typist•41m ago•0 comments

Installerpedia: Install Anything Without Hassle

https://journal.hexmos.com/introducing-installerpedia/
6•lordwiz•47m ago•0 comments

30 Years Old

https://andys.blog/30/
1•andytratt•48m ago•0 comments

Show HN: Nexus Gateway – Open-Source AI Caching Layer in Go

https://www.nexus-gateway.org/
1•Sunnyanand_dev•49m ago•0 comments

Kontigo: Y Combinator's Venezuelan Sanctions Evasion Startup

https://fintechbusinessweekly.substack.com/p/kontigo-ycombinators-venezuela-sanctions
3•firekvz•49m ago•0 comments