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!

Extracting books from production language models (2026)

https://arxiv.org/abs/2601.02671
1•logicprog•44s ago•0 comments

Excel: The software that's hard to quit

https://www.bbc.com/news/articles/cwyxkzjpp87o
2•1659447091•1m ago•0 comments

BreachForums hacking forum database leaked, exposing 324,000 accounts

https://www.bleepingcomputer.com/news/security/breachforums-hacking-forum-database-leaked-exposin...
1•_____k•2m ago•0 comments

First 12 Minutes of MTV (1981) [video]

https://www.youtube.com/watch?v=oVrEzH9gkZk
1•walterbell•4m ago•0 comments

Worst of Breed Software

https://worstofbreed.net/
1•facundo_olano•5m ago•0 comments

I Fed Claude 7 Years of Daily Journals. It Showed Me the Future of AI

https://medium.com/swlh/i-fed-claude-7-years-of-daily-journals-it-showed-me-the-future-of-ai-2c13...
1•ako•7m ago•0 comments

Kalpa Desktop

https://kalpadesktop.org/
1•Tomte•16m ago•0 comments

Show HN: Persistent Memory for Claude Code (MCP)

https://github.com/DiaaAj/a-mem-mcp
2•AttentionBlock•16m ago•0 comments

Amber Features 2026 for Java

https://mail.openjdk.org/pipermail/amber-spec-experts/2026-January/004306.html
4•joe_mwangi•16m ago•0 comments

Claude Code Unable to generate a AGPLv3 license due to content filtering policy

https://github.com/anthropics/claude-code/issues/12705
4•mickdarling•17m ago•2 comments

How the hell are you supposed to have a career in tech in 2026?

https://www.anildash.com/2026/01/05/a-tech-career-in-2026/
4•momentmaker•18m ago•0 comments

Sinclair C5

https://en.wikipedia.org/wiki/Sinclair_C5
6•jszymborski•19m ago•0 comments

Working with multiple repositories in AI tools sucks

https://www.ricky-dev.com/coding/2026/01/agentic-tooling-across-multiple-repositories/
2•DigitallyBorn•19m ago•1 comments

CQ Serenade [pdf]

https://g4dmp.co.uk/cq_music.pdf
1•austinallegro•19m ago•0 comments

39C3 – Asahi Linux – Porting Linux to Apple Silicon – Sven Peter

https://www.youtube.com/watch?v=GWHWWuxvSn0
2•tux1968•20m ago•1 comments

Rare first Superman comic once stolen from Nicolas Cage sells for $15M

https://www.bbc.com/news/articles/cly95lpwl1ro
2•1659447091•23m ago•0 comments

Observability with ClickHouse (2023)

https://boristane.com/talks/observability-with-clickhouse/
2•tosh•23m ago•0 comments

Visualising RAG

https://old.reddit.com/r/LocalLLaMA/comments/1q998is/visualizing_rag_part_2_visualizing_retrieval/
1•regisb•24m ago•1 comments

Show HN: I built a DLL to stop Excel/Word from spawning PowerShell shells

https://github.com/subhashdasyam/MalDocShield
1•dxsecarch•25m ago•0 comments

Linus Torvalds Uses Google Antigravity

https://github.com/torvalds/AudioNoise/blob/main/README.md
3•xnx•25m ago•0 comments

Accessibility Concerns Over Bakerl0.0 Line Advertiser's Rebrand

https://www.bbc.co.uk/news/articles/c86v3e7xlejo
2•susam•30m ago•0 comments

AgentRoam: Watch GPT-5.2 control movement, camera and selfies in Watch Dogs 2

https://www.youtube.com/watch?v=XTYWewHz-Tg
2•dandelionv1bes•31m ago•0 comments

Neon (serverless Postgres) transitions away from open source

https://github.com/neondatabase/neon/issues/12843
2•crispair•33m ago•2 comments

Defrosting using low-energy surface heating

https://www.betterfrost.com/
1•unwind•37m ago•0 comments

Show HN: Stillmail. minimalist email app for friends

https://stillmail.app
1•mustafaiste•38m ago•2 comments

Techrastination

https://ckardaris.github.io/blog/2026/01/10/techrastination.html
2•ckardaris•39m ago•0 comments

Common misunderstandings about large software companies

https://philipotoole.com/common-misunderstandings-about-large-software-companies/
3•otoolep•40m ago•1 comments

An explanation of performance degradation through false sharing [video]

https://www.youtube.com/watch?v=WIZf-Doc8Bk
1•zahlman•40m ago•1 comments

Are There Any Similar Sites Like Downdetector?

2•nomadfounder•41m ago•0 comments

The First 'Apple Silicon': The Aquarius Processor Project

https://thechipletter.substack.com/p/the-first-apple-silicon-the-aquarius-7cb
1•rbanffy•42m ago•1 comments