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!

Show HN: Somna – Pattern recognition for your nervous system

https://meetsomna.com/
1•benhowdle•2m ago•0 comments

News sites are locking out the Internet Archive to stop AI crawling

https://theconversation.com/news-sites-are-locking-out-the-internet-archive-to-stop-ai-crawling-i...
2•geox•6m ago•0 comments

Lance table format explained with simple animations

https://tontinton.com/posts/lance/
1•wild_pointer•8m ago•0 comments

Scrapoxy – End of Life

https://scrapoxy.io/
1•ezekg•9m ago•0 comments

Reverse Engineering the Prom for the SGI O2

https://mattst88.com/blog/2026/02/08/Reverse_Engineering_the_PROM_for_the_SGI_O2/
3•mattst88•9m ago•0 comments

Tell HN: Apple Price Gouging

3•kingkongjaffa•11m ago•2 comments

Project 7

https://zenodo.org/records/18528539
1•KaoruAK•12m ago•0 comments

AI Orchestrators Decision Table

https://gist.github.com/maxim/c6ef7f7abd8e33ca846bb99aa9139602
1•hakunin•16m ago•0 comments

Show HN: Chief – Loop Claude Code through your tasks, one commit at a time

https://minicodemonkey.github.io/chief/
1•thecodemonkey•16m ago•0 comments

Windows PCs Fade Away

https://www.infoworld.com/article/4128164/windows-pcs-fade-away.html
1•Stratoscope•16m ago•0 comments

Linus Torvalds Confirms the Next Kernel Is Linux 7.0

https://www.phoronix.com/news/Linux-7.0-Is-Next
4•pella•19m ago•0 comments

100 Days to Offload

https://100daystooffload.com/
1•edent•22m ago•0 comments

Show HN: EasyMemory – Local-First Memory Layer for Chatbots and Agents

1•justvugg•27m ago•0 comments

Deel: You can build a Decacorn from your bedroom

https://twitter.com/bouazizalex/status/2020159203382550530
1•lleims•27m ago•0 comments

Show HN: ZTGI Safety Gateway for LLM Safety

https://github.com/capterr/ztgi-safety-gateway
1•capter•28m ago•0 comments

The Only Thing Standing Between Humanity and AI Apocalypse Is Claude?

https://www.wired.com/story/the-only-thing-standing-between-humanity-and-ai-apocalypse-is-claude/
1•abdelhousni•29m ago•0 comments

How Claude Code's /Insights Command Works

https://www.zolkos.com/2026/02/04/deep-dive-how-claude-codes-insights-command-works.html
1•gmays•30m ago•0 comments

Achatz's new Dubai Chocolate Silk Pie is $40

https://www.freep.com/story/news/columnists/neal-rubin/2026/02/08/achatz-homemade-pie-dubai-choco...
1•rmason•31m ago•2 comments

Yattee 2 – Privacy oriented video player for iOS, tvOS and macOS

https://github.com/yattee/yattee/releases/tag/2.0.0-250
1•nntwozz•36m ago•0 comments

Stop Generating, Start Thinking

https://localghost.dev/blog/stop-generating-start-thinking/
2•frizlab•37m ago•0 comments

A brain-music interface for enhancing music chills with personalized playlists

https://www.cell.com/iscience/fulltext/S2589-0042(25)02769-5?_returnURL=https%3A%2F%2Flinkinghub....
1•PaulHoule•38m ago•0 comments

Installing OpenClaw on a Jetson Nano

https://brtkwr.com/posts/2026-02-08-installing-openclaw-on-jetson-nano/
1•brtkwr•38m ago•1 comments

I keep coming back to Amp Code

https://asadjb.com/blog/2026-02-08-i-keep-coming-back-to-amp
1•asadjb•38m ago•0 comments

How I Built the Star Trek control panel of my dreams

https://www.theverge.com/tech/862070/lcars-homes-assistant-star-trek
3•ecliptik•40m ago•0 comments

I've used nearly every browser out there, my choices (spoiler: not Chrome)

https://www.zdnet.com/article/my-top-4-browsers-chrome-not-included/
1•gnabgib•40m ago•0 comments

ADHD and Methylphenidate Use in Prepubertal Children and Adult BMI and Height

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2843415
2•wjb3•40m ago•2 comments

Show HN: WrapClaw – a managed SaaS wrapper around Open Claw

2•kushagraagent•41m ago•2 comments

Japan's PM Takaichi on course for landslide victory in snap election

https://www.bbc.com/news/articles/cx2y7d2z29xo
1•tartoran•41m ago•0 comments

Show HN: Squre – Open-source binary protector (Rust)

https://github.com/lilify-jp/Squre
1•lilify49•42m ago•0 comments

Shifts in U.S. Social Media Use, 2020–2024: Decline, Fragmentation, Polarization

https://arxiv.org/abs/2510.25417
29•vinnyglennon•42m ago•4 comments