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!

Ask HN: Better approach for plagiarism detection in self-hosted LMS?

1•pigon1002•5m ago•0 comments

A compass is not a map

https://longform.asmartbear.com/compass/
1•doppp•5m ago•0 comments

Show HN: Heic2Jpg – Free client-side HEIC converter (Next.js and WebAssembly)

https://www.heic2jpg-free.com
1•yuliuslux•8m ago•1 comments

MoltHub-A site where AI agents come to compute (if you know what I mean)

https://moithub.com/
1•jdaggers•11m ago•0 comments

20020

https://www.sbnation.com/c/secret-base/21410129/20020
1•stefanpie•16m ago•0 comments

Dan McQuade Got Philly Like No One Else

https://www.phillymag.com/news/2026/01/29/dan-mcquade-died-obituary/
1•ChrisArchitect•18m ago•0 comments

Once again processing 11M rows, now in seconds

https://stitcher.io/blog/11-million-rows-in-seconds
2•mpugner•22m ago•0 comments

New Agentic Commerce Skills for AI Agents

https://docs.stateset.com/stateset-icommerce-skill.md
2•domsteil•22m ago•0 comments

Puget Systems Most Reliable Hardware of 2025

https://www.pugetsystems.com/labs/articles/puget-systems-most-reliable-hardware-of-2025/
2•zdw•23m ago•0 comments

People are swayed by AI-generated videos even when they know they're fake

https://phys.org/news/2026-01-people-swayed-ai-generated-videos.html
1•1659447091•27m ago•0 comments

Amazon's "Project Dawn" cuts 30k jobs while AWS loses its community champion

https://jpcaparas.medium.com/amazons-project-dawn-cuts-30-000-jobs-while-aws-loses-its-community-...
3•yesbut•28m ago•2 comments

Iran Targeting Hospitals in Crackdown

https://news.afp.com/#/c/main/search/all?search=H4sIAAAAAAAAA1M1d1I1MirOLyrxL0pJLQKyVY0dgWRKanEyi...
4•mhb•28m ago•1 comments

Al-Biruni's classic experiment: How to calculate the radius of the earth

https://owlcation.com/stem/how-to-determin-the-radius-of-the-earth-al-birunis-classic-experiment
2•teleforce•29m ago•0 comments

C3 0.7.9 with Updated Generics

https://c3-lang.org/blog/c3-0-7-9-new-generics-and-new-optional-syntax/
3•lerno•30m ago•1 comments

The Mighty Metaphor

https://architectelevator.com/transformation/mighty-metaphor/
1•vinhnx•31m ago•0 comments

Google SREs Use Gemini CLI to Solve Real-World Outages

https://cloud.google.com/blog/topics/developers-practitioners/how-google-sres-use-gemini-cli-to-s...
1•vinhnx•32m ago•0 comments

Show HN: SOTA NLP Models

https://huggingface.co/collections/anchpop/lexide-nlp-models
1•ChadNauseam•33m ago•0 comments

I mocked the Saudi leader on YouTube then my phone was hacked, I was beaten up

https://www.bbc.com/news/articles/cj6w3zgden0o
5•tartoran•36m ago•0 comments

Efforts to Get MyGov's Code Generator Source Code

https://openmygov.au/
1•rtpg•38m ago•0 comments

Google defeats bid for billions in penalties from US privacy class action

https://finance.yahoo.com/news/google-defeats-bid-billions-dollars-232611144.html
1•goplayoutside•41m ago•0 comments

A shift in the behaviour of Traversable.joinpath between Python 11 and 12

https://pythonkoans.substack.com/p/koan-19-the-unhelpful-eclipse
2•meander_water•44m ago•0 comments

The Future of 10x Engineering

https://www.natemeyvis.com/the-future-of-10x-engineering/
2•vinhnx•45m ago•0 comments

Scala Multimedia on the Commodore Amiga

https://stonetools.ghost.io/scala-amiga/
2•ChristopherDrum•48m ago•2 comments

NFT Artist Protection

https://www.HugeDomains.com/domain_profile.cfm?d=Ketaro.com
1•chainbuilder•49m ago•2 comments

Moltbook Is Dangerous

https://twitter.com/joshycodes/status/2017262729346863428
3•stikit•52m ago•1 comments

There Can Be Only Two

https://www.epsilontheory.com/there-can-be-only-two/
3•prakhar897•54m ago•0 comments

Dieter Rams – Ten principles for good design

https://www.vitsoe.com/us/about/good-design
1•thunderbong•54m ago•1 comments

Musk's Starlink updates privacy policy to allow consumer data to train AI

https://www.reuters.com/legal/litigation/musks-starlink-updates-privacy-policy-allow-consumer-dat...
6•goplayoutside•56m ago•2 comments

AI agent made phone call to arrange dinner while I stayed in meeting

https://twitter.com/Chi_Wang_/status/2017444772332654635
1•Kn1026•58m ago•0 comments

Human Client for Moltbook

https://github.com/crertel/moltbook-client
2•ai_critic•59m ago•0 comments