frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast and Quality Code Chunking with Chonkie

1•snyy•1y 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: Tickstem – Python SDK for cron, uptime and heartbeat monitoring

https://github.com/tickstem/python
1•m_barsukou•4m ago•0 comments

SpaceX and Anthropic, xAI's Two Companies, Elon Musk and SpaceXAI's Future

https://stratechery.com/2026/spacex-and-anthropic-xais-two-companies-elon-musk-and-spacexais-future/
1•swolpers•9m ago•0 comments

Modern Lab Experiments

https://wanda.fiu.edu/boeglinw/courses/Modern_lab_manual3/index.html
2•nill0•19m ago•0 comments

Privatemode.ai – AI provider with confidential computing

https://www.privatemode.ai/
2•pelzatessa•19m ago•1 comments

Lil Snack

https://www.lilsnack.com/
2•delian66•21m ago•0 comments

Too Much Type

https://toomuchtype.com/
3•marksully•21m ago•0 comments

Panel on Language Design (PG, John Maeda, Jonathan Rees, G. Steele) (2001) [video]

https://www.youtube.com/watch?v=agw-wlHGi0E
2•kerim-ca•25m ago•1 comments

Appendix: Mental Health for the Engineering Student

https://ariadacapo.net/articles/2026-05-10-appendix-a7-mental-health-for-the-engineering-student/
2•2DcAf•29m ago•0 comments

David Weinberger interviews Paul Graham about 'Taste for Makers' (2006) [video]

https://www.youtube.com/watch?v=s2DkhL_Bypo
2•kerim-ca•33m ago•1 comments

2.21B Won Frozen in Virtual Currency Shutdowns

https://www.chosun.com/english/market-money-en/2026/05/12/A24FVGP2G5HD3CCDX23UHRWFQY/
3•01-_-•34m ago•0 comments

Unitree GD01: China's $537k rideable transformer robot is now in production

https://gagadget.com/en/709729-unitree-gd01-chinas-537k-rideable-transformer-robot-is-now-in-prod...
8•rguiscard•39m ago•0 comments

I'm Making Strandfall, a Solarpunk Orienteering Larp

https://mssv.net/2026/04/29/im-making-strandfall-a-solarpunk-orienteering-larp/
2•adrianhon•40m ago•0 comments

Canva's Magic Layers AI Changed "Palestine" to "Ukraine" in User Designs

https://gizmodo.com/canva-admits-its-ai-tool-removed-palestine-from-designs-apologizes-for-any-di...
7•lebowska•44m ago•0 comments

Texas Attor­ney Gen­er­al Sues Net­flix for Spy­ing on Kids and Con­sumers

https://www.texasattorneygeneral.gov/news/releases/attorney-general-ken-paxton-sues-netflix-spyin...
2•frb•49m ago•0 comments

Teen Boys and Young Men Are Injecting Peptides in Search of Perfection

https://www.wsj.com/health/wellness/boys-peptides-stacks-looksmaxxing-trevor-larcom-835e58cd
4•petethomas•51m ago•1 comments

Ducklake-SDK: Use DuckLake from Python or Rust without going through DuckDB

https://github.com/borchero/ducklake-sdk
2•borchero•55m ago•0 comments

Learning Software Architecture

https://matklad.github.io/2026/05/12/software-architecture.html
48•surprisetalk•58m ago•0 comments

Face ID Search

https://www.faceidsearch.com/en
2•bellamoon544•1h ago•0 comments

URLSession to Electrons: how networking works under the hood

https://blog.jacobstechtavern.com/p/urlsession-to-electrons
2•jakey_bakey•1h ago•0 comments

Show HN: Affordable Survey Software

https://www.survser.com/
3•pkundr•1h ago•0 comments

DuckDB/DuckLake multi-user in the browser with Read/Write and WebSocket notify

https://ducklake-with-vgi.query-farm.services/
3•rustyconover•1h ago•0 comments

TanStack NPM Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack

https://socket.dev/blog/tanstack-npm-packages-compromised-mini-shai-hulud-supply-chain-attack
2•croes•1h ago•1 comments

Why should you have a data room? A stage-by-stage guide

https://vastpoint.substack.com/p/eng-why-should-you-have-a-data-room
2•kaku05ac•1h ago•0 comments

Lies, damned lies, and Elastic's benchmarks

https://www.gouthamve.dev/lies-damned-lies-and-elastics-benchmarks/
3•shutty•1h ago•0 comments

Loki Patera

https://en.wikipedia.org/wiki/Loki_Patera
2•DanielKehoe•1h ago•0 comments

SIEM and SoC: A Guide for Security Leaders in 2026

https://threatcrush.com/blog/siem-and-soc
2•buffer_overlord•1h ago•0 comments

EU Cloud Comparison Matrix

https://eualternative.eu/eu-cloud-comparison/
9•sparkling•1h ago•0 comments

Show HN: A benchmark where LLMs make memes from current news

https://memebench.net
4•max-azendorf•1h ago•1 comments

HDMI 2.1 Display Stream Compression (DSC) Ready for Amdgpu Linux Driver

https://www.phoronix.com/news/HDMI-2.1-DSC-AMDGPU-FRL
13•WithinReason•1h ago•0 comments

GitLab CI Functions

https://docs.gitlab.com/ci/functions/
3•yla92•1h ago•0 comments